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.VariableSpeedPumpStage.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.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.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 8.0.0/package.mo): time 2.128/2.128, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001589/0.001589, allocations: 185.2 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.603/1.603, allocations: 205.2 MB / 0.6188 GB, free: 13.18 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.001217/0.001216, allocations: 90.53 kB / 0.7318 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.12e-05/1.129e-05, allocations: 0 / 0.8503 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5283/0.5283, allocations: 115.2 MB / 0.9628 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2115/0.7398, allocations: 142.9 MB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.7402, allocations: 87.94 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03807/0.7783, allocations: 9.119 MB / 1.111 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.027e-05/0.7784, allocations: 12 kB / 1.111 GB, free: 4.809 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.001667/0.7801, allocations: 0.7303 MB / 1.112 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.7801, allocations: 8.531 kB / 1.112 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.7803, allocations: 59.34 kB / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007887/0.7811, allocations: 377.7 kB / 1.112 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.7812, allocations: 24 kB / 1.112 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.7813, allocations: 32 kB / 1.113 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001255/0.7826, allocations: 373.9 kB / 1.113 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.7838, allocations: 436.1 kB / 1.113 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.7838, allocations: 0 / 1.113 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.7839, allocations: 3.906 kB / 1.113 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.7839, allocations: 12 kB / 1.113 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003316/0.7872, allocations: 1.341 MB / 1.115 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.7885, allocations: 399.8 kB / 1.115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.789, allocations: 182.1 kB / 1.115 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/0.789, allocations: 12.38 kB / 1.115 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005813/0.7896, allocations: 233 kB / 1.115 GB, free: 480 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 2.825e-06/0.7897, allocations: 0 / 1.115 GB, free: 480 kB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.00102/0.7907, allocations: 356 kB / 1.116 GB, free: 116 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.7907, allocations: 59.91 kB / 1.116 GB, free: 40 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005578/0.7913, allocations: 299.1 kB / 1.116 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/0.7914, allocations: 37.69 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.7916, allocations: 185.2 kB / 1.116 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.7918, allocations: 134.2 kB / 1.116 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.7919, allocations: 3.938 kB / 1.116 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.792, allocations: 358.8 kB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.7925, allocations: 141.3 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.7931, allocations: 232.7 kB / 1.117 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.7936, allocations: 139.2 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7936, allocations: 0 / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001247/0.7948, allocations: 455.5 kB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7949, allocations: 8 kB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.7949, allocations: 4 kB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.7949, allocations: 4 kB / 1.118 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.7955, allocations: 79.77 kB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.7956, allocations: 7.938 kB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/0.7963, allocations: 79.69 kB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.7964, allocations: 21.25 kB / 1.118 GB, free: 13.85 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.0002231/0.7967, allocations: 164.6 kB / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-05/0.7968, allocations: 39.44 kB / 1.118 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.7981, allocations: 426.4 kB / 1.118 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.7981, allocations: 4 kB / 1.118 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7981, allocations: 4 kB / 1.118 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.7982, allocations: 3.984 kB / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.8009, allocations: 1.056 MB / 1.12 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.8009, allocations: 0 / 1.12 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.8014, allocations: 57.34 kB / 1.12 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.8014, allocations: 4 kB / 1.12 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.8015, allocations: 7.984 kB / 1.12 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.8015, allocations: 0 / 1.12 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8015, allocations: 0 / 1.12 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001143/0.8027, allocations: 0.4888 MB / 1.12 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.8028, allocations: 120.6 kB / 1.12 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.8029, allocations: 4 kB / 1.12 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007522/0.8037, allocations: 67.92 kB / 1.12 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.8039, allocations: 80.47 kB / 1.12 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/0.804, allocations: 25.02 kB / 1.12 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003177/0.8043, allocations: 207.1 kB / 1.121 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001282/0.8056, allocations: 91.91 kB / 1.121 GB, free: 10.94 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.0008445/0.8065, allocations: 306.3 kB / 1.121 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.8077, allocations: 445.5 kB / 1.121 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8077, allocations: 0 / 1.121 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.8083, allocations: 230.4 kB / 1.122 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.809, allocations: 48.75 kB / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.811, allocations: 0.6122 MB / 1.122 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000887/0.8119, allocations: 0.9057 MB / 1.123 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of SimCode: time 8.42e-07/0.812, allocations: 1.125 kB / 1.123 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of Templates: time 0.01782/0.8298, allocations: 5.982 MB / 1.129 GB, free: 2.625 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)