Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.371/2.371, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001649/0.001648, allocations: 189.2 kB / 360.4 MB, free: 7.496 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.741/1.741, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001295/0.001294, allocations: 93.36 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.424e-05/1.438e-05, allocations: 4 kB / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6306/0.6307, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.8576, allocations: 144.7 MB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.858, allocations: 88.5 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05901/0.917, allocations: 13.68 MB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.593e-05/0.9172, allocations: 20 kB / 1.118 GB, free: 14.25 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.001647/0.9188, allocations: 0.807 MB / 1.118 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.9189, allocations: 12.02 kB / 1.118 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.9191, allocations: 82.97 kB / 1.118 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.9202, allocations: 444.1 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/0.9203, allocations: 27.98 kB / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.9204, allocations: 36 kB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001047/0.9215, allocations: 326.4 kB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.9227, allocations: 0.5246 MB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.9228, allocations: 0 / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.9229, allocations: 8 kB / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.9229, allocations: 12 kB / 1.12 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004056/0.927, allocations: 2.464 MB / 1.122 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007395/0.9277, allocations: 235.1 kB / 1.122 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.9281, allocations: 126.1 kB / 1.123 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.9281, allocations: 5.125 kB / 1.123 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004614/0.9286, allocations: 193.4 kB / 1.123 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 3.757e-06/0.9286, allocations: 0 / 1.123 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0009027/0.9295, allocations: 286.4 kB / 1.123 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.9296, allocations: 85.11 kB / 1.123 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.9308, allocations: 0.5371 MB / 1.124 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.025e-05/0.9309, allocations: 33.7 kB / 1.124 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.9312, allocations: 272.3 kB / 1.124 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.9313, allocations: 90.86 kB / 1.124 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.9314, allocations: 0 / 1.124 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002618/0.9317, allocations: 378.8 kB / 1.124 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.932, allocations: 113.3 kB / 1.124 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005313/0.9326, allocations: 310.3 kB / 1.125 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.933, allocations: 128.7 kB / 1.125 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.933, allocations: 4 kB / 1.125 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001233/0.9342, allocations: 446.7 kB / 1.125 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.9343, allocations: 8.031 kB / 1.125 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.9343, allocations: 11.94 kB / 1.125 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.9343, allocations: 8 kB / 1.125 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.9348, allocations: 84.58 kB / 1.125 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.9349, allocations: 8 kB / 1.125 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.9353, allocations: 27.69 kB / 1.125 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.9354, allocations: 31.98 kB / 1.125 GB, free: 5.75 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.0002232/0.9356, allocations: 154 kB / 1.126 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.9358, allocations: 63.16 kB / 1.126 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.9369, allocations: 355.5 kB / 1.126 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.937, allocations: 4 kB / 1.126 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.937, allocations: 0 / 1.126 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.937, allocations: 3.984 kB / 1.126 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.9392, allocations: 0.9314 MB / 1.127 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.9393, allocations: 0 / 1.127 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.9395, allocations: 27.92 kB / 1.127 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.9395, allocations: 2.375 kB / 1.127 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.9395, allocations: 7.984 kB / 1.127 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.9396, allocations: 4 kB / 1.127 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.9396, allocations: 7.938 kB / 1.127 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009277/0.9405, allocations: 422.6 kB / 1.127 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.9407, allocations: 140.3 kB / 1.128 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.9408, allocations: 7.906 kB / 1.128 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.9411, allocations: 7.984 kB / 1.128 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.9413, allocations: 51.92 kB / 1.128 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.9414, allocations: 12 kB / 1.128 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0008351/0.9422, allocations: 393.4 kB / 1.128 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007845/0.943, allocations: 99.98 kB / 1.128 GB, free: 3.008 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.001084/0.9441, allocations: 370.1 kB / 1.128 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009836/0.9451, allocations: 346.3 kB / 1.129 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.9452, allocations: 0.5 kB / 1.129 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.9456, allocations: 163.8 kB / 1.129 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007851/0.9464, allocations: 72.73 kB / 1.129 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.9489, allocations: 0.7793 MB / 1.13 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009856/0.9499, allocations: 0.9927 MB / 1.131 GB, free: 396 kB / 0.7292 GB Notification: Performance of SimCode: time 3.938e-06/0.9499, allocations: 0 / 1.131 GB, free: 396 kB / 0.7292 GB Notification: Performance of Templates: time 0.02048/0.9704, allocations: 5.501 MB / 1.136 GB, free: 11.01 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)