Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.147/2.147, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001562/0.001561, allocations: 169.3 kB / 360.3 MB, free: 7.559 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.644/1.644, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001215/0.001215, allocations: 83.17 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2465/0.2478, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.7954, allocations: 115.2 MB / 0.9628 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2876/1.083, allocations: 145.7 MB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/1.083, allocations: 96.5 kB / 1.105 GB, free: 11.03 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.06876/1.152, allocations: 16.65 MB / 1.121 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.152, allocations: 12.5 kB / 1.121 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/1.153, allocations: 83.53 kB / 1.121 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/1.154, allocations: 0.5622 MB / 1.122 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/1.154, allocations: 26.12 kB / 1.122 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.154, allocations: 35.98 kB / 1.122 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001416/1.156, allocations: 409.9 kB / 1.122 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/1.157, allocations: 0.4956 MB / 1.123 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/1.157, allocations: 3.75 kB / 1.123 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.739e-05/1.157, allocations: 8 kB / 1.123 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/1.157, allocations: 15.91 kB / 1.123 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/1.161, allocations: 1.502 MB / 1.124 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.163, allocations: 460.1 kB / 1.125 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/1.164, allocations: 212.1 kB / 1.125 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.842e-05/1.164, allocations: 4.5 kB / 1.125 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006948/1.164, allocations: 281.1 kB / 1.125 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=65): time 3.206e-06/1.164, allocations: 0 / 1.125 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65): time 0.001352/1.166, allocations: 431.3 kB / 1.126 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.166, allocations: 178.8 kB / 1.126 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.167, allocations: 0.6305 MB / 1.127 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/1.167, allocations: 37.7 kB / 1.127 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/1.168, allocations: 209.2 kB / 1.127 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/1.168, allocations: 154 kB / 1.127 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/1.168, allocations: 0 / 1.127 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002166/1.168, allocations: 386.7 kB / 1.127 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/1.169, allocations: 165.5 kB / 1.127 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007607/1.169, allocations: 348.5 kB / 1.128 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/1.17, allocations: 179.1 kB / 1.128 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.17, allocations: 0 / 1.128 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001534/1.171, allocations: 0.5186 MB / 1.128 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.172, allocations: 8 kB / 1.129 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/1.172, allocations: 3.984 kB / 1.129 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/1.172, allocations: 8 kB / 1.129 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/1.172, allocations: 87.77 kB / 1.129 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/1.172, allocations: 4 kB / 1.129 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/1.173, allocations: 43.95 kB / 1.129 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.448e-05/1.173, allocations: 34.25 kB / 1.129 GB, free: 2.715 MB / 0.7292 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.0002673/1.173, allocations: 158.7 kB / 1.129 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/1.173, allocations: 71.14 kB / 1.129 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/1.175, allocations: 0.5177 MB / 1.129 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/1.175, allocations: 8 kB / 1.129 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.175, allocations: 2.562 kB / 1.129 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.175, allocations: 3.984 kB / 1.129 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/1.178, allocations: 1.323 MB / 1.131 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.178, allocations: 0 / 1.131 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/1.179, allocations: 63.84 kB / 1.131 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/1.179, allocations: 0 / 1.131 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/1.179, allocations: 7.984 kB / 1.131 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/1.179, allocations: 4 kB / 1.131 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/1.179, allocations: 0 / 1.131 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001425/1.18, allocations: 0.5714 MB / 1.131 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001416/1.182, allocations: 0.9693 MB / 1.132 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/1.182, allocations: 168.2 kB / 1.132 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/1.182, allocations: 8 kB / 1.132 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/1.183, allocations: 27.97 kB / 1.132 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/1.183, allocations: 86.81 kB / 1.133 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/1.183, allocations: 25.36 kB / 1.133 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0009071/1.184, allocations: 466.9 kB / 1.133 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001776/1.186, allocations: 163.8 kB / 1.133 GB, free: 13.99 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.001526/1.187, allocations: 0.5372 MB / 1.134 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001398/1.189, allocations: 0.5028 MB / 1.134 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.189, allocations: 0 / 1.134 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006515/1.189, allocations: 270.3 kB / 1.134 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009125/1.19, allocations: 94.47 kB / 1.135 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/1.193, allocations: 0.9499 MB / 1.135 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.194, allocations: 1.021 MB / 1.136 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/1.194, allocations: 0 / 1.136 GB, free: 10.81 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1)