Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.327/1.327, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009569/0.0009569, allocations: 189.2 kB / 361.1 MB, free: 7.102 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.045/1.045, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007897/0.0007897, allocations: 84.69 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.703e-06/6.733e-06, allocations: 4 kB / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4207, allocations: 115.3 MB / 0.9637 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.5553, allocations: 143.1 MB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.5556, allocations: 91.27 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02292/0.5785, allocations: 9.105 MB / 1.112 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.444e-05/0.5785, allocations: 12 kB / 1.112 GB, free: 3.902 MB / 0.7136 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.001037/0.5796, allocations: 0.7381 MB / 1.113 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.5796, allocations: 8.531 kB / 1.113 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.5797, allocations: 55.34 kB / 1.113 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.5802, allocations: 373.8 kB / 1.114 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.5803, allocations: 20 kB / 1.114 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.5804, allocations: 35.94 kB / 1.114 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00066/0.581, allocations: 377.9 kB / 1.114 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006965/0.5817, allocations: 432.2 kB / 1.114 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.5818, allocations: 3.984 kB / 1.114 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.5818, allocations: 3.906 kB / 1.114 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.5818, allocations: 12 kB / 1.114 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.5837, allocations: 1.34 MB / 1.116 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.5844, allocations: 401.6 kB / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.5847, allocations: 182.1 kB / 1.116 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.5848, allocations: 8.422 kB / 1.116 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/0.5851, allocations: 237.2 kB / 1.116 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 1.863e-06/0.5851, allocations: 0 / 1.116 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.0005959/0.5857, allocations: 352 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.5858, allocations: 63.89 kB / 1.117 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.5861, allocations: 299.1 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.5861, allocations: 41.69 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5862, allocations: 181.2 kB / 1.117 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.5864, allocations: 134.2 kB / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.5864, allocations: 0 / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5865, allocations: 354.8 kB / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.5868, allocations: 149.3 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.5871, allocations: 228.7 kB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.5873, allocations: 147.1 kB / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5873, allocations: 0 / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0006782/0.588, allocations: 447.3 kB / 1.119 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.588, allocations: 8 kB / 1.119 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5881, allocations: 6.422 kB / 1.119 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5881, allocations: 8.219 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.5884, allocations: 79.83 kB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.5884, allocations: 4 kB / 1.119 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.5888, allocations: 83.62 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.5889, allocations: 20 kB / 1.119 GB, free: 12.94 MB / 0.7292 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.000138/0.589, allocations: 159.3 kB / 1.119 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.5891, allocations: 43.42 kB / 1.119 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.5898, allocations: 424 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5899, allocations: 4 kB / 1.12 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5899, allocations: 3.984 kB / 1.12 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.5899, allocations: 0 / 1.12 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.5914, allocations: 1.057 MB / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5914, allocations: 0 / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.5917, allocations: 59.89 kB / 1.121 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.5917, allocations: 6.188 kB / 1.121 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.5917, allocations: 7.938 kB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.5917, allocations: 7.984 kB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5917, allocations: 0 / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006491/0.5924, allocations: 492.6 kB / 1.121 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.5925, allocations: 124.6 kB / 1.121 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.5926, allocations: 4 kB / 1.121 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.5929, allocations: 59.94 kB / 1.121 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.5931, allocations: 80.53 kB / 1.121 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.5931, allocations: 19.94 kB / 1.121 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001932/0.5933, allocations: 211.1 kB / 1.122 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003767/0.5937, allocations: 96.55 kB / 1.122 GB, free: 10.04 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: 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.0005041/0.5942, allocations: 303.7 kB / 1.122 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006391/0.5949, allocations: 457 kB / 1.122 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5949, allocations: 0 / 1.122 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.5952, allocations: 228.2 kB / 1.123 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.5955, allocations: 45.58 kB / 1.123 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.5967, allocations: 0.6015 MB / 1.123 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005542/0.5973, allocations: 0.9105 MB / 1.124 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/0.5973, allocations: 0 / 1.124 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of Templates: time 0.01027/0.6076, allocations: 5.983 MB / 1.13 GB, free: 1.703 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)