Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") [: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.536/1.536, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001022/0.001022, allocations: 179.9 kB / 366.3 MB, free: 1.941 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.236/1.236, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.001013/0.001013, allocations: 89.22 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.559e-05/1.58e-05, allocations: 4 kB / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.6487, allocations: 116.3 MB / 0.9726 GB, free: 68.83 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.8149, allocations: 145.9 MB / 1.115 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.8152, allocations: 87.94 kB / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03726/0.8525, allocations: 13.68 MB / 1.128 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.398e-05/0.8526, allocations: 12 kB / 1.128 GB, free: 4.652 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001557/0.8542, allocations: 0.8117 MB / 1.129 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.8542, allocations: 17.81 kB / 1.129 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.8545, allocations: 86.97 kB / 1.129 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/0.8554, allocations: 440.1 kB / 1.13 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.8555, allocations: 23.94 kB / 1.13 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.8556, allocations: 39.98 kB / 1.13 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007848/0.8564, allocations: 322.5 kB / 1.13 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.8573, allocations: 0.5207 MB / 1.131 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.8573, allocations: 11.94 kB / 1.131 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.8574, allocations: 3.984 kB / 1.131 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.8574, allocations: 16 kB / 1.131 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.8603, allocations: 2.458 MB / 1.133 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.8608, allocations: 240.2 kB / 1.133 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.8611, allocations: 124.8 kB / 1.133 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.8611, allocations: 4 kB / 1.133 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.8614, allocations: 189.5 kB / 1.134 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 2.275e-06/0.8614, allocations: 0 / 1.134 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.0005689/0.862, allocations: 286.4 kB / 1.134 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.8621, allocations: 89.11 kB / 1.134 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.8629, allocations: 0.5332 MB / 1.135 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/0.8629, allocations: 42.58 kB / 1.135 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.8632, allocations: 268.3 kB / 1.135 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.544e-05/0.8633, allocations: 90.86 kB / 1.135 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.8633, allocations: 0 / 1.135 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.8635, allocations: 378.8 kB / 1.135 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.8637, allocations: 113.3 kB / 1.135 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.8641, allocations: 310.4 kB / 1.136 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.8643, allocations: 132.7 kB / 1.136 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.8643, allocations: 0 / 1.136 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007885/0.8651, allocations: 458.1 kB / 1.136 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.8652, allocations: 4.844 kB / 1.136 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.8652, allocations: 8 kB / 1.136 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.8652, allocations: 8 kB / 1.136 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.8655, allocations: 67.84 kB / 1.136 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.8655, allocations: 20.48 kB / 1.136 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.8658, allocations: 35.69 kB / 1.136 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.8659, allocations: 28 kB / 1.136 GB, free: 12.12 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.000163/0.8661, allocations: 146 kB / 1.137 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.8661, allocations: 63.16 kB / 1.137 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000702/0.8669, allocations: 353.4 kB / 1.137 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.8669, allocations: 4 kB / 1.137 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8669, allocations: 0 / 1.137 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.8669, allocations: 11.97 kB / 1.137 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.8683, allocations: 0.9341 MB / 1.138 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.8684, allocations: 4 kB / 1.138 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.8685, allocations: 23.92 kB / 1.138 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.8685, allocations: 0 / 1.138 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.8685, allocations: 8 kB / 1.138 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.8685, allocations: 0 / 1.138 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.8686, allocations: 3.984 kB / 1.138 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005929/0.8692, allocations: 423.2 kB / 1.138 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.8693, allocations: 140.3 kB / 1.138 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.8694, allocations: 11.91 kB / 1.138 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.8696, allocations: 11.98 kB / 1.138 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.8697, allocations: 43.92 kB / 1.138 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.8698, allocations: 15.94 kB / 1.139 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0004622/0.8702, allocations: 391.5 kB / 1.139 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005285/0.8708, allocations: 96 kB / 1.139 GB, free: 9.379 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: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0009201/0.8717, allocations: 374.6 kB / 1.139 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006099/0.8723, allocations: 349.2 kB / 1.14 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8723, allocations: 0 / 1.14 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.8726, allocations: 167.8 kB / 1.14 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.8731, allocations: 68.52 kB / 1.14 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.8748, allocations: 0.7791 MB / 1.141 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/0.8755, allocations: 0.9961 MB / 1.142 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/0.8755, allocations: 3.938 kB / 1.142 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of Templates: time 0.0128/0.8883, allocations: 5.488 MB / 1.147 GB, free: 1.262 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)