Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.451/2.451, allocations: 248.6 MB / 255.9 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002018/0.002018, allocations: 186.5 kB / 315.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.1 MB / 0.5658 GB, free: 268 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 91.08 kB / 0.67 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4951/0.4964, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.7046, allocations: 106.3 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7426/1.447, allocations: 135.9 MB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/1.448, allocations: 92.25 kB / 1.016 GB, free: 4.344 MB / 0.6355 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.03225/1.48, allocations: 7.629 MB / 1.024 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.48, allocations: 11.94 kB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/1.48, allocations: 55.42 kB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/1.481, allocations: 334 kB / 1.024 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/1.481, allocations: 16 kB / 1.024 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.481, allocations: 39.86 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001215/1.482, allocations: 372.2 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/1.484, allocations: 451.4 kB / 1.025 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/1.484, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/1.484, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.215e-05/1.484, allocations: 20.98 kB / 1.025 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/1.487, allocations: 1.296 MB / 1.026 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/1.488, allocations: 344.3 kB / 1.027 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/1.489, allocations: 168.8 kB / 1.027 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-05/1.489, allocations: 8.438 kB / 1.027 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005723/1.489, allocations: 222.5 kB / 1.027 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 3.737e-06/1.489, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.001056/1.49, allocations: 318.9 kB / 1.027 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/1.491, allocations: 59.84 kB / 1.027 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/1.491, allocations: 218.4 kB / 1.027 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/1.491, allocations: 43.56 kB / 1.028 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/1.491, allocations: 177.3 kB / 1.028 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/1.491, allocations: 127.1 kB / 1.028 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/1.491, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002434/1.492, allocations: 340.4 kB / 1.028 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/1.492, allocations: 156.3 kB / 1.028 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/1.493, allocations: 231.9 kB / 1.029 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/1.493, allocations: 149.4 kB / 1.029 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.493, allocations: 0 / 1.029 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001327/1.495, allocations: 449.3 kB / 1.029 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/1.495, allocations: 10.94 kB / 1.029 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.495, allocations: 4 kB / 1.029 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/1.495, allocations: 8 kB / 1.029 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/1.496, allocations: 74.77 kB / 1.029 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/1.496, allocations: 11.88 kB / 1.029 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000752/1.496, allocations: 83.77 kB / 1.029 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/1.496, allocations: 19.62 kB / 1.029 GB, free: 9.344 MB / 0.6511 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.0002678/1.497, allocations: 161 kB / 1.029 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.497, allocations: 35.61 kB / 1.029 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/1.498, allocations: 385.2 kB / 1.03 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.498, allocations: 4 kB / 1.03 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.498, allocations: 0 / 1.03 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.498, allocations: 7.984 kB / 1.03 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/1.501, allocations: 0.951 MB / 1.031 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.501, allocations: 0 / 1.031 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/1.501, allocations: 51.78 kB / 1.031 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/1.501, allocations: 4 kB / 1.031 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/1.501, allocations: 7.984 kB / 1.031 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/1.502, allocations: 7.906 kB / 1.031 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.502, allocations: 0 / 1.031 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001125/1.503, allocations: 456.1 kB / 1.031 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001207/1.504, allocations: 0.8163 MB / 1.032 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/1.504, allocations: 108.7 kB / 1.032 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.346e-05/1.504, allocations: 11.34 kB / 1.032 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006023/1.505, allocations: 51.95 kB / 1.032 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/1.505, allocations: 73.77 kB / 1.032 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/1.505, allocations: 19.3 kB / 1.032 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001955/1.505, allocations: 135.2 kB / 1.032 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001572/1.507, allocations: 79.89 kB / 1.033 GB, free: 6.449 MB / 0.6511 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.0004312/1.507, allocations: 139 kB / 1.033 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001251/1.509, allocations: 440.2 kB / 1.033 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.509, allocations: 0 / 1.033 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005379/1.509, allocations: 220.3 kB / 1.033 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/1.51, allocations: 39.02 kB / 1.033 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/1.513, allocations: 0.5015 MB / 1.034 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.514, allocations: 0.8688 MB / 1.035 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/1.514, allocations: 0 / 1.035 GB, free: 4.48 MB / 0.6511 GB