Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",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.211/4.211, allocations: 404 MB / 410.9 MB, free: 4.895 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2631/4.474, allocations: 95 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5489/5.023, allocations: 92.67 MB / 0.5846 GB, free: 3.34 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.531/11.55, allocations: 2.517 GB / 3.102 GB, free: 51.42 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/11.55, allocations: 86.33 kB / 3.102 GB, free: 51.38 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2228 * Number of variables: 2228 Notification: Performance of Generate backend data structure: time 27.8/39.35, allocations: 4.929 GB / 8.031 GB, free: 37.94 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/39.35, allocations: 7.719 kB / 8.031 GB, free: 37.94 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0509/39.4, allocations: 3.926 MB / 8.035 GB, free: 37.05 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08028/39.48, allocations: 16.08 MB / 8.051 GB, free: 34.91 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001139/39.48, allocations: 454 kB / 8.051 GB, free: 34.82 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005313/39.49, allocations: 0.547 MB / 8.052 GB, free: 34.81 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04249/39.53, allocations: 9.518 MB / 8.061 GB, free: 34.77 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04836/39.58, allocations: 9.894 MB / 8.071 GB, free: 33.68 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008014/39.58, allocations: 15.72 kB / 8.071 GB, free: 33.68 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004685/39.59, allocations: 17.47 kB / 8.071 GB, free: 33.67 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008344/39.59, allocations: 370.3 kB / 8.071 GB, free: 33.65 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1515/39.74, allocations: 50.31 MB / 8.12 GB, free: 7.59 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/39.75, allocations: 4.367 MB / 8.124 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01542/39.77, allocations: 4.155 MB / 8.129 GB, free: 15.73 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374/41.14, allocations: 16.44 MB / 8.145 GB, free: 141.1 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0151/41.16, allocations: 4.022 MB / 8.149 GB, free: 140.9 MB / 1.011 GB Notification: Performance of pre-optimization done (n=638): time 1.435e-05/41.16, allocations: 0 / 8.149 GB, free: 140.9 MB / 1.011 GB Notification: Performance of matching and sorting (n=696): time 0.1424/41.3, allocations: 23.54 MB / 8.172 GB, free: 137.9 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/41.3, allocations: 308.1 kB / 8.172 GB, free: 137.6 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02689/41.33, allocations: 7.499 MB / 8.179 GB, free: 137.1 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.002637/41.33, allocations: 48.03 kB / 8.179 GB, free: 137 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.007116/41.34, allocations: 3.249 MB / 8.182 GB, free: 135.9 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.008442/41.35, allocations: 2.252 MB / 8.185 GB, free: 134.7 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/41.35, allocations: 7.609 kB / 8.185 GB, free: 134.7 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0008625/41.35, allocations: 0.5995 MB / 8.185 GB, free: 134.4 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01198/41.36, allocations: 3.262 MB / 8.188 GB, free: 134.4 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01455/41.38, allocations: 5.326 MB / 8.194 GB, free: 132.2 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0209/41.4, allocations: 4.519 MB / 8.198 GB, free: 132.1 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-05/41.4, allocations: 13.38 kB / 8.198 GB, free: 132.1 MB / 1.011 GB Notification: Performance of matching and sorting (n=976) (initialization): time 0.07071/41.47, allocations: 12.31 MB / 8.21 GB, free: 131.3 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.005384/41.47, allocations: 24.36 MB / 8.234 GB, free: 106.1 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002638/41.47, allocations: 40.38 kB / 8.234 GB, free: 106.1 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0294/41.5, allocations: 4.41 MB / 8.238 GB, free: 106.1 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/41.52, allocations: 1.32 MB / 8.239 GB, free: 106.1 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03979/41.56, allocations: 14.54 MB / 8.254 GB, free: 101.3 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02364/41.58, allocations: 0.8062 MB / 8.254 GB, free: 101.2 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003067/41.58, allocations: 391.2 kB / 8.255 GB, free: 101.2 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/41.58, allocations: 11.12 kB / 8.255 GB, free: 101.2 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1113/41.7, allocations: 12.07 MB / 8.267 GB, free: 101 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/41.7, allocations: 40.84 kB / 8.267 GB, free: 101 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04169/41.74, allocations: 4.343 MB / 8.271 GB, free: 100.9 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01524/41.75, allocations: 1.29 MB / 8.272 GB, free: 100.9 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04659/41.8, allocations: 16.26 MB / 8.288 GB, free: 94.61 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02257/41.82, allocations: 0.737 MB / 8.289 GB, free: 94.58 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0029/41.82, allocations: 375.1 kB / 8.289 GB, free: 94.58 MB / 1.011 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[4].con2.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] wse.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 192 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTim1.tStart,weaData.conTim1.tStart,$PRE.weaData.conTim.tStart,weaData.conTim.tStart,greaterThreshold.y,mCWFlo.u,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 728 * Array equations: 4 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {20 171,4 16,1 6,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004286/41.83, allocations: 310.7 kB / 8.289 GB, free: 94.46 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004365/41.83, allocations: 1.009 MB / 8.29 GB, free: 93.93 MB / 1.011 GB Error: Too many equations, over-determined system. The model has 808 equation(s) and 806 variable(s). Warning: Equation 614 (size: 2) $cse92 = Buildings.Fluid.Interfaces.ConservationEquation$chi$vol1$dynBal.Medium.setState_phX(expVesChi.p_start, chi.vol1.ports[1].h_outflow, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse93 Already solved: Equations used to solve those variables: Warning: Equation 620 (size: 2) $cse86 = Buildings.Fluid.Interfaces.ConservationEquation$pumCHW$vol$dynBal.Medium.setState_phX(expVesCHW.p_start, pumCHW.port_a.h_outflow, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse89 Already solved: Equations used to solve those variables: Warning: Equation 626 (size: 2) $cse80 = Buildings.Fluid.Interfaces.ConservationEquation$cooCoi$ele$vol1$dynBal.Medium.setState_phX(expVesCHW.p_start, cooCoi.ele[2].vol1.hOut_internal, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse85 Already solved: Equations used to solve those variables: Warning: Equation 672 (size: 2) $cse55 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCW$preSou.Medium.setState_phX(cooTow.vol.p, pumCW.port_a.h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse62 Already solved: Equations used to solve those variables: Warning: Equation 708 (size: 2) $cse32 = Buildings.Fluid.Sensors.TemperatureTwoPort$TCHWEntChi.Medium.setState_phX(chi.vol2.p, TCHWEntChi.port_b.h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse41 Already solved: wseCon.T2.fire Equations used to solve those variables: Equation 166 (size: 1): wseCon.T2.fire = wseCon.T2.enableFire and time >= wseCon.T2.t_start + wseCon.T2.waitTime Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03357/41.87, allocations: 6.141 MB / 8.296 GB, free: 93.7 MB / 1.011 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl could not be translated to FMU