Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.834/1.834, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 185.2 kB / 487 MB, free: 5.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 221.3 MB / 0.7819 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000858/0.0008581, allocations: 103.6 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4338/0.4347, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.6339, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5349/1.169, allocations: 152.5 MB / 1.354 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/1.169, allocations: 95.91 kB / 1.354 GB, free: 15.48 MB / 0.8073 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.01898/1.188, allocations: 7.71 MB / 1.362 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/1.188, allocations: 12 kB / 1.362 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.29e-05/1.188, allocations: 48.23 kB / 1.362 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/1.189, allocations: 332.9 kB / 1.362 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/1.189, allocations: 24.69 kB / 1.362 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/1.189, allocations: 40.55 kB / 1.362 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005879/1.189, allocations: 380.7 kB / 1.363 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/1.19, allocations: 442.3 kB / 1.363 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.19, allocations: 0 / 1.363 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/1.19, allocations: 4 kB / 1.363 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/1.19, allocations: 17 kB / 1.363 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/1.192, allocations: 1.303 MB / 1.364 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/1.192, allocations: 331 kB / 1.365 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/1.192, allocations: 171.4 kB / 1.365 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/1.192, allocations: 8.125 kB / 1.365 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/1.193, allocations: 217.5 kB / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=52): time 1.733e-06/1.193, allocations: 0 / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=52): time 0.0004618/1.193, allocations: 311 kB / 1.365 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/1.193, allocations: 66.95 kB / 1.365 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/1.193, allocations: 214.7 kB / 1.366 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/1.193, allocations: 48.44 kB / 1.366 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/1.193, allocations: 182 kB / 1.366 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/1.193, allocations: 115.2 kB / 1.366 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/1.193, allocations: 3.938 kB / 1.366 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/1.193, allocations: 348 kB / 1.366 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/1.194, allocations: 148.6 kB / 1.366 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/1.194, allocations: 240.2 kB / 1.367 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/1.194, allocations: 140.8 kB / 1.367 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.194, allocations: 0 / 1.367 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00057/1.195, allocations: 455.2 kB / 1.367 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/1.195, allocations: 4 kB / 1.367 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.195, allocations: 4 kB / 1.367 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.195, allocations: 4 kB / 1.367 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/1.195, allocations: 79.02 kB / 1.367 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.195, allocations: 4.219 kB / 1.367 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/1.195, allocations: 83.69 kB / 1.367 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/1.196, allocations: 27.05 kB / 1.367 GB, free: 9.484 MB / 0.8073 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.0001021/1.196, allocations: 164.1 kB / 1.368 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/1.196, allocations: 31.56 kB / 1.368 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005834/1.196, allocations: 384.9 kB / 1.368 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.196, allocations: 12 kB / 1.368 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.196, allocations: 0 / 1.368 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.196, allocations: 3.984 kB / 1.368 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/1.197, allocations: 0.9507 MB / 1.369 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.198, allocations: 0 / 1.369 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/1.198, allocations: 50.72 kB / 1.369 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/1.198, allocations: 4 kB / 1.369 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/1.198, allocations: 11.55 kB / 1.369 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.198, allocations: 4 kB / 1.369 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.198, allocations: 0 / 1.369 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005008/1.198, allocations: 453.7 kB / 1.369 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005237/1.199, allocations: 0.8156 MB / 1.37 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/1.199, allocations: 116.7 kB / 1.37 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/1.199, allocations: 7.875 kB / 1.37 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/1.199, allocations: 47.95 kB / 1.37 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.199, allocations: 69.39 kB / 1.37 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/1.199, allocations: 21.86 kB / 1.37 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.348e-05/1.199, allocations: 135.1 kB / 1.371 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009282/1.2, allocations: 94.7 kB / 1.371 GB, free: 6.598 MB / 0.8073 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.0001626/1.201, allocations: 133 kB / 1.371 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000531/1.201, allocations: 437.8 kB / 1.371 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.201, allocations: 0 / 1.371 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/1.201, allocations: 212.3 kB / 1.371 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/1.202, allocations: 42.62 kB / 1.371 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/1.203, allocations: 0.5065 MB / 1.372 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/1.203, allocations: 0.8733 MB / 1.373 GB, free: 20.64 MB / 0.823 GB Notification: Performance of SimCode: time 8.41e-07/1.203, allocations: 0 / 1.373 GB, free: 20.64 MB / 0.823 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)