Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.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.CoolingMode,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",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.133/2.133, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.002606/0.002605, allocations: 181.2 kB / 360.3 MB, free: 7.539 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.714/1.714, allocations: 205.1 MB / 0.6187 GB, free: 13.3 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.001133/0.001133, allocations: 87.61 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2463/0.2474, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.8147, allocations: 115.2 MB / 0.9628 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/1.025, allocations: 141.2 MB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/1.025, allocations: 92.39 kB / 1.101 GB, free: 15.59 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.03105/1.056, allocations: 7.627 MB / 1.108 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.057, allocations: 12.48 kB / 1.108 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/1.057, allocations: 52.19 kB / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/1.057, allocations: 334.4 kB / 1.109 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/1.058, allocations: 19.94 kB / 1.109 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/1.058, allocations: 35.91 kB / 1.109 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001223/1.059, allocations: 377.9 kB / 1.109 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/1.06, allocations: 448.2 kB / 1.109 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/1.06, allocations: 0 / 1.109 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/1.06, allocations: 0.5625 kB / 1.109 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/1.06, allocations: 20.98 kB / 1.109 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/1.064, allocations: 1.297 MB / 1.111 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000901/1.065, allocations: 329 kB / 1.111 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/1.065, allocations: 175.1 kB / 1.111 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.56e-05/1.065, allocations: 8.438 kB / 1.111 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005907/1.066, allocations: 224.4 kB / 1.111 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 3.497e-06/1.066, allocations: 4 kB / 1.111 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.001009/1.067, allocations: 307 kB / 1.112 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/1.067, allocations: 63.84 kB / 1.112 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/1.067, allocations: 215.9 kB / 1.112 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/1.067, allocations: 45.64 kB / 1.112 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/1.068, allocations: 181 kB / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/1.068, allocations: 118.5 kB / 1.112 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/1.068, allocations: 0 / 1.112 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.068, allocations: 346.8 kB / 1.113 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/1.069, allocations: 153.3 kB / 1.113 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/1.069, allocations: 236.4 kB / 1.113 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/1.07, allocations: 147.2 kB / 1.113 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.07, allocations: 3.984 kB / 1.113 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001318/1.071, allocations: 451.4 kB / 1.114 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.071, allocations: 4 kB / 1.114 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.071, allocations: 0 / 1.114 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/1.071, allocations: 12.22 kB / 1.114 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/1.072, allocations: 75.83 kB / 1.114 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.072, allocations: 4 kB / 1.114 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007548/1.072, allocations: 89.81 kB / 1.114 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.261e-05/1.073, allocations: 23.94 kB / 1.114 GB, free: 2.078 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0002479/1.073, allocations: 160.5 kB / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/1.073, allocations: 31.62 kB / 1.114 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/1.074, allocations: 382.9 kB / 1.114 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/1.074, allocations: 4 kB / 1.114 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.074, allocations: 4 kB / 1.114 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/1.074, allocations: 3.984 kB / 1.114 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/1.077, allocations: 0.9525 MB / 1.115 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.077, allocations: 0 / 1.115 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/1.077, allocations: 55.84 kB / 1.115 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/1.077, allocations: 7.984 kB / 1.115 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/1.077, allocations: 4 kB / 1.115 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.077, allocations: 4 kB / 1.115 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.077, allocations: 0 / 1.115 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001082/1.078, allocations: 460.2 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001144/1.08, allocations: 0.8211 MB / 1.117 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/1.08, allocations: 104.7 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.852e-05/1.08, allocations: 9.812 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005844/1.08, allocations: 51.95 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/1.081, allocations: 72.39 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/1.081, allocations: 23.92 kB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002346/1.081, allocations: 137.5 kB / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001444/1.082, allocations: 83.89 kB / 1.117 GB, free: 14.64 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: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002846/1.083, allocations: 140.4 kB / 1.117 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00114/1.084, allocations: 434.6 kB / 1.118 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.084, allocations: 0 / 1.118 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005309/1.084, allocations: 217.8 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/1.085, allocations: 33.19 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/1.087, allocations: 0.5061 MB / 1.118 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007519/1.087, allocations: 0.8767 MB / 1.119 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of SimCode: time 8.81e-07/1.087, allocations: 0 / 1.119 GB, free: 12.39 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)