Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_5_0_1_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.223/4.223, allocations: 403.9 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2989/4.522, allocations: 95.01 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.595/5.117, allocations: 92.66 MB / 0.5846 GB, free: 3.34 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.26/17.37, allocations: 4.671 GB / 5.256 GB, free: 104 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/17.37, allocations: 82.77 kB / 5.256 GB, free: 103.9 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: 664 * Number of variables: 664 Notification: Performance of Generate backend data structure: time 5.243/22.62, allocations: 0.963 GB / 6.219 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/22.62, allocations: 12 kB / 6.219 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/22.63, allocations: 0.6814 MB / 6.22 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/22.64, allocations: 2.201 MB / 6.222 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003596/22.64, allocations: 88 kB / 6.222 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001958/22.65, allocations: 151.9 kB / 6.222 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01979/22.67, allocations: 3.895 MB / 6.226 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01774/22.68, allocations: 2.719 MB / 6.228 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002781/22.68, allocations: 8.219 kB / 6.228 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001591/22.69, allocations: 3.906 kB / 6.228 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003157/22.69, allocations: 121.1 kB / 6.229 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05107/22.74, allocations: 10.3 MB / 6.239 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4124/23.15, allocations: 3.759 MB / 6.242 GB, free: 179.6 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007794/23.16, allocations: 2.318 MB / 6.245 GB, free: 179.5 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/23.16, allocations: 0.7716 MB / 6.245 GB, free: 178.8 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.459e-05/23.16, allocations: 74.5 kB / 6.245 GB, free: 178.7 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=366): time 8.155e-06/23.16, allocations: 0 / 6.245 GB, free: 178.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=366): time 0.02505/23.18, allocations: 4.3 MB / 6.25 GB, free: 178.6 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/23.18, allocations: 90.77 kB / 6.25 GB, free: 178.5 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/23.19, allocations: 0.7723 MB / 6.25 GB, free: 178.4 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/23.19, allocations: 29.48 kB / 6.25 GB, free: 178.4 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005953/23.19, allocations: 0.5614 MB / 6.251 GB, free: 178.2 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.00228/23.19, allocations: 1.175 MB / 6.252 GB, free: 177.5 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006329/23.19, allocations: 3.406 kB / 6.252 GB, free: 177.5 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004313/23.19, allocations: 430.5 kB / 6.253 GB, free: 177.2 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005674/23.2, allocations: 1.445 MB / 6.254 GB, free: 177.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006283/23.2, allocations: 1.726 MB / 6.256 GB, free: 177 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/23.22, allocations: 2.249 MB / 6.258 GB, free: 177 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-05/23.22, allocations: 6.094 kB / 6.258 GB, free: 177 MB / 0.7917 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.02936/23.25, allocations: 4.25 MB / 6.262 GB, free: 176.8 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/23.25, allocations: 5.25 kB / 6.262 GB, free: 176.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/23.25, allocations: 3.531 kB / 6.262 GB, free: 176.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.012e-05/23.25, allocations: 17 kB / 6.262 GB, free: 176.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008676/23.26, allocations: 0.646 MB / 6.263 GB, free: 176.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.969e-05/23.26, allocations: 14.41 kB / 6.263 GB, free: 176.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00687/23.26, allocations: 285 kB / 6.263 GB, free: 176.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/23.27, allocations: 104.5 kB / 6.263 GB, free: 176.7 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 0 * 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.001789/23.27, allocations: 153 kB / 6.263 GB, free: 176.6 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/23.27, allocations: 209.7 kB / 6.263 GB, free: 176.5 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0249/23.29, allocations: 4.871 MB / 6.268 GB, free: 176.3 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.612e-05/23.29, allocations: 38 kB / 6.268 GB, free: 176.3 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/23.29, allocations: 2.531 kB / 6.268 GB, free: 176.3 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01978/23.31, allocations: 4.212 MB / 6.272 GB, free: 176.1 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03634/23.35, allocations: 8.091 MB / 6.28 GB, free: 175.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-05/23.35, allocations: 3.688 kB / 6.28 GB, free: 175.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009255/23.36, allocations: 0.6625 MB / 6.281 GB, free: 175.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009858/23.36, allocations: 136.2 kB / 6.281 GB, free: 175.6 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001163/23.36, allocations: 32.23 kB / 6.281 GB, free: 175.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00688/23.37, allocations: 4.334 MB / 6.285 GB, free: 171.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/23.37, allocations: 0 / 6.285 GB, free: 171.8 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03041/23.4, allocations: 7.215 MB / 6.292 GB, free: 171.4 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04039/23.44, allocations: 10.35 MB / 6.302 GB, free: 170.6 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003985/23.44, allocations: 0.7198 MB / 6.303 GB, free: 170.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001859/23.45, allocations: 6.688 kB / 6.303 GB, free: 170.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006925/23.45, allocations: 149.2 kB / 6.303 GB, free: 170.4 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002095/23.45, allocations: 197.1 kB / 6.303 GB, free: 170.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001784/23.46, allocations: 112 kB / 6.304 GB, free: 170.4 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.002636/23.46, allocations: 0.5931 MB / 6.304 GB, free: 170.3 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01717/23.48, allocations: 1.391 MB / 6.306 GB, free: 170.2 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (390): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008755/23.49, allocations: 2.545 MB / 6.308 GB, free: 169.5 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01881/23.5, allocations: 3.74 MB / 6.312 GB, free: 169.4 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/23.5, allocations: 0 / 6.312 GB, free: 169.4 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0116/23.52, allocations: 2.424 MB / 6.314 GB, free: 169.1 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01597/23.53, allocations: 0.8337 MB / 6.315 GB, free: 169.1 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03488/23.57, allocations: 5.504 MB / 6.32 GB, free: 168.3 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01124/23.58, allocations: 2.225 MB / 6.322 GB, free: 167.5 MB / 0.7917 GB Notification: Performance of SimCode: time 2.124e-06/23.58, allocations: 2.438 kB / 6.322 GB, free: 167.5 MB / 0.7917 GB