Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_5_0_1_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",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.1/4.1, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2432/4.343, allocations: 95 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/4.881, allocations: 92.69 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.769/10.65, allocations: 2.181 GB / 2.766 GB, free: 34.43 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004798/10.65, allocations: 83.89 kB / 2.766 GB, free: 34.38 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: 846 * Number of variables: 846 Notification: Performance of Generate backend data structure: time 11.7/22.35, allocations: 1.895 GB / 4.661 GB, free: 66.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/22.35, allocations: 12.47 kB / 4.661 GB, free: 66.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01839/22.37, allocations: 1.055 MB / 4.662 GB, free: 66.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/22.38, allocations: 2.453 MB / 4.664 GB, free: 65.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/22.38, allocations: 101.9 kB / 4.664 GB, free: 65.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/22.38, allocations: 197.2 kB / 4.664 GB, free: 65.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01658/22.4, allocations: 4.166 MB / 4.668 GB, free: 65.78 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/22.42, allocations: 3.752 MB / 4.672 GB, free: 65.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001939/22.42, allocations: 7.5 kB / 4.672 GB, free: 65.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001262/22.42, allocations: 5.656 kB / 4.672 GB, free: 65.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/22.42, allocations: 150.2 kB / 4.672 GB, free: 65.49 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04373/22.46, allocations: 14.51 MB / 4.686 GB, free: 59.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/22.47, allocations: 3.723 MB / 4.69 GB, free: 58.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007969/22.48, allocations: 2.357 MB / 4.692 GB, free: 58.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002282/22.48, allocations: 1.358 MB / 4.694 GB, free: 57.53 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.889e-05/22.48, allocations: 72.97 kB / 4.694 GB, free: 57.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=373): time 9.057e-06/22.48, allocations: 3.688 kB / 4.694 GB, free: 57.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=373): time 0.03274/22.52, allocations: 4.295 MB / 4.698 GB, free: 57.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/22.52, allocations: 90.94 kB / 4.698 GB, free: 57.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004898/22.52, allocations: 1.083 MB / 4.699 GB, free: 57.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001366/22.52, allocations: 29.17 kB / 4.699 GB, free: 56.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001208/22.52, allocations: 0.8407 MB / 4.7 GB, free: 56.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.003135/22.53, allocations: 1.214 MB / 4.701 GB, free: 55.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/22.53, allocations: 3.562 kB / 4.701 GB, free: 55.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0006155/22.53, allocations: 434.1 kB / 4.701 GB, free: 55.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007208/22.54, allocations: 1.523 MB / 4.703 GB, free: 55.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007907/22.55, allocations: 1.909 MB / 4.705 GB, free: 55.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/22.56, allocations: 2.22 MB / 4.707 GB, free: 55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-05/22.56, allocations: 3.719 kB / 4.707 GB, free: 55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.02023/22.58, allocations: 4.408 MB / 4.711 GB, free: 54.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/22.58, allocations: 2.875 kB / 4.711 GB, free: 54.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-05/22.58, allocations: 7.875 kB / 4.711 GB, free: 54.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.782e-05/22.58, allocations: 25.3 kB / 4.711 GB, free: 54.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008781/22.59, allocations: 0.6933 MB / 4.712 GB, free: 54.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.727e-05/22.59, allocations: 27.84 kB / 4.712 GB, free: 54.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008282/22.6, allocations: 341.8 kB / 4.712 GB, free: 54.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/22.6, allocations: 129 kB / 4.712 GB, free: 54.62 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 416 * 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.001175/22.6, allocations: 158.8 kB / 4.713 GB, free: 54.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/22.6, allocations: 268.6 kB / 4.713 GB, free: 54.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02282/22.63, allocations: 4.763 MB / 4.718 GB, free: 54.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-05/22.63, allocations: 35.72 kB / 4.718 GB, free: 54.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/22.63, allocations: 11.22 kB / 4.718 GB, free: 54.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0167/22.64, allocations: 4.115 MB / 4.722 GB, free: 53.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03729/22.68, allocations: 8.654 MB / 4.73 GB, free: 53.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.14e-05/22.68, allocations: 9.781 kB / 4.73 GB, free: 53.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0125/22.69, allocations: 0.7478 MB / 4.731 GB, free: 53.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/22.69, allocations: 14.09 kB / 4.731 GB, free: 53.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001263/22.69, allocations: 51.41 kB / 4.731 GB, free: 53.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-05/22.69, allocations: 15.06 kB / 4.731 GB, free: 53.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/22.69, allocations: 6.938 kB / 4.731 GB, free: 53.16 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02966/22.72, allocations: 7.37 MB / 4.738 GB, free: 52.46 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0419/22.77, allocations: 10.74 MB / 4.749 GB, free: 51.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004426/22.77, allocations: 0.8051 MB / 4.749 GB, free: 51.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/22.77, allocations: 7.5 kB / 4.749 GB, free: 51.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007964/22.78, allocations: 219.6 kB / 4.75 GB, free: 51.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001357/22.78, allocations: 200.4 kB / 4.75 GB, free: 51.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007193/22.78, allocations: 127.8 kB / 4.75 GB, free: 51.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.002318/22.78, allocations: 0.8174 MB / 4.751 GB, free: 50.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0113/22.8, allocations: 2.111 MB / 4.753 GB, free: 50.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 393 * 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 Backend phase and start with SimCode phase: time 0.01304/22.81, allocations: 5.547 MB / 4.758 GB, free: 48.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01322/22.82, allocations: 3.876 MB / 4.762 GB, free: 48.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/22.82, allocations: 0 / 4.762 GB, free: 48.24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.007364/22.83, allocations: 2.124 MB / 4.764 GB, free: 48.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01947/22.85, allocations: 1.232 MB / 4.765 GB, free: 48.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02671/22.88, allocations: 6.662 MB / 4.772 GB, free: 47.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007964/22.88, allocations: 2.673 MB / 4.774 GB, free: 46.23 MB / 0.8386 GB Notification: Performance of SimCode: time 3.125e-06/22.88, allocations: 0.7656 kB / 4.774 GB, free: 46.23 MB / 0.8386 GB