Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.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: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_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.1-maint.8.0.x/package.mo): time 1.36/1.36, allocations: 285.5 MB / 292.8 MB, free: 9.852 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.001052/0.001052, allocations: 189.3 kB / 361.1 MB, free: 392 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.029/1.029, allocations: 205.1 MB / 0.6195 GB, free: 3.004 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007766/0.0007767, allocations: 98.06 kB / 0.7326 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.365/0.3658, allocations: 121.4 MB / 0.8512 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.522, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.928/3.45, allocations: 2.074 GB / 3.038 GB, free: 305.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/3.451, allocations: 101.5 kB / 3.038 GB, free: 305 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.1262/3.577, allocations: 66.14 MB / 3.102 GB, free: 238.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/3.577, allocations: 12 kB / 3.102 GB, free: 238.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008993/3.578, allocations: 234.1 kB / 3.102 GB, free: 238.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009802/3.579, allocations: 0.764 MB / 3.103 GB, free: 237.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/3.579, allocations: 44 kB / 3.103 GB, free: 237.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/3.579, allocations: 68 kB / 3.103 GB, free: 237.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0016/3.581, allocations: 1.301 MB / 3.105 GB, free: 236.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/3.582, allocations: 1.061 MB / 3.106 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/3.582, allocations: 0 / 3.106 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/3.582, allocations: 7.984 kB / 3.106 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/3.582, allocations: 42.25 kB / 3.106 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004096/3.586, allocations: 3.287 MB / 3.109 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/3.587, allocations: 0.9121 MB / 3.11 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/3.588, allocations: 390.4 kB / 3.11 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.048e-05/3.588, allocations: 44.95 kB / 3.11 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006098/3.589, allocations: 0.5377 MB / 3.111 GB, free: 229.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 2.395e-06/3.589, allocations: 4 kB / 3.111 GB, free: 229.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.001675/3.59, allocations: 0.8624 MB / 3.112 GB, free: 228.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/3.59, allocations: 256.3 kB / 3.112 GB, free: 228.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/3.591, allocations: 0.5969 MB / 3.112 GB, free: 227.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.352e-05/3.591, allocations: 41.69 kB / 3.112 GB, free: 227.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/3.591, allocations: 368.7 kB / 3.113 GB, free: 227.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/3.591, allocations: 323.3 kB / 3.113 GB, free: 227.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/3.591, allocations: 0 / 3.113 GB, free: 227.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.057e-05/3.591, allocations: 402.6 kB / 3.113 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/3.592, allocations: 326.6 kB / 3.114 GB, free: 226.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/3.592, allocations: 490.2 kB / 3.114 GB, free: 225.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/3.593, allocations: 378.3 kB / 3.115 GB, free: 225.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/3.593, allocations: 0 / 3.115 GB, free: 225.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001718/3.595, allocations: 0.9901 MB / 3.116 GB, free: 224.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/3.595, allocations: 4 kB / 3.116 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/3.595, allocations: 4.188 kB / 3.116 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/3.595, allocations: 84.78 kB / 3.116 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006896/3.596, allocations: 195.6 kB / 3.116 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/3.598, allocations: 1.461 MB / 3.117 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/3.598, allocations: 115.4 kB / 3.117 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.27e-05/3.598, allocations: 47.97 kB / 3.117 GB, free: 222.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$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.con3.condition,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.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (144): * Single equations (assignments): 143 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002002/3.599, allocations: 160.9 kB / 3.118 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/3.599, allocations: 94.86 kB / 3.118 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/3.601, allocations: 1.212 MB / 3.119 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/3.601, allocations: 12 kB / 3.119 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/3.601, allocations: 0 / 3.119 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/3.601, allocations: 7.969 kB / 3.119 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/3.604, allocations: 2.335 MB / 3.121 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/3.604, allocations: 4 kB / 3.121 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/3.605, allocations: 175.7 kB / 3.121 GB, free: 218.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/3.605, allocations: 92.67 kB / 3.121 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/3.605, allocations: 15.98 kB / 3.121 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/3.607, allocations: 1.484 MB / 3.123 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/3.607, allocations: 0 / 3.123 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001612/3.608, allocations: 1.092 MB / 3.124 GB, free: 215.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001706/3.61, allocations: 1.506 MB / 3.125 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/3.61, allocations: 323.5 kB / 3.126 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/3.611, allocations: 4.141 kB / 3.126 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006995/3.611, allocations: 103.8 kB / 3.126 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/3.612, allocations: 109.1 kB / 3.126 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.419e-05/3.612, allocations: 55.97 kB / 3.126 GB, free: 213.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003764/3.612, allocations: 443.1 kB / 3.126 GB, free: 213 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001629/3.614, allocations: 435.1 kB / 3.127 GB, free: 212.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse18,$cse19,$cse20,$cse21,$cse22,$cse23,$whenCondition6,$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.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/3.615, allocations: 1.043 MB / 3.128 GB, free: 211.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001281/3.616, allocations: 0.9921 MB / 3.129 GB, free: 210.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/3.616, allocations: 0 / 3.129 GB, free: 210.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007319/3.617, allocations: 0.6196 MB / 3.129 GB, free: 210 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009607/3.618, allocations: 250.6 kB / 3.13 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/3.621, allocations: 1.717 MB / 3.131 GB, free: 208 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007461/3.622, allocations: 1.285 MB / 3.133 GB, free: 206.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/3.622, allocations: 0 / 3.133 GB, free: 206.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_fmu --startTime=8.928e+06 --stopTime=9e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)