Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.471/1.471, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.001081/0.001081, allocations: 193.2 kB / 361.1 MB, free: 7.105 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.156/1.156, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0009356/0.0009357, allocations: 93.67 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.726e-06/8.736e-06, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5932/0.5932, allocations: 115.3 MB / 0.9637 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.7667, allocations: 144.9 MB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.7671, allocations: 88.64 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03688/0.804, allocations: 13.66 MB / 1.119 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.688e-05/0.8041, allocations: 23.98 kB / 1.119 GB, free: 13.31 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.001104/0.8052, allocations: 0.8147 MB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8053, allocations: 12.03 kB / 1.119 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.8054, allocations: 82.97 kB / 1.12 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007481/0.8062, allocations: 452.1 kB / 1.12 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.8062, allocations: 16 kB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.8063, allocations: 36 kB / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005818/0.8069, allocations: 330.4 kB / 1.12 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/0.8076, allocations: 0.5207 MB / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.8076, allocations: 4 kB / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.8077, allocations: 3.984 kB / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.8077, allocations: 20 kB / 1.121 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.8101, allocations: 2.469 MB / 1.123 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.8106, allocations: 227.9 kB / 1.123 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.8108, allocations: 132.1 kB / 1.124 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.8108, allocations: 7.984 kB / 1.124 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003635/0.8112, allocations: 185.5 kB / 1.124 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 3.036e-06/0.8112, allocations: 0 / 1.124 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0005761/0.8118, allocations: 282.4 kB / 1.124 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.8119, allocations: 89.09 kB / 1.124 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/0.8125, allocations: 0.5332 MB / 1.125 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.8126, allocations: 41.69 kB / 1.125 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.8128, allocations: 264.3 kB / 1.125 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.34e-05/0.8128, allocations: 94.84 kB / 1.125 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.8129, allocations: 0 / 1.125 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.813, allocations: 382.8 kB / 1.125 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.8132, allocations: 109.3 kB / 1.126 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.8136, allocations: 314.3 kB / 1.126 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.8138, allocations: 128.7 kB / 1.126 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8138, allocations: 1.688 kB / 1.126 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007158/0.8145, allocations: 450.4 kB / 1.126 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.8146, allocations: 4 kB / 1.126 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.8146, allocations: 15.92 kB / 1.126 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.8146, allocations: 8 kB / 1.126 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.8149, allocations: 71.78 kB / 1.126 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.8149, allocations: 12 kB / 1.126 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.8151, allocations: 31.95 kB / 1.127 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.8152, allocations: 32 kB / 1.127 GB, free: 4.801 MB / 0.7292 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.0001565/0.8154, allocations: 150 kB / 1.127 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.8154, allocations: 63.16 kB / 1.127 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006965/0.8161, allocations: 346.1 kB / 1.127 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8162, allocations: 4 kB / 1.127 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.8162, allocations: 4 kB / 1.127 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.8162, allocations: 3.984 kB / 1.127 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.8176, allocations: 0.9226 MB / 1.128 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8176, allocations: 9.359 kB / 1.128 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.8177, allocations: 27.92 kB / 1.128 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.8177, allocations: 4.75 kB / 1.128 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.8178, allocations: 4 kB / 1.128 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8178, allocations: 0 / 1.128 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8178, allocations: 0 / 1.128 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006039/0.8184, allocations: 434.5 kB / 1.128 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.8185, allocations: 136.3 kB / 1.129 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.8186, allocations: 11.89 kB / 1.129 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.8188, allocations: 16.86 kB / 1.129 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.819, allocations: 40.59 kB / 1.129 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.819, allocations: 15.98 kB / 1.129 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004329/0.8194, allocations: 386.9 kB / 1.129 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005281/0.82, allocations: 99.98 kB / 1.129 GB, free: 2.066 MB / 0.7292 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.0008334/0.8208, allocations: 374.8 kB / 1.129 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005821/0.8214, allocations: 354.6 kB / 1.13 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8214, allocations: 4.062 kB / 1.13 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.8217, allocations: 163.8 kB / 1.13 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.8221, allocations: 68.08 kB / 1.13 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.8236, allocations: 0.7838 MB / 1.131 GB, free: 436 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007578/0.8244, allocations: 0.989 MB / 1.132 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/0.8244, allocations: 0 / 1.132 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.01272/0.8371, allocations: 5.507 MB / 1.137 GB, free: 10.03 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)