Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.813/1.813, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.000966/0.0009659, allocations: 189.3 kB / 490.8 MB, free: 1.91 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.137/1.137, allocations: 221.3 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008429/0.000843, allocations: 87.23 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4282/0.4291, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.6115, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5106/1.122, allocations: 153.3 MB / 1.361 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/1.122, allocations: 92.75 kB / 1.361 GB, free: 17.14 MB / 0.823 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.01722/1.14, allocations: 7.708 MB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/1.14, allocations: 8.344 kB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.748e-05/1.14, allocations: 48.75 kB / 1.369 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/1.14, allocations: 331.7 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/1.14, allocations: 21.14 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/1.14, allocations: 35.81 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006282/1.141, allocations: 381.6 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/1.142, allocations: 445.4 kB / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.142, allocations: 4 kB / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/1.142, allocations: 2.547 kB / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/1.142, allocations: 21.17 kB / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/1.143, allocations: 1.299 MB / 1.371 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/1.144, allocations: 330.7 kB / 1.372 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/1.144, allocations: 171.2 kB / 1.372 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/1.144, allocations: 5.906 kB / 1.372 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003053/1.145, allocations: 219.8 kB / 1.372 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=52): time 1.844e-06/1.145, allocations: 0 / 1.372 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.0005545/1.145, allocations: 319.1 kB / 1.372 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/1.145, allocations: 61.59 kB / 1.373 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/1.145, allocations: 222.8 kB / 1.373 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.369e-05/1.145, allocations: 41.23 kB / 1.373 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/1.145, allocations: 186.4 kB / 1.373 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.138e-05/1.146, allocations: 113.4 kB / 1.373 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/1.146, allocations: 0 / 1.373 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.146, allocations: 345 kB / 1.373 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/1.146, allocations: 153.7 kB / 1.374 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/1.146, allocations: 234.4 kB / 1.374 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/1.147, allocations: 148 kB / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.147, allocations: 1 kB / 1.374 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006605/1.147, allocations: 452.3 kB / 1.374 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.147, allocations: 4.656 kB / 1.374 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.147, allocations: 2.562 kB / 1.374 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.147, allocations: 5.125 kB / 1.374 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/1.148, allocations: 74.59 kB / 1.374 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.148, allocations: 13.8 kB / 1.374 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/1.148, allocations: 87.11 kB / 1.375 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/1.148, allocations: 28.53 kB / 1.375 GB, free: 30.35 MB / 0.8386 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.0001259/1.148, allocations: 150.8 kB / 1.375 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/1.148, allocations: 34.08 kB / 1.375 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006736/1.149, allocations: 386 kB / 1.375 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/1.149, allocations: 10.44 kB / 1.375 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.149, allocations: 0 / 1.375 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/1.149, allocations: 7.281 kB / 1.375 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/1.15, allocations: 0.9482 MB / 1.376 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.15, allocations: 0 / 1.376 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/1.15, allocations: 48.02 kB / 1.376 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.15, allocations: 7.031 kB / 1.376 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/1.151, allocations: 5.641 kB / 1.376 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.151, allocations: 3.078 kB / 1.376 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.151, allocations: 3.938 kB / 1.376 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006224/1.151, allocations: 453.2 kB / 1.377 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007035/1.152, allocations: 0.8258 MB / 1.377 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/1.152, allocations: 107.1 kB / 1.377 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/1.152, allocations: 3.562 kB / 1.377 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/1.152, allocations: 54.27 kB / 1.377 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/1.152, allocations: 66.88 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/1.153, allocations: 19.05 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001053/1.153, allocations: 140.8 kB / 1.378 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009068/1.154, allocations: 87.61 kB / 1.378 GB, free: 28.93 MB / 0.8386 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.0001605/1.154, allocations: 144.8 kB / 1.378 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006032/1.154, allocations: 437.8 kB / 1.378 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.154, allocations: 0 / 1.378 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/1.155, allocations: 206.8 kB / 1.379 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/1.155, allocations: 44.41 kB / 1.379 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009754/1.156, allocations: 0.5045 MB / 1.379 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/1.156, allocations: 0.8728 MB / 1.38 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.156, allocations: 0.9062 kB / 1.38 GB, free: 27.87 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)