Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.222/2.222, allocations: 284.9 MB / 292.2 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001674/0.001673, allocations: 181.2 kB / 360.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.1 MB / 0.6188 GB, free: 13.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001815/0.001814, allocations: 89.2 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.757e-06/8.836e-06, allocations: 0 / 0.8502 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.703, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.278/0.9811, allocations: 145.7 MB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.9815, allocations: 85.03 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.06008/1.042, allocations: 13.79 MB / 1.119 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.807e-05/1.042, allocations: 16 kB / 1.119 GB, free: 13.22 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.001694/1.043, allocations: 0.8216 MB / 1.119 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/1.043, allocations: 13.16 kB / 1.119 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/1.044, allocations: 86.88 kB / 1.12 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/1.045, allocations: 444 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/1.045, allocations: 54.59 kB / 1.12 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/1.045, allocations: 40 kB / 1.12 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001071/1.046, allocations: 321.9 kB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/1.047, allocations: 0.5277 MB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/1.048, allocations: 3.938 kB / 1.121 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/1.048, allocations: 8 kB / 1.121 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/1.048, allocations: 12 kB / 1.121 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004098/1.052, allocations: 2.547 MB / 1.123 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/1.052, allocations: 235.6 kB / 1.124 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/1.053, allocations: 124.8 kB / 1.124 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/1.053, allocations: 8.281 kB / 1.124 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/1.053, allocations: 175.6 kB / 1.124 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=38): time 3.607e-06/1.053, allocations: 0 / 1.124 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38): time 0.000888/1.054, allocations: 288.4 kB / 1.124 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/1.054, allocations: 85.09 kB / 1.124 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.055, allocations: 0.5331 MB / 1.125 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/1.056, allocations: 41.62 kB / 1.125 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/1.056, allocations: 268.3 kB / 1.125 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/1.056, allocations: 90.94 kB / 1.125 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/1.056, allocations: 0 / 1.125 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002219/1.056, allocations: 378.7 kB / 1.126 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/1.057, allocations: 113.3 kB / 1.126 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/1.057, allocations: 306.4 kB / 1.126 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/1.058, allocations: 132.7 kB / 1.126 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.058, allocations: 0 / 1.126 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00123/1.059, allocations: 450.7 kB / 1.126 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.059, allocations: 9.094 kB / 1.126 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.059, allocations: 4 kB / 1.126 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/1.059, allocations: 15.94 kB / 1.126 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/1.06, allocations: 71.83 kB / 1.127 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/1.06, allocations: 11.94 kB / 1.127 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/1.06, allocations: 35.67 kB / 1.127 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/1.06, allocations: 25.94 kB / 1.127 GB, free: 4.582 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: 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.0002148/1.06, allocations: 149.9 kB / 1.127 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/1.06, allocations: 67.16 kB / 1.127 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/1.062, allocations: 342.7 kB / 1.127 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.062, allocations: 4 kB / 1.127 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.062, allocations: 0 / 1.127 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.062, allocations: 0 / 1.127 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/1.064, allocations: 0.9393 MB / 1.128 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/1.064, allocations: 3.906 kB / 1.128 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/1.064, allocations: 23.92 kB / 1.128 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/1.064, allocations: 0 / 1.128 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/1.064, allocations: 11.98 kB / 1.128 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.064, allocations: 4 kB / 1.128 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.064, allocations: 5.125 kB / 1.128 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009335/1.065, allocations: 419.2 kB / 1.129 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/1.066, allocations: 132.3 kB / 1.129 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.066, allocations: 9.875 kB / 1.129 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/1.066, allocations: 15.98 kB / 1.129 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.066, allocations: 47.83 kB / 1.129 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/1.066, allocations: 16 kB / 1.129 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0008299/1.067, allocations: 374.9 kB / 1.129 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008092/1.068, allocations: 107.9 kB / 1.129 GB, free: 1.855 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: 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.001109/1.069, allocations: 377.3 kB / 1.13 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.07, allocations: 342.8 kB / 1.13 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.07, allocations: 128 / 1.13 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004393/1.071, allocations: 171.8 kB / 1.13 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/1.071, allocations: 69.92 kB / 1.13 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/1.074, allocations: 0.7771 MB / 1.131 GB, free: 260 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.075, allocations: 0.9884 MB / 1.132 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of SimCode: time 1.222e-06/1.075, allocations: 0 / 1.132 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.02095/1.096, allocations: 5.496 MB / 1.137 GB, free: 9.863 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)