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.ChillerStage.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.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.319/1.319, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.000965/0.000965, allocations: 191.4 kB / 361.1 MB, free: 7.066 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.019/1.019, allocations: 205.1 MB / 0.6195 GB, free: 11.93 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.0007353/0.0007353, allocations: 85.31 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.581e-06/5.621e-06, allocations: 0 / 0.8511 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4253, allocations: 115.3 MB / 0.9637 GB, free: 77.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.568, allocations: 146.8 MB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.5683, allocations: 100.5 kB / 1.107 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0347/0.603, allocations: 13.44 MB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.057e-05/0.6031, allocations: 12.19 kB / 1.12 GB, free: 11.75 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001375/0.6045, allocations: 0.8593 MB / 1.121 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.6045, allocations: 8.531 kB / 1.121 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.6047, allocations: 71.16 kB / 1.121 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007547/0.6055, allocations: 468.3 kB / 1.122 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.6055, allocations: 28 kB / 1.122 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.6056, allocations: 35.98 kB / 1.122 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007347/0.6063, allocations: 389.9 kB / 1.122 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.6072, allocations: 489.7 kB / 1.123 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6072, allocations: 3.984 kB / 1.123 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.6072, allocations: 3.75 kB / 1.123 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.6073, allocations: 12 kB / 1.123 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.6095, allocations: 1.454 MB / 1.124 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/0.6101, allocations: 411.9 kB / 1.124 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.6104, allocations: 205.2 kB / 1.125 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.6105, allocations: 4.5 kB / 1.125 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/0.6109, allocations: 263.9 kB / 1.125 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 2.053e-06/0.6109, allocations: 0 / 1.125 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.0006878/0.6116, allocations: 399.3 kB / 1.125 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.6117, allocations: 119.4 kB / 1.125 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.6121, allocations: 436.5 kB / 1.126 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/0.6122, allocations: 41.7 kB / 1.126 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.6123, allocations: 197.1 kB / 1.126 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.6125, allocations: 157.9 kB / 1.126 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.6125, allocations: 0 / 1.126 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6127, allocations: 362.8 kB / 1.126 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.6129, allocations: 165.5 kB / 1.127 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.6134, allocations: 286.4 kB / 1.127 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.6136, allocations: 167.1 kB / 1.127 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6136, allocations: 4 kB / 1.127 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007975/0.6144, allocations: 495.2 kB / 1.128 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6145, allocations: 8 kB / 1.128 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6145, allocations: 0 / 1.128 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.6145, allocations: 4 kB / 1.128 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.6149, allocations: 99.92 kB / 1.128 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.6149, allocations: 4 kB / 1.128 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.6153, allocations: 73.59 kB / 1.128 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.6154, allocations: 23.91 kB / 1.128 GB, free: 3.836 MB / 0.7292 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.0001493/0.6155, allocations: 160.9 kB / 1.128 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.6156, allocations: 51.34 kB / 1.128 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008631/0.6165, allocations: 492.4 kB / 1.128 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6165, allocations: 8 kB / 1.128 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6165, allocations: 0 / 1.128 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.6165, allocations: 3.984 kB / 1.128 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.6184, allocations: 1.182 MB / 1.13 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.6184, allocations: 3.984 kB / 1.13 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.6187, allocations: 65.34 kB / 1.13 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.6187, allocations: 8 kB / 1.13 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.6187, allocations: 3.984 kB / 1.13 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.6187, allocations: 5.688 kB / 1.13 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6187, allocations: 0 / 1.13 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007551/0.6195, allocations: 0.5355 MB / 1.13 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.6196, allocations: 140.5 kB / 1.13 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/0.6197, allocations: 7.891 kB / 1.13 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.6201, allocations: 59.95 kB / 1.13 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.6203, allocations: 88.52 kB / 1.13 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.6204, allocations: 19.98 kB / 1.13 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003632/0.6207, allocations: 311.2 kB / 1.131 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005121/0.6212, allocations: 135.8 kB / 1.131 GB, free: 0.5 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: 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.0009708/0.6222, allocations: 0.5392 MB / 1.131 GB, free: 156 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007763/0.623, allocations: 496.6 kB / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.623, allocations: 0 / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.6234, allocations: 258.4 kB / 1.132 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.6239, allocations: 79.48 kB / 1.132 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.6254, allocations: 0.7493 MB / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006943/0.6261, allocations: 0.9633 MB / 1.134 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/0.6261, allocations: 0 / 1.134 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of Templates: time 0.01419/0.6403, allocations: 7.836 MB / 1.142 GB, free: 5.855 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)