Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.136/2.136, allocations: 253.1 MB / 260.4 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001705/0.001705, allocations: 181.2 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 91.64 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.074e-05/1.091e-05, allocations: 8 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2087, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6578/0.8666, allocations: 140.5 MB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/0.867, allocations: 96.8 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.06728/0.9343, allocations: 15.73 MB / 1.041 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.887e-05/0.9344, allocations: 20 kB / 1.041 GB, free: 0.9688 MB / 0.6511 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.002008/0.9364, allocations: 0.8972 MB / 1.042 GB, free: 56 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.9365, allocations: 12.03 kB / 1.042 GB, free: 44 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.9368, allocations: 83.23 kB / 1.042 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.9385, allocations: 0.5629 MB / 1.042 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-05/0.9385, allocations: 23.3 kB / 1.042 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.9387, allocations: 39.94 kB / 1.042 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001396/0.9401, allocations: 409.4 kB / 1.043 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.9415, allocations: 0.5012 MB / 1.043 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.9416, allocations: 3.938 kB / 1.043 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.9416, allocations: 3.984 kB / 1.043 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.9417, allocations: 15.98 kB / 1.043 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.9457, allocations: 1.515 MB / 1.045 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.9472, allocations: 450.4 kB / 1.045 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.9477, allocations: 209.5 kB / 1.045 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-05/0.9478, allocations: 12.48 kB / 1.045 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006805/0.9485, allocations: 271 kB / 1.046 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=65): time 4.679e-06/0.9485, allocations: 0 / 1.046 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65): time 0.001393/0.9499, allocations: 445.5 kB / 1.046 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.9501, allocations: 170.1 kB / 1.046 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.9516, allocations: 0.6273 MB / 1.047 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.9518, allocations: 40.31 kB / 1.047 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.9521, allocations: 206.8 kB / 1.047 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.9524, allocations: 158.1 kB / 1.047 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.9525, allocations: 4 kB / 1.047 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.9527, allocations: 380 kB / 1.048 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.9532, allocations: 171.2 kB / 1.048 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007242/0.954, allocations: 342.6 kB / 1.048 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.9545, allocations: 172 kB / 1.048 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.9545, allocations: 4 kB / 1.048 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001617/0.9562, allocations: 0.5251 MB / 1.049 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.9562, allocations: 4 kB / 1.049 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.9562, allocations: 4 kB / 1.049 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.9563, allocations: 4 kB / 1.049 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.9569, allocations: 90.73 kB / 1.049 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.957, allocations: 4 kB / 1.049 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.9576, allocations: 47.94 kB / 1.049 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/0.9577, allocations: 23.62 kB / 1.049 GB, free: 10.14 MB / 0.6667 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.0002843/0.958, allocations: 159.8 kB / 1.049 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.9582, allocations: 63.25 kB / 1.049 GB, free: 9.914 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.96, allocations: 0.5191 MB / 1.05 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.96, allocations: 11.94 kB / 1.05 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.96, allocations: 0 / 1.05 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.9601, allocations: 3.984 kB / 1.05 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.9636, allocations: 1.319 MB / 1.051 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.9637, allocations: 4 kB / 1.051 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.9642, allocations: 58.41 kB / 1.051 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.9642, allocations: 4 kB / 1.051 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.9643, allocations: 7.984 kB / 1.051 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.9643, allocations: 0 / 1.051 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.9643, allocations: 4 kB / 1.051 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001504/0.9658, allocations: 0.5753 MB / 1.052 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/0.9662, allocations: 172.4 kB / 1.052 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.9664, allocations: 14.86 kB / 1.052 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.9669, allocations: 19.98 kB / 1.052 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002847/0.9672, allocations: 82.03 kB / 1.052 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.599e-05/0.9673, allocations: 27.58 kB / 1.052 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000977/0.9683, allocations: 472.7 kB / 1.052 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009978/0.9693, allocations: 150.4 kB / 1.052 GB, free: 7.152 MB / 0.6667 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.001571/0.9709, allocations: 0.5403 MB / 1.053 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.9725, allocations: 0.502 MB / 1.053 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.9725, allocations: 64 / 1.053 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.9732, allocations: 275.5 kB / 1.054 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.9743, allocations: 105 kB / 1.054 GB, free: 6.152 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.9774, allocations: 0.9446 MB / 1.055 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.9787, allocations: 1.024 MB / 1.056 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of SimCode: time 1.162e-06/0.9787, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of Templates: time 0.028/1.007, allocations: 8.771 MB / 1.064 GB, free: 11.62 MB / 0.6823 GB