Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") [: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.378/1.378, allocations: 289.8 MB / 297.1 MB, free: 9.035 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.0009412/0.0009412, allocations: 188.6 kB / 366.3 MB, free: 11.32 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.056/1.056, allocations: 205.1 MB / 0.6256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008275/0.0008275, allocations: 81.22 kB / 0.7396 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.803e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1462, allocations: 116.3 MB / 0.9726 GB, free: 31.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.5763, allocations: 147.8 MB / 1.117 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.5766, allocations: 94.12 kB / 1.117 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.03209/0.6087, allocations: 13.45 MB / 1.13 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.705e-05/0.6087, allocations: 20.25 kB / 1.13 GB, free: 13.51 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001067/0.6098, allocations: 0.851 MB / 1.131 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.6098, allocations: 9 kB / 1.131 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.61, allocations: 70.31 kB / 1.131 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006319/0.6106, allocations: 466.8 kB / 1.131 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.6107, allocations: 25.33 kB / 1.132 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.6107, allocations: 33.19 kB / 1.132 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006812/0.6114, allocations: 397.3 kB / 1.132 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.6122, allocations: 485.3 kB / 1.132 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.6122, allocations: 3.938 kB / 1.132 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.6122, allocations: 8.156 kB / 1.132 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.6122, allocations: 11.78 kB / 1.132 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.6142, allocations: 1.444 MB / 1.134 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.6148, allocations: 422.1 kB / 1.134 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.615, allocations: 196.3 kB / 1.134 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.6151, allocations: 6.812 kB / 1.134 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/0.6154, allocations: 264 kB / 1.135 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 2.134e-06/0.6154, allocations: 0 / 1.135 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.0006395/0.6161, allocations: 398 kB / 1.135 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.6161, allocations: 123.7 kB / 1.135 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.6166, allocations: 434.1 kB / 1.136 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.6167, allocations: 45.06 kB / 1.136 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.6168, allocations: 193.1 kB / 1.136 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.621e-05/0.6169, allocations: 151.9 kB / 1.136 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.6169, allocations: 0 / 1.136 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.617, allocations: 372.7 kB / 1.136 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.6172, allocations: 163.5 kB / 1.136 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.6176, allocations: 288.2 kB / 1.137 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.6179, allocations: 162.4 kB / 1.137 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6179, allocations: 1.219 kB / 1.137 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007218/0.6186, allocations: 0.4893 MB / 1.137 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.6186, allocations: 5.094 kB / 1.137 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6186, allocations: 2.281 kB / 1.137 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.6186, allocations: 9.875 kB / 1.137 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.619, allocations: 86.92 kB / 1.137 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.619, allocations: 16.84 kB / 1.137 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.6194, allocations: 72.61 kB / 1.138 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.6195, allocations: 28.27 kB / 1.138 GB, free: 10.05 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0001422/0.6196, allocations: 154.6 kB / 1.138 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.6197, allocations: 48.25 kB / 1.138 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008038/0.6205, allocations: 487.9 kB / 1.138 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.6205, allocations: 7.594 kB / 1.138 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6205, allocations: 3.984 kB / 1.138 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.6205, allocations: 4 kB / 1.138 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.6221, allocations: 1.19 MB / 1.139 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6221, allocations: 0 / 1.139 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.6224, allocations: 62.47 kB / 1.139 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.6224, allocations: 6.406 kB / 1.139 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.6224, allocations: 11.08 kB / 1.139 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6224, allocations: 3.375 kB / 1.139 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6224, allocations: 4 kB / 1.139 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006878/0.6231, allocations: 0.5273 MB / 1.14 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-05/0.6232, allocations: 143 kB / 1.14 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/0.6233, allocations: 9.422 kB / 1.14 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.6237, allocations: 61.09 kB / 1.14 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.6239, allocations: 92.83 kB / 1.14 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.6239, allocations: 17.72 kB / 1.14 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002786/0.6242, allocations: 311.2 kB / 1.141 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004937/0.6247, allocations: 131.5 kB / 1.141 GB, free: 8.668 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * 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.0009238/0.6256, allocations: 0.5264 MB / 1.141 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006834/0.6263, allocations: 499.9 kB / 1.142 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6263, allocations: 0 / 1.142 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.6267, allocations: 255.9 kB / 1.142 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.6271, allocations: 80.55 kB / 1.142 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.6285, allocations: 0.761 MB / 1.143 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007025/0.6292, allocations: 0.9569 MB / 1.144 GB, free: 23.17 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.6292, allocations: 4.688 kB / 1.144 GB, free: 23.17 MB / 0.698 GB Notification: Performance of Templates: time 0.01164/0.6408, allocations: 7.851 MB / 1.151 GB, free: 17.42 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)