Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.46/4.46, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5734/5.033, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/5.279, allocations: 98.73 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2567/5.536, allocations: 127.7 MB / 0.753 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/5.536, allocations: 91.58 kB / 0.7531 GB, free: 9.832 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.03705/5.573, allocations: 7.515 MB / 0.7604 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/5.573, allocations: 8 kB / 0.7604 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/5.573, allocations: 51.44 kB / 0.7605 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007297/5.574, allocations: 338.3 kB / 0.7608 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/5.574, allocations: 20 kB / 0.7608 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/5.574, allocations: 35.98 kB / 0.7609 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/5.576, allocations: 381.9 kB / 0.7612 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/5.577, allocations: 436.2 kB / 0.7616 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/5.577, allocations: 0 / 0.7616 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/5.577, allocations: 0 / 0.7616 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.96e-05/5.577, allocations: 24.94 kB / 0.7617 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/5.581, allocations: 1.277 MB / 0.7629 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009782/5.582, allocations: 332.8 kB / 0.7632 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/5.583, allocations: 166.2 kB / 0.7634 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.25e-05/5.583, allocations: 4.438 kB / 0.7634 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006058/5.583, allocations: 220.5 kB / 0.7636 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 6.933e-06/5.583, allocations: 3.984 kB / 0.7636 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.001093/5.584, allocations: 314.9 kB / 0.7639 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/5.585, allocations: 63.78 kB / 0.764 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/5.585, allocations: 222.6 kB / 0.7642 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/5.585, allocations: 45.62 kB / 0.7642 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/5.585, allocations: 177.2 kB / 0.7644 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/5.586, allocations: 114.4 kB / 0.7645 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/5.586, allocations: 4 kB / 0.7645 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001905/5.586, allocations: 352.5 kB / 0.7648 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/5.586, allocations: 149.3 kB / 0.765 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/5.587, allocations: 240.7 kB / 0.7652 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/5.587, allocations: 143.2 kB / 0.7653 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/5.587, allocations: 0 / 0.7653 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001373/5.589, allocations: 447.5 kB / 0.7658 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/5.589, allocations: 7.984 kB / 0.7658 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/5.589, allocations: 4 kB / 0.7658 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/5.589, allocations: 7.906 kB / 0.7658 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/5.59, allocations: 72.06 kB / 0.7659 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-05/5.59, allocations: 15.92 kB / 0.7659 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/5.592, allocations: 83.72 kB / 0.766 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/5.592, allocations: 20 kB / 0.766 GB, free: 12.32 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.0003616/5.593, allocations: 156.8 kB / 0.7661 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/5.593, allocations: 31.61 kB / 0.7662 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/5.594, allocations: 380.1 kB / 0.7665 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/5.594, allocations: 8 kB / 0.7665 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/5.594, allocations: 0 / 0.7665 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/5.594, allocations: 3.984 kB / 0.7665 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/5.597, allocations: 0.951 MB / 0.7675 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/5.597, allocations: 0 / 0.7675 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/5.598, allocations: 51.84 kB / 0.7675 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/5.598, allocations: 8 kB / 0.7675 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/5.598, allocations: 3.984 kB / 0.7675 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/5.598, allocations: 4 kB / 0.7675 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/5.598, allocations: 3.906 kB / 0.7675 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001137/5.599, allocations: 452.6 kB / 0.768 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001327/5.6, allocations: 0.8212 MB / 0.7688 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/5.6, allocations: 108.7 kB / 0.7689 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/5.601, allocations: 8 kB / 0.7689 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/5.601, allocations: 51.86 kB / 0.7689 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/5.602, allocations: 72.39 kB / 0.769 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.925e-05/5.602, allocations: 23.98 kB / 0.769 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002022/5.602, allocations: 136.2 kB / 0.7691 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001512/5.603, allocations: 79.92 kB / 0.7692 GB, free: 8.895 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.0003422/5.604, allocations: 140.3 kB / 0.7693 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001302/5.605, allocations: 438.6 kB / 0.7698 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/5.605, allocations: 448 / 0.7698 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005827/5.606, allocations: 221.7 kB / 0.77 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/5.606, allocations: 31.98 kB / 0.77 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/5.608, allocations: 0.4921 MB / 0.7705 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008824/5.609, allocations: 0.8666 MB / 0.7713 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of SimCode: time 1.503e-06/5.609, allocations: 0 / 0.7713 GB, free: 6.652 MB / 0.6511 GB