Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") [: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.507/1.507, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001044/0.001044, allocations: 177.3 kB / 366.3 MB, free: 1.961 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.473/1.473, allocations: 205.1 MB / 0.6256 GB, free: 7.434 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.0008889/0.0008889, allocations: 89.59 kB / 0.7396 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.135e-06, allocations: 4 kB / 0.859 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5337/0.5337, allocations: 116.3 MB / 0.9726 GB, free: 76.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.7209, allocations: 146.8 MB / 1.116 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.7212, allocations: 87.94 kB / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03615/0.7574, allocations: 13.77 MB / 1.129 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.022e-05/0.7575, allocations: 20 kB / 1.13 GB, free: 5.691 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00113/0.7586, allocations: 0.8255 MB / 1.13 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7587, allocations: 8.031 kB / 1.13 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.7588, allocations: 90.88 kB / 1.13 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.7595, allocations: 447.9 kB / 1.131 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.7596, allocations: 54.59 kB / 1.131 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/0.7597, allocations: 36 kB / 1.131 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007059/0.7604, allocations: 321.9 kB / 1.131 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008529/0.7613, allocations: 0.5308 MB / 1.132 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.7613, allocations: 3.984 kB / 1.132 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.7614, allocations: 4 kB / 1.132 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.7614, allocations: 12 kB / 1.132 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.7643, allocations: 2.55 MB / 1.134 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.7647, allocations: 227.6 kB / 1.134 GB, free: 324 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.765, allocations: 126.3 kB / 1.135 GB, free: 196 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.765, allocations: 8.266 kB / 1.135 GB, free: 188 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004284/0.7654, allocations: 187.3 kB / 1.135 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 3.136e-06/0.7654, allocations: 0 / 1.135 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.0006189/0.7661, allocations: 285 kB / 1.135 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.7662, allocations: 85.11 kB / 1.135 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/0.7669, allocations: 0.5331 MB / 1.136 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.7669, allocations: 37.69 kB / 1.136 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.7672, allocations: 264.3 kB / 1.136 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.896e-05/0.7673, allocations: 90.95 kB / 1.136 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.7673, allocations: 0 / 1.136 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002632/0.7676, allocations: 386.7 kB / 1.136 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.7678, allocations: 114.9 kB / 1.137 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.7683, allocations: 306.3 kB / 1.137 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.7686, allocations: 132.7 kB / 1.137 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7686, allocations: 0 / 1.137 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008036/0.7694, allocations: 446.6 kB / 1.137 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.7694, allocations: 8.125 kB / 1.137 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.7694, allocations: 8 kB / 1.137 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.7695, allocations: 11.94 kB / 1.137 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.7698, allocations: 79.77 kB / 1.137 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.7698, allocations: 8 kB / 1.137 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.7701, allocations: 38.23 kB / 1.137 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.7701, allocations: 27.94 kB / 1.138 GB, free: 13.04 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: 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,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,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.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001866/0.7703, allocations: 146.8 kB / 1.138 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.7704, allocations: 63.16 kB / 1.138 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007103/0.7711, allocations: 346.4 kB / 1.138 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.7712, allocations: 4 kB / 1.138 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7712, allocations: 0 / 1.138 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.7712, allocations: 0.75 kB / 1.138 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.7727, allocations: 0.9391 MB / 1.139 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.7727, allocations: 5.469 kB / 1.139 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.7728, allocations: 23.92 kB / 1.139 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.7729, allocations: 0 / 1.139 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.7729, allocations: 11.98 kB / 1.139 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7729, allocations: 3.938 kB / 1.139 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7729, allocations: 4 kB / 1.139 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005993/0.7735, allocations: 423.8 kB / 1.139 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.7737, allocations: 132.3 kB / 1.14 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.7738, allocations: 8 kB / 1.14 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.7739, allocations: 11.98 kB / 1.14 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.7741, allocations: 51.83 kB / 1.14 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.7741, allocations: 14 kB / 1.14 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0004536/0.7746, allocations: 379.5 kB / 1.14 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005429/0.7751, allocations: 107.9 kB / 1.14 GB, free: 10.31 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: 36 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,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.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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.0009677/0.7761, allocations: 383 kB / 1.14 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006375/0.7768, allocations: 342.6 kB / 1.141 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7768, allocations: 0 / 1.141 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.777, allocations: 164.2 kB / 1.141 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.7775, allocations: 73.11 kB / 1.141 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.7792, allocations: 0.7637 MB / 1.142 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007742/0.78, allocations: 1 MB / 1.143 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.78, allocations: 0 / 1.143 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of Templates: time 0.01217/0.7921, allocations: 5.5 MB / 1.148 GB, free: 2.285 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)