Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.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.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.352/1.352, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.0009833/0.0009832, allocations: 181.3 kB / 366.3 MB, free: 1.988 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.049/1.049, allocations: 205.2 MB / 0.6256 GB, free: 5.812 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.0007563/0.0007563, allocations: 85.2 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.36e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4163, allocations: 116.3 MB / 0.9726 GB, free: 68.58 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.5609, allocations: 146.9 MB / 1.116 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.5611, allocations: 99.88 kB / 1.116 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03812/0.5993, allocations: 15.71 MB / 1.131 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.599e-05/0.5993, allocations: 27.92 kB / 1.131 GB, free: 1.773 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.001159/0.6005, allocations: 0.9016 MB / 1.132 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.6005, allocations: 12.03 kB / 1.132 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.6007, allocations: 82.97 kB / 1.132 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008369/0.6015, allocations: 0.5592 MB / 1.133 GB, free: 112 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.6016, allocations: 24 kB / 1.133 GB, free: 88 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.6017, allocations: 39.92 kB / 1.133 GB, free: 48 kB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007516/0.6024, allocations: 406 kB / 1.133 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.6032, allocations: 0.4996 MB / 1.134 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6032, allocations: 3.938 kB / 1.134 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.6033, allocations: 4 kB / 1.134 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.6033, allocations: 15.91 kB / 1.134 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.6053, allocations: 1.51 MB / 1.135 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.6061, allocations: 452.6 kB / 1.136 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.6064, allocations: 214.3 kB / 1.136 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.6065, allocations: 12.48 kB / 1.136 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003853/0.6069, allocations: 274.9 kB / 1.136 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=65): time 2.023e-06/0.6069, allocations: 4 kB / 1.136 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65): time 0.0006991/0.6076, allocations: 435.5 kB / 1.137 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.6077, allocations: 174.8 kB / 1.137 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006796/0.6084, allocations: 0.6266 MB / 1.138 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.6084, allocations: 41.7 kB / 1.138 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.6086, allocations: 206.9 kB / 1.138 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.6087, allocations: 154 kB / 1.138 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.6087, allocations: 0 / 1.138 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6089, allocations: 386.7 kB / 1.138 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.6091, allocations: 169.5 kB / 1.138 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.6096, allocations: 344.6 kB / 1.139 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.6098, allocations: 175.1 kB / 1.139 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.6098, allocations: 0 / 1.139 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.000774/0.6106, allocations: 0.5263 MB / 1.139 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.6106, allocations: 8 kB / 1.139 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.6107, allocations: 0.8594 kB / 1.139 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.6107, allocations: 8 kB / 1.139 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.611, allocations: 83.81 kB / 1.14 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.611, allocations: 8.281 kB / 1.14 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.6113, allocations: 47.61 kB / 1.14 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.6114, allocations: 23.98 kB / 1.14 GB, free: 9.098 MB / 0.7448 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.0002018/0.6116, allocations: 156.9 kB / 1.14 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.6117, allocations: 67.16 kB / 1.14 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008948/0.6126, allocations: 0.5225 MB / 1.14 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.6126, allocations: 11.98 kB / 1.14 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6126, allocations: 0 / 1.14 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6126, allocations: 7.984 kB / 1.14 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.6145, allocations: 1.323 MB / 1.142 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6145, allocations: 0 / 1.142 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.6148, allocations: 59.91 kB / 1.142 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.6148, allocations: 0 / 1.142 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.6148, allocations: 7.984 kB / 1.142 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.6148, allocations: 4 kB / 1.142 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6148, allocations: 0 / 1.142 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007658/0.6156, allocations: 0.5783 MB / 1.142 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.6158, allocations: 172.2 kB / 1.142 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/0.6159, allocations: 8 kB / 1.142 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.6161, allocations: 28.53 kB / 1.142 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.6163, allocations: 80.53 kB / 1.143 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.6164, allocations: 27.92 kB / 1.143 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0004703/0.6168, allocations: 466.9 kB / 1.143 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005076/0.6173, allocations: 147.8 kB / 1.143 GB, free: 5.352 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.001001/0.6183, allocations: 0.54 MB / 1.144 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007208/0.6191, allocations: 0.5028 MB / 1.144 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6191, allocations: 0 / 1.144 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.6194, allocations: 278.3 kB / 1.144 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.6199, allocations: 88.05 kB / 1.145 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.6215, allocations: 0.9452 MB / 1.145 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006754/0.6222, allocations: 1.022 MB / 1.146 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.6222, allocations: 0 / 1.146 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of Templates: time 0.01418/0.6364, allocations: 8.777 MB / 1.155 GB, free: 9.34 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1)