Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",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.199/4.199, allocations: 404 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2684/4.468, allocations: 94.99 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5519/5.02, allocations: 92.68 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.52/11.54, allocations: 2.519 GB / 3.104 GB, free: 49.82 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/11.54, allocations: 87 kB / 3.104 GB, free: 49.78 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: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 27.82/39.36, allocations: 4.931 GB / 8.035 GB, free: 36.25 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/39.36, allocations: 15.03 kB / 8.035 GB, free: 36.23 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05161/39.41, allocations: 3.931 MB / 8.039 GB, free: 33.21 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08134/39.49, allocations: 16.19 MB / 8.055 GB, free: 19.71 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001069/39.49, allocations: 448.7 kB / 8.055 GB, free: 19.25 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005424/39.5, allocations: 0.5467 MB / 8.056 GB, free: 18.71 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03979/39.54, allocations: 9.561 MB / 8.065 GB, free: 9.137 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04715/39.59, allocations: 9.942 MB / 8.075 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007864/39.59, allocations: 23.77 kB / 8.075 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004432/39.59, allocations: 16 kB / 8.075 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007375/39.59, allocations: 368.7 kB / 8.075 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.427/41.02, allocations: 50.64 MB / 8.125 GB, free: 107.5 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/41.03, allocations: 4.359 MB / 8.129 GB, free: 107.4 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01335/41.05, allocations: 4.158 MB / 8.133 GB, free: 107.4 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05936/41.11, allocations: 16.41 MB / 8.149 GB, free: 101.9 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01391/41.12, allocations: 4.002 MB / 8.153 GB, free: 101.6 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=633): time 1.423e-05/41.12, allocations: 6.719 kB / 8.153 GB, free: 101.6 MB / 0.9949 GB Notification: Performance of matching and sorting (n=691): time 0.1603/41.28, allocations: 21.97 MB / 8.174 GB, free: 98.75 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/41.28, allocations: 310.8 kB / 8.175 GB, free: 98.46 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02809/41.31, allocations: 7.559 MB / 8.182 GB, free: 97.92 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.002676/41.31, allocations: 47.25 kB / 8.182 GB, free: 97.89 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.007507/41.32, allocations: 3.286 MB / 8.185 GB, free: 96.75 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.008702/41.33, allocations: 2.253 MB / 8.187 GB, free: 95.52 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002253/41.33, allocations: 1.5 kB / 8.187 GB, free: 95.52 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0009989/41.33, allocations: 0.5993 MB / 8.188 GB, free: 95.2 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01327/41.34, allocations: 3.268 MB / 8.191 GB, free: 95.18 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01682/41.36, allocations: 5.319 MB / 8.196 GB, free: 92.98 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02126/41.38, allocations: 4.527 MB / 8.201 GB, free: 92.88 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/41.38, allocations: 11.94 kB / 8.201 GB, free: 92.88 MB / 0.9949 GB Notification: Performance of matching and sorting (n=971) (initialization): time 0.07134/41.45, allocations: 12.38 MB / 8.213 GB, free: 92.07 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.00537/41.46, allocations: 24.07 MB / 8.236 GB, free: 67.29 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002958/41.46, allocations: 41.31 kB / 8.236 GB, free: 67.29 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03018/41.49, allocations: 4.425 MB / 8.241 GB, free: 67.2 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/41.5, allocations: 1.328 MB / 8.242 GB, free: 67.2 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04261/41.55, allocations: 14.53 MB / 8.256 GB, free: 62.39 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02415/41.57, allocations: 0.807 MB / 8.257 GB, free: 62.33 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003058/41.57, allocations: 389 kB / 8.257 GB, free: 62.33 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/41.57, allocations: 4.188 kB / 8.257 GB, free: 62.33 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05673/41.63, allocations: 10.85 MB / 8.268 GB, free: 62.06 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001822/41.63, allocations: 40.28 kB / 8.268 GB, free: 62.06 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03047/41.66, allocations: 4.356 MB / 8.272 GB, free: 61.96 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01326/41.68, allocations: 1.292 MB / 8.274 GB, free: 61.96 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04303/41.72, allocations: 16.27 MB / 8.289 GB, free: 55.65 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02208/41.74, allocations: 0.7368 MB / 8.29 GB, free: 55.59 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002965/41.74, allocations: 376.8 kB / 8.291 GB, free: 55.59 MB / 0.9949 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[1].con1.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: 189 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$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,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,triAndRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (737): * Single equations (assignments): 723 * 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.004575/41.75, allocations: 297.2 kB / 8.291 GB, free: 55.45 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005185/41.75, allocations: 1.017 MB / 8.292 GB, free: 54.91 MB / 0.9949 GB Error: Too many equations, over-determined system. The model has 806 equation(s) and 804 variable(s). Warning: Equation 612 (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 618 (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 624 (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 670 (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 706 (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.03486/41.79, allocations: 6.154 MB / 8.298 GB, free: 54.69 MB / 0.9949 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl could not be translated to FMU