Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.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.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") [: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.123/2.123, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.00163/0.001629, allocations: 177.3 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.676/1.676, allocations: 205.2 MB / 0.6188 GB, free: 12.45 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.001248/0.001247, allocations: 86.11 kB / 0.7318 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.028e-05/1.045e-05, allocations: 0 / 0.8503 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5532, allocations: 115.2 MB / 0.9628 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2157/0.7689, allocations: 145.7 MB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.7693, allocations: 92.88 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.06498/0.8343, allocations: 15.73 MB / 1.121 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.391e-05/0.8344, allocations: 19.94 kB / 1.121 GB, free: 11.34 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001957/0.8364, allocations: 0.9054 MB / 1.121 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.8364, allocations: 12.52 kB / 1.121 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.8367, allocations: 82.97 kB / 1.122 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.8382, allocations: 0.5622 MB / 1.122 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.8383, allocations: 24 kB / 1.122 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.8384, allocations: 36 kB / 1.122 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001392/0.8398, allocations: 417.9 kB / 1.123 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.8412, allocations: 0.4963 MB / 1.123 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.8412, allocations: 0 / 1.123 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/0.8413, allocations: 0 / 1.123 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.8413, allocations: 15.91 kB / 1.123 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003683/0.845, allocations: 1.512 MB / 1.125 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.8464, allocations: 457 kB / 1.125 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/0.847, allocations: 211.9 kB / 1.125 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.03e-05/0.8471, allocations: 12.5 kB / 1.125 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006934/0.8478, allocations: 282.6 kB / 1.125 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=65): time 3.196e-06/0.8478, allocations: 0 / 1.125 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65): time 0.00132/0.8491, allocations: 431.2 kB / 1.126 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.8493, allocations: 178.8 kB / 1.126 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.8507, allocations: 0.6188 MB / 1.127 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.8508, allocations: 45.69 kB / 1.127 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.851, allocations: 205.2 kB / 1.127 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.8513, allocations: 154 kB / 1.127 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.8513, allocations: 0 / 1.127 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.8515, allocations: 386.7 kB / 1.127 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.8521, allocations: 173.5 kB / 1.128 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000758/0.8529, allocations: 344.5 kB / 1.128 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.8534, allocations: 175.1 kB / 1.128 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8534, allocations: 0 / 1.128 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001502/0.8549, allocations: 0.5225 MB / 1.129 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.855, allocations: 4 kB / 1.129 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.855, allocations: 4 kB / 1.129 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.855, allocations: 4.281 kB / 1.129 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.8557, allocations: 91.77 kB / 1.129 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.8557, allocations: 7.984 kB / 1.129 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.8562, allocations: 39.67 kB / 1.129 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/0.8563, allocations: 24 kB / 1.129 GB, free: 2.664 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,conSpePumSta.con1.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0002583/0.8566, allocations: 174.5 kB / 1.129 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.8568, allocations: 65.34 kB / 1.129 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.8585, allocations: 0.5236 MB / 1.129 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.8585, allocations: 8 kB / 1.129 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.8585, allocations: 0 / 1.129 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.8585, allocations: 3.984 kB / 1.129 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.8619, allocations: 1.319 MB / 1.131 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.8619, allocations: 0 / 1.131 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.8624, allocations: 63.83 kB / 1.131 GB, free: 464 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.8624, allocations: 4 kB / 1.131 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.8625, allocations: 2.25 kB / 1.131 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.8625, allocations: 4 kB / 1.131 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8625, allocations: 7.984 kB / 1.131 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001428/0.864, allocations: 0.5746 MB / 1.131 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.8642, allocations: 164.2 kB / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.8644, allocations: 15.97 kB / 1.132 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.8649, allocations: 23.98 kB / 1.132 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.8652, allocations: 88.45 kB / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-05/0.8653, allocations: 21.22 kB / 1.132 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0009185/0.8662, allocations: 474.8 kB / 1.132 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009054/0.8671, allocations: 147.8 kB / 1.132 GB, free: 14.91 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: 52 (conSpePumSta.con3.enableFire,conSpePumSta.con4.enableFire,conSpePumSta.con1.enableFire,conSpePumSta.con2.enableFire,conSpePumSta.twoOn.localActive,conSpePumSta.off.localActive,conSpePumSta.oneOn.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,conSpePumSta.con1.fire,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 7 (chiNumOn.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEvent,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001537/0.8687, allocations: 0.5356 MB / 1.133 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.8701, allocations: 0.4989 MB / 1.133 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8701, allocations: 0 / 1.133 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000657/0.8708, allocations: 266.4 kB / 1.134 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009698/0.8718, allocations: 99.61 kB / 1.134 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.8746, allocations: 0.9459 MB / 1.135 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.8757, allocations: 1.025 MB / 1.136 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.8758, allocations: 4 kB / 1.136 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.02589/0.9017, allocations: 8.77 MB / 1.144 GB, free: 3.109 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1)