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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) [: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.3/1.3, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0008771/0.0008771, allocations: 181.3 kB / 361.1 MB, free: 7.074 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.021/1.021, allocations: 205.1 MB / 0.6195 GB, free: 11.91 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.0007778/0.0007779, allocations: 81.75 kB / 0.7325 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.18/0.1809, allocations: 121.5 MB / 0.8512 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.5965, allocations: 115.3 MB / 0.9638 GB, free: 77.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.7356, allocations: 143.1 MB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.7359, allocations: 94.34 kB / 1.104 GB, free: 12.88 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.02335/0.7592, allocations: 9.853 MB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.7593, allocations: 8.5 kB / 1.113 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.7594, allocations: 59.33 kB / 1.113 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.7599, allocations: 377.8 kB / 1.114 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.76, allocations: 16 kB / 1.114 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.7601, allocations: 35.98 kB / 1.114 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006498/0.7607, allocations: 371.1 kB / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.7614, allocations: 440.2 kB / 1.114 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.7614, allocations: 0 / 1.114 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.7615, allocations: 7.906 kB / 1.114 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.7615, allocations: 10.16 kB / 1.114 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.7634, allocations: 1.341 MB / 1.116 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006468/0.764, allocations: 396.5 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.7643, allocations: 186.1 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.7644, allocations: 4.438 kB / 1.116 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.7647, allocations: 237.2 kB / 1.117 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 2.004e-06/0.7647, allocations: 3.938 kB / 1.117 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.0005672/0.7653, allocations: 348 kB / 1.117 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.7653, allocations: 67.84 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.7656, allocations: 299.1 kB / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.7657, allocations: 41.7 kB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.7658, allocations: 177.2 kB / 1.117 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.7659, allocations: 138.2 kB / 1.118 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.7659, allocations: 0 / 1.118 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.766, allocations: 354.8 kB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.7663, allocations: 149.3 kB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.7666, allocations: 228.7 kB / 1.118 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.7669, allocations: 147.1 kB / 1.118 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7669, allocations: 0 / 1.118 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0006621/0.7675, allocations: 449.7 kB / 1.119 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.7676, allocations: 8.656 kB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7676, allocations: 4 kB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7676, allocations: 4 kB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.7679, allocations: 79.83 kB / 1.119 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.7679, allocations: 5.75 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.7683, allocations: 83.62 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.7684, allocations: 27.98 kB / 1.119 GB, free: 12.86 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.0001351/0.7685, allocations: 150.9 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.7686, allocations: 43.44 kB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007379/0.7693, allocations: 425 kB / 1.12 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.7693, allocations: 9.75 kB / 1.12 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7693, allocations: 0 / 1.12 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.7694, allocations: 3.984 kB / 1.12 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.7708, allocations: 1.053 MB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7708, allocations: 0 / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.7711, allocations: 63.84 kB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.7711, allocations: 0 / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.7711, allocations: 11.98 kB / 1.121 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.7711, allocations: 4 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7712, allocations: 4 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006282/0.7718, allocations: 488.6 kB / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000711/0.7725, allocations: 0.8565 MB / 1.122 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.7726, allocations: 129.8 kB / 1.122 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.7727, allocations: 1.625 kB / 1.122 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.773, allocations: 67.94 kB / 1.122 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.7732, allocations: 76.53 kB / 1.122 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.7732, allocations: 19.98 kB / 1.122 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001725/0.7734, allocations: 211.1 kB / 1.123 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009102/0.7743, allocations: 91.84 kB / 1.123 GB, free: 9.082 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.000541/0.7749, allocations: 323.4 kB / 1.123 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006063/0.7755, allocations: 448.7 kB / 1.123 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7755, allocations: 0 / 1.123 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.7758, allocations: 234.4 kB / 1.124 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.7761, allocations: 43.83 kB / 1.124 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.7773, allocations: 0.6053 MB / 1.124 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/0.7778, allocations: 0.9089 MB / 1.125 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.7778, allocations: 4 kB / 1.125 GB, free: 6.59 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)