Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_5_0_1_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"dynamic"}) [: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.115/4.115, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2391/4.354, allocations: 95.02 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5558/4.91, allocations: 92.68 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.56/10.47, allocations: 2.166 GB / 2.75 GB, free: 50.23 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000432/10.47, allocations: 94.86 kB / 2.751 GB, free: 50.17 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.6269/11.1, allocations: 60.28 MB / 2.809 GB, free: 250.1 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/11.1, allocations: 12.03 kB / 2.809 GB, free: 250.1 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004378/11.1, allocations: 359.3 kB / 2.81 GB, free: 250.1 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/11.1, allocations: 0.6656 MB / 2.81 GB, free: 249.8 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.622e-05/11.1, allocations: 41.94 kB / 2.81 GB, free: 249.8 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/11.1, allocations: 71.12 kB / 2.811 GB, free: 249.8 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004367/11.11, allocations: 1.384 MB / 2.812 GB, free: 249.8 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/11.11, allocations: 1.048 MB / 2.813 GB, free: 249.7 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.653e-05/11.11, allocations: 7.578 kB / 2.813 GB, free: 249.7 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/11.11, allocations: 3.344 kB / 2.813 GB, free: 249.7 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/11.11, allocations: 43.48 kB / 2.813 GB, free: 249.7 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/11.12, allocations: 3.275 MB / 2.816 GB, free: 248.9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/11.13, allocations: 0.9674 MB / 2.817 GB, free: 248.9 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/11.13, allocations: 420.8 kB / 2.818 GB, free: 248.9 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/11.13, allocations: 480.3 kB / 2.818 GB, free: 248.4 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/11.13, allocations: 0.5716 MB / 2.819 GB, free: 248.3 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=118): time 5.39e-06/11.13, allocations: 3.219 kB / 2.819 GB, free: 248.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=118): time 0.004885/11.13, allocations: 0.9927 MB / 2.82 GB, free: 248.2 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/11.14, allocations: 179.4 kB / 2.82 GB, free: 248 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/11.14, allocations: 0.5118 MB / 2.82 GB, free: 247.9 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002905/11.14, allocations: 45.3 kB / 2.82 GB, free: 247.9 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/11.14, allocations: 351.6 kB / 2.821 GB, free: 247.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004271/11.14, allocations: 321.2 kB / 2.821 GB, free: 247.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/11.14, allocations: 0 / 2.821 GB, free: 247.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001674/11.14, allocations: 398.3 kB / 2.821 GB, free: 247.1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/11.14, allocations: 358.2 kB / 2.822 GB, free: 247.1 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/11.14, allocations: 0.4954 MB / 2.822 GB, free: 247 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/11.14, allocations: 471.6 kB / 2.823 GB, free: 247 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/11.14, allocations: 3.562 kB / 2.823 GB, free: 247 MB / 0.7605 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005246/11.15, allocations: 1.163 MB / 2.824 GB, free: 246.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/11.15, allocations: 5.594 kB / 2.824 GB, free: 246.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/11.15, allocations: 3.125 kB / 2.824 GB, free: 246.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/11.15, allocations: 87.83 kB / 2.824 GB, free: 246.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/11.15, allocations: 204.8 kB / 2.824 GB, free: 246.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/11.15, allocations: 1.46 MB / 2.825 GB, free: 245.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/11.16, allocations: 123 kB / 2.825 GB, free: 245.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/11.16, allocations: 46.77 kB / 2.826 GB, free: 245.6 MB / 0.7605 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,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 (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 2 * 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.0004259/11.16, allocations: 161.1 kB / 2.826 GB, free: 245.5 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/11.16, allocations: 84.66 kB / 2.826 GB, free: 245.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006525/11.16, allocations: 1.335 MB / 2.827 GB, free: 245.4 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/11.16, allocations: 15.34 kB / 2.827 GB, free: 245.4 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/11.16, allocations: 0 / 2.827 GB, free: 245.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/11.16, allocations: 9.047 kB / 2.827 GB, free: 245.4 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008477/11.17, allocations: 2.412 MB / 2.829 GB, free: 245 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/11.17, allocations: 0 / 2.829 GB, free: 245 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/11.17, allocations: 186.7 kB / 2.83 GB, free: 245 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/11.18, allocations: 90.94 kB / 2.83 GB, free: 245 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/11.18, allocations: 15.03 kB / 2.83 GB, free: 245 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/11.18, allocations: 1.479 MB / 2.831 GB, free: 243.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/11.18, allocations: 10.52 kB / 2.831 GB, free: 243.8 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005093/11.18, allocations: 1.192 MB / 2.832 GB, free: 243.5 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005136/11.19, allocations: 1.611 MB / 2.834 GB, free: 243 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008522/11.19, allocations: 323.1 kB / 2.834 GB, free: 242.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/11.19, allocations: 5.938 kB / 2.834 GB, free: 242.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/11.19, allocations: 100.9 kB / 2.834 GB, free: 242.8 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000387/11.19, allocations: 107 kB / 2.834 GB, free: 242.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/11.19, allocations: 49.45 kB / 2.834 GB, free: 242.8 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0007454/11.19, allocations: 377.5 kB / 2.835 GB, free: 242.7 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003468/11.2, allocations: 0.5257 MB / 2.835 GB, free: 242.6 MB / 0.7605 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,$cse14,$cse15,$cse16,$cse17,$cse18,$cse19,$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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 121 * 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.003274/11.2, allocations: 1.268 MB / 2.837 GB, free: 242.4 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003625/11.2, allocations: 1.115 MB / 2.838 GB, free: 242.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/11.2, allocations: 0 / 2.838 GB, free: 242.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/11.21, allocations: 0.6297 MB / 2.838 GB, free: 242.1 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/11.21, allocations: 163.1 kB / 2.838 GB, free: 242.1 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/11.22, allocations: 1.661 MB / 2.84 GB, free: 241.7 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00269/11.22, allocations: 1.242 MB / 2.841 GB, free: 241 MB / 0.7605 GB Notification: Performance of SimCode: time 3.747e-06/11.22, allocations: 0 / 2.841 GB, free: 241 MB / 0.7605 GB