Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008841/0.000884, allocations: 177.3 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9968/0.9968, allocations: 205.1 MB / 0.6195 GB, free: 11.91 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000786/0.0007862, allocations: 95.33 kB / 0.7326 GB, free: 44.42 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.502e-06, allocations: 4 kB / 0.8511 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4078, allocations: 115.3 MB / 0.9637 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.085/3.492, allocations: 2.074 GB / 3.037 GB, free: 334.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/3.493, allocations: 84.92 kB / 3.037 GB, free: 334.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.1782/3.671, allocations: 82.85 MB / 3.118 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001066/3.671, allocations: 32 kB / 3.118 GB, free: 280.5 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.002994/3.674, allocations: 1.325 MB / 3.12 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/3.674, allocations: 8.531 kB / 3.12 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/3.675, allocations: 240.6 kB / 3.12 GB, free: 278.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/3.677, allocations: 0.7561 MB / 3.121 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/3.677, allocations: 84.03 kB / 3.121 GB, free: 278 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/3.677, allocations: 71.98 kB / 3.121 GB, free: 277.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001928/3.679, allocations: 1.238 MB / 3.122 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/3.681, allocations: 1.025 MB / 3.123 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/3.681, allocations: 4 kB / 3.123 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/3.681, allocations: 3.984 kB / 3.123 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/3.681, allocations: 28 kB / 3.123 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004928/3.686, allocations: 3.384 MB / 3.126 GB, free: 272 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/3.687, allocations: 0.8023 MB / 3.127 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/3.687, allocations: 323.1 kB / 3.127 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/3.688, allocations: 40.7 kB / 3.127 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006446/3.688, allocations: 499.7 kB / 3.128 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=93): time 3.076e-06/3.688, allocations: 4 kB / 3.128 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=93): time 0.001815/3.69, allocations: 0.8264 MB / 3.129 GB, free: 269.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/3.69, allocations: 244.1 kB / 3.129 GB, free: 269.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/3.691, allocations: 0.6014 MB / 3.13 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/3.691, allocations: 29.7 kB / 3.13 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/3.691, allocations: 411.8 kB / 3.13 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/3.691, allocations: 299.4 kB / 3.13 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/3.691, allocations: 0 / 3.13 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/3.691, allocations: 394.7 kB / 3.131 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/3.692, allocations: 266 kB / 3.131 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/3.692, allocations: 403.7 kB / 3.131 GB, free: 266.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/3.693, allocations: 334.8 kB / 3.132 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/3.693, allocations: 3.938 kB / 3.132 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001684/3.695, allocations: 0.878 MB / 3.132 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/3.695, allocations: 4 kB / 3.132 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/3.695, allocations: 4.094 kB / 3.132 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/3.695, allocations: 84.77 kB / 3.133 GB, free: 265.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008215/3.696, allocations: 191.7 kB / 3.133 GB, free: 265.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/3.698, allocations: 1.466 MB / 3.134 GB, free: 263.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006965/3.698, allocations: 79.34 kB / 3.134 GB, free: 263.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/3.698, allocations: 39.97 kB / 3.134 GB, free: 263.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001639/3.699, allocations: 128.8 kB / 3.134 GB, free: 263.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/3.699, allocations: 90.88 kB / 3.134 GB, free: 263.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/3.701, allocations: 1.2 MB / 3.136 GB, free: 262.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/3.701, allocations: 12 kB / 3.136 GB, free: 262.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/3.701, allocations: 5.219 kB / 3.136 GB, free: 262.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/3.701, allocations: 7.891 kB / 3.136 GB, free: 262.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/3.705, allocations: 2.215 MB / 3.138 GB, free: 259.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/3.705, allocations: 0 / 3.138 GB, free: 259.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/3.705, allocations: 179.8 kB / 3.138 GB, free: 259.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005104/3.706, allocations: 88.77 kB / 3.138 GB, free: 259.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/3.706, allocations: 19.98 kB / 3.138 GB, free: 259.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/3.707, allocations: 1.488 MB / 3.14 GB, free: 258 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/3.707, allocations: 4.062 kB / 3.14 GB, free: 258 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001598/3.709, allocations: 1.009 MB / 3.141 GB, free: 257 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/3.709, allocations: 339.4 kB / 3.141 GB, free: 256.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/3.71, allocations: 0 / 3.141 GB, free: 256.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007443/3.71, allocations: 63.94 kB / 3.141 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/3.71, allocations: 66.48 kB / 3.141 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.481e-05/3.711, allocations: 43.97 kB / 3.141 GB, free: 256.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0005189/3.711, allocations: 0.4913 MB / 3.141 GB, free: 256 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001132/3.712, allocations: 386.6 kB / 3.142 GB, free: 255.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001501/3.714, allocations: 1.02 MB / 3.143 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001296/3.715, allocations: 0.8384 MB / 3.144 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/3.715, allocations: 192 / 3.144 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007294/3.716, allocations: 0.5286 MB / 3.144 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/3.717, allocations: 222.4 kB / 3.144 GB, free: 253 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/3.721, allocations: 1.712 MB / 3.146 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/3.722, allocations: 1.273 MB / 3.147 GB, free: 250 MB / 0.9323 GB Notification: Performance of SimCode: time 2.51e-07/3.722, allocations: 3.938 kB / 3.147 GB, free: 250 MB / 0.9323 GB Notification: Performance of Templates: time 0.02766/3.75, allocations: 19.18 MB / 3.166 GB, free: 230.9 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)