Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") [: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.1.4-maint.8.1.x/package.mo): time 1.481/1.481, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001113/0.001113, allocations: 178.4 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205.1 MB / 0.6256 GB, free: 5.773 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.0009758/0.0009758, allocations: 85.83 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.207e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.6496, allocations: 116.3 MB / 0.9726 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.8263, allocations: 147 MB / 1.116 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.8266, allocations: 95.88 kB / 1.116 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03748/0.8641, allocations: 14.83 MB / 1.131 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.392e-05/0.8641, allocations: 20.84 kB / 1.131 GB, free: 2.445 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001295/0.8654, allocations: 0.9075 MB / 1.132 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.8655, allocations: 12.02 kB / 1.132 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.8656, allocations: 94.88 kB / 1.132 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.8663, allocations: 456.1 kB / 1.132 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/0.8664, allocations: 54.95 kB / 1.132 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.8665, allocations: 44 kB / 1.132 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006431/0.8672, allocations: 362.5 kB / 1.133 GB, free: 440 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/0.868, allocations: 0.5675 MB / 1.133 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.868, allocations: 0.75 kB / 1.133 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.8681, allocations: 4 kB / 1.133 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.8681, allocations: 15.94 kB / 1.133 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.8707, allocations: 2.595 MB / 1.136 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.8712, allocations: 235.2 kB / 1.136 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.8714, allocations: 120.8 kB / 1.136 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.8714, allocations: 7.906 kB / 1.136 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.8717, allocations: 191.4 kB / 1.136 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 2.455e-06/0.8718, allocations: 1.031 kB / 1.136 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.0005258/0.8723, allocations: 272.6 kB / 1.136 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.8723, allocations: 89.02 kB / 1.137 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006133/0.873, allocations: 0.5421 MB / 1.137 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.582e-05/0.8731, allocations: 33.7 kB / 1.137 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.8733, allocations: 296 kB / 1.137 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.8734, allocations: 90.86 kB / 1.137 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.8734, allocations: 4 kB / 1.137 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8735, allocations: 382.8 kB / 1.138 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.8738, allocations: 125.3 kB / 1.138 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.8741, allocations: 335.8 kB / 1.138 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.8743, allocations: 144.7 kB / 1.138 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8744, allocations: 4 kB / 1.138 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007003/0.8751, allocations: 480.7 kB / 1.139 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.8751, allocations: 7.938 kB / 1.139 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.8751, allocations: 8 kB / 1.139 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.8751, allocations: 11.98 kB / 1.139 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.8754, allocations: 79.83 kB / 1.139 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.8755, allocations: 15.94 kB / 1.139 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.8758, allocations: 63.78 kB / 1.139 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.8759, allocations: 24 kB / 1.139 GB, free: 9.406 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.876, allocations: 162.7 kB / 1.139 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.005e-05/0.8761, allocations: 63.16 kB / 1.139 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/0.8768, allocations: 336.2 kB / 1.14 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.8768, allocations: 7.906 kB / 1.14 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8768, allocations: 0 / 1.14 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.8768, allocations: 7.984 kB / 1.14 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.8781, allocations: 0.9043 MB / 1.141 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.8781, allocations: 5.312 kB / 1.141 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.8782, allocations: 39.91 kB / 1.141 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.8783, allocations: 4 kB / 1.141 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.8783, allocations: 3.984 kB / 1.141 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8783, allocations: 8 kB / 1.141 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8783, allocations: 1.641 kB / 1.141 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005747/0.8789, allocations: 415.2 kB / 1.141 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.879, allocations: 140.2 kB / 1.141 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.8791, allocations: 4 kB / 1.141 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.8793, allocations: 35.81 kB / 1.141 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.8795, allocations: 55.91 kB / 1.141 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.8795, allocations: 16 kB / 1.141 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0003852/0.8799, allocations: 387.1 kB / 1.142 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004769/0.8804, allocations: 107.9 kB / 1.142 GB, free: 6.648 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008216/0.8812, allocations: 389.7 kB / 1.142 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005543/0.8818, allocations: 363.6 kB / 1.142 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8818, allocations: 0 / 1.142 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.882, allocations: 151.9 kB / 1.143 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.8825, allocations: 73.03 kB / 1.143 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.884, allocations: 0.8109 MB / 1.143 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006459/0.8847, allocations: 1.014 MB / 1.144 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/0.8847, allocations: 0 / 1.144 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of Templates: time 0.01239/0.8971, allocations: 5.955 MB / 1.15 GB, free: 14.03 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)