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.ConstantSpeedPumpStage.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.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") [: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.329/1.329, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009746/0.0009746, allocations: 177.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.026/1.026, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007794/0.0007794, allocations: 88.09 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.662e-06/6.763e-06, allocations: 4 kB / 0.8511 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4318, allocations: 115.3 MB / 0.9637 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.5777, allocations: 145.9 MB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.578, allocations: 92.83 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04005/0.6181, allocations: 15.73 MB / 1.122 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.405e-05/0.6181, allocations: 19.94 kB / 1.122 GB, free: 10.37 MB / 0.7292 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.001303/0.6194, allocations: 0.9093 MB / 1.122 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.6195, allocations: 8.531 kB / 1.123 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.6197, allocations: 82.97 kB / 1.123 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/0.6206, allocations: 0.5622 MB / 1.123 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/0.6206, allocations: 24 kB / 1.123 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.6207, allocations: 39.98 kB / 1.123 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007191/0.6214, allocations: 409.9 kB / 1.124 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000775/0.6222, allocations: 0.4917 MB / 1.124 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6222, allocations: 0 / 1.124 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.6223, allocations: 10.25 kB / 1.124 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.6223, allocations: 19.84 kB / 1.124 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.6245, allocations: 1.5 MB / 1.126 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007956/0.6253, allocations: 464.2 kB / 1.126 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.6256, allocations: 207.2 kB / 1.126 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.6256, allocations: 4.5 kB / 1.126 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003896/0.626, allocations: 282.8 kB / 1.126 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=65): time 2.164e-06/0.626, allocations: 0 / 1.126 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65): time 0.0007274/0.6268, allocations: 431.3 kB / 1.127 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.6268, allocations: 178.8 kB / 1.127 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007025/0.6276, allocations: 0.6266 MB / 1.128 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.6276, allocations: 37.7 kB / 1.128 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.6278, allocations: 209.2 kB / 1.128 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.6279, allocations: 158 kB / 1.128 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.6279, allocations: 0 / 1.128 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6281, allocations: 386.7 kB / 1.128 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.6284, allocations: 169.5 kB / 1.129 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.6288, allocations: 346.4 kB / 1.129 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.6291, allocations: 179.1 kB / 1.129 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6291, allocations: 0 / 1.129 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008124/0.6299, allocations: 0.5186 MB / 1.13 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.63, allocations: 7.984 kB / 1.13 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.63, allocations: 0 / 1.13 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.63, allocations: 10.53 kB / 1.13 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.6303, allocations: 91.77 kB / 1.13 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6304, allocations: 5.719 kB / 1.13 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.6306, allocations: 39.67 kB / 1.13 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.6307, allocations: 31.98 kB / 1.13 GB, free: 1.691 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.0001526/0.6309, allocations: 154.4 kB / 1.13 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/0.631, allocations: 71.14 kB / 1.13 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009301/0.6319, allocations: 0.5228 MB / 1.13 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6319, allocations: 8 kB / 1.13 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6319, allocations: 0 / 1.13 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.6319, allocations: 3.984 kB / 1.131 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.6339, allocations: 1.319 MB / 1.132 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6339, allocations: 0 / 1.132 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.6342, allocations: 63.84 kB / 1.132 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6342, allocations: 3.062 kB / 1.132 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.6342, allocations: 7.984 kB / 1.132 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6342, allocations: 4 kB / 1.132 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6342, allocations: 4 kB / 1.132 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007881/0.635, allocations: 0.5706 MB / 1.132 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.6352, allocations: 172.2 kB / 1.133 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.6353, allocations: 8 kB / 1.133 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.6356, allocations: 31.91 kB / 1.133 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.6357, allocations: 80.53 kB / 1.133 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.6358, allocations: 23.98 kB / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.000484/0.6363, allocations: 462.9 kB / 1.133 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000509/0.6368, allocations: 151.8 kB / 1.133 GB, free: 13.96 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.0009416/0.6378, allocations: 0.5461 MB / 1.134 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007321/0.6385, allocations: 0.5028 MB / 1.134 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6385, allocations: 1.594 kB / 1.134 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.6389, allocations: 266.4 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.6394, allocations: 96.84 kB / 1.135 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.641, allocations: 0.9498 MB / 1.136 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007045/0.6417, allocations: 1.022 MB / 1.137 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/0.6417, allocations: 0 / 1.137 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.01426/0.656, allocations: 8.771 MB / 1.145 GB, free: 2.129 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1)