Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage",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.1.4-maint.8.1.x/package.mo): time 1.401/1.401, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.001037/0.001037, allocations: 173.3 kB / 366.3 MB, free: 2 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.117/1.117, allocations: 205.1 MB / 0.6256 GB, free: 5.883 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.0008659/0.0008658, allocations: 96.88 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2125/0.2134, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.6899, allocations: 116.3 MB / 0.9727 GB, free: 68.08 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.8455, allocations: 146.9 MB / 1.116 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.8458, allocations: 96.8 kB / 1.116 GB, free: 1.539 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.0406/0.8864, allocations: 16.64 MB / 1.132 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.8865, allocations: 8 kB / 1.132 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.8867, allocations: 82.97 kB / 1.133 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009133/0.8876, allocations: 0.5661 MB / 1.133 GB, free: 140 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.8876, allocations: 24 kB / 1.133 GB, free: 116 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/0.8877, allocations: 32 kB / 1.133 GB, free: 84 kB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000779/0.8885, allocations: 413.9 kB / 1.134 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008431/0.8894, allocations: 0.4956 MB / 1.134 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.8894, allocations: 0 / 1.134 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.8894, allocations: 7.984 kB / 1.134 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.8895, allocations: 15.91 kB / 1.134 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.8918, allocations: 1.512 MB / 1.135 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/0.8926, allocations: 452.7 kB / 1.136 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.8929, allocations: 208.4 kB / 1.136 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.893, allocations: 16.48 kB / 1.136 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/0.8934, allocations: 266.9 kB / 1.136 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=65): time 2.194e-06/0.8934, allocations: 0 / 1.136 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65): time 0.0007394/0.8942, allocations: 439.6 kB / 1.137 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.8943, allocations: 182.8 kB / 1.137 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007246/0.895, allocations: 0.6227 MB / 1.138 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.8951, allocations: 41.7 kB / 1.138 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.8952, allocations: 205.2 kB / 1.138 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.8954, allocations: 154 kB / 1.138 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.8954, allocations: 0 / 1.138 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.8956, allocations: 382.7 kB / 1.138 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.8959, allocations: 169.5 kB / 1.139 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.8963, allocations: 348.6 kB / 1.139 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.8966, allocations: 175.1 kB / 1.139 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.8966, allocations: 0 / 1.139 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008344/0.8975, allocations: 0.5264 MB / 1.14 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.8975, allocations: 4 kB / 1.14 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.8975, allocations: 4 kB / 1.14 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.8975, allocations: 4 kB / 1.14 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.8979, allocations: 89.5 kB / 1.14 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.8979, allocations: 7.938 kB / 1.14 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.8982, allocations: 43.92 kB / 1.14 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.8983, allocations: 28.53 kB / 1.14 GB, free: 9.133 MB / 0.7448 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.0001673/0.8984, allocations: 164.1 kB / 1.14 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/0.8985, allocations: 67.16 kB / 1.14 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009531/0.8995, allocations: 0.5216 MB / 1.14 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.8995, allocations: 8 kB / 1.14 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8995, allocations: 0 / 1.14 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.8995, allocations: 3.984 kB / 1.14 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.9016, allocations: 1.327 MB / 1.142 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.9017, allocations: 4 kB / 1.142 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.9019, allocations: 51.91 kB / 1.142 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.9019, allocations: 0 / 1.142 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.902, allocations: 11.98 kB / 1.142 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.902, allocations: 4 kB / 1.142 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.902, allocations: 0 / 1.142 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008642/0.9029, allocations: 0.5783 MB / 1.142 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009583/0.9038, allocations: 0.9628 MB / 1.143 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.904, allocations: 172.2 kB / 1.143 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.9042, allocations: 0 / 1.143 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.9044, allocations: 31.97 kB / 1.143 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.9046, allocations: 80.53 kB / 1.144 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.9047, allocations: 23.98 kB / 1.144 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0005126/0.9052, allocations: 466.8 kB / 1.144 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00119/0.9064, allocations: 159.8 kB / 1.144 GB, free: 4.402 MB / 0.7448 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.001048/0.9075, allocations: 0.5446 MB / 1.145 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008247/0.9083, allocations: 0.5028 MB / 1.145 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9083, allocations: 0 / 1.145 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.9087, allocations: 274.4 kB / 1.145 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.9092, allocations: 95.81 kB / 1.146 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.911, allocations: 0.9457 MB / 1.146 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007148/0.9117, allocations: 1.025 MB / 1.147 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/0.9117, allocations: 0 / 1.147 GB, free: 1.09 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1)