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.VariableSpeedPumpStage.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.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") [: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.554/2.554, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.00165/0.00165, allocations: 189.2 kB / 319.6 MB, free: 3.316 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 2.137/2.137, 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.00197/0.00197, allocations: 91.38 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.138e-05/1.16e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.211, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6945/0.9055, allocations: 137.6 MB / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.9059, allocations: 95.3 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.04248/0.9484, allocations: 9.13 MB / 1.031 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.044e-05/0.9485, allocations: 8 kB / 1.031 GB, free: 9.223 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001788/0.9504, allocations: 0.7298 MB / 1.032 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.9504, allocations: 16.02 kB / 1.032 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.9506, allocations: 55.34 kB / 1.032 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008164/0.9514, allocations: 375 kB / 1.033 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.9515, allocations: 27.33 kB / 1.033 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.9516, allocations: 35.94 kB / 1.033 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001209/0.9529, allocations: 368.5 kB / 1.033 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.9541, allocations: 437.8 kB / 1.033 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.9541, allocations: 0 / 1.033 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.9542, allocations: 0 / 1.033 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.9542, allocations: 12 kB / 1.033 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/0.9578, allocations: 1.339 MB / 1.035 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.959, allocations: 405.8 kB / 1.035 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.9595, allocations: 183.8 kB / 1.035 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.9596, allocations: 4.438 kB / 1.035 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006001/0.9602, allocations: 236.5 kB / 1.036 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 3.677e-06/0.9602, allocations: 0 / 1.036 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.001121/0.9613, allocations: 351.8 kB / 1.036 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.9614, allocations: 67.47 kB / 1.036 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.962, allocations: 302.9 kB / 1.036 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.9622, allocations: 40.58 kB / 1.036 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.9624, allocations: 183.1 kB / 1.036 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.9626, allocations: 135.8 kB / 1.037 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.9626, allocations: 0 / 1.037 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.9628, allocations: 360.2 kB / 1.037 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.9634, allocations: 153.6 kB / 1.037 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.9639, allocations: 221.8 kB / 1.037 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.9644, allocations: 150.2 kB / 1.037 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.9644, allocations: 0 / 1.037 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001297/0.9658, allocations: 446.7 kB / 1.038 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.9658, allocations: 8 kB / 1.038 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.9658, allocations: 4 kB / 1.038 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.9659, allocations: 4 kB / 1.038 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.9665, allocations: 79.08 kB / 1.038 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.9665, allocations: 7.984 kB / 1.038 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/0.9673, allocations: 71.8 kB / 1.038 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/0.9674, allocations: 23.92 kB / 1.038 GB, free: 3.727 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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.0002412/0.9676, allocations: 159.9 kB / 1.038 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.9678, allocations: 43.47 kB / 1.038 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.9692, allocations: 422.7 kB / 1.039 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.9692, allocations: 8 kB / 1.039 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.9692, allocations: 0 / 1.039 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.9692, allocations: 7.891 kB / 1.039 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.972, allocations: 1.051 MB / 1.04 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.9721, allocations: 0 / 1.04 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.9727, allocations: 59.78 kB / 1.04 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.9727, allocations: 0 / 1.04 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.9728, allocations: 7.984 kB / 1.04 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.9728, allocations: 7.938 kB / 1.04 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.9728, allocations: 0 / 1.04 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001277/0.9741, allocations: 496.4 kB / 1.04 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.9743, allocations: 119.9 kB / 1.04 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.9744, allocations: 3.984 kB / 1.04 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007352/0.9751, allocations: 71.25 kB / 1.04 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/0.9755, allocations: 73.89 kB / 1.04 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.9755, allocations: 23.3 kB / 1.041 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003692/0.9759, allocations: 207.7 kB / 1.041 GB, free: 1.445 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00079/0.9767, allocations: 87.98 kB / 1.041 GB, free: 1.359 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0009693/0.9777, allocations: 318.6 kB / 1.041 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.9793, allocations: 450.2 kB / 1.042 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9793, allocations: 0 / 1.042 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006669/0.98, allocations: 229.9 kB / 1.042 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007147/0.9808, allocations: 50.55 kB / 1.042 GB, free: 0.6055 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.9832, allocations: 0.6091 MB / 1.042 GB, free: 84 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.9843, allocations: 0.8964 MB / 1.043 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of SimCode: time 1.723e-06/0.9843, allocations: 3.938 kB / 1.043 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of Templates: time 0.02091/1.005, allocations: 5.999 MB / 1.049 GB, free: 9.242 MB / 0.6667 GB