Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_5_0_1_Buildings_Airflow_Multizone_Examples_CO2TransportStep",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.424/4.424, allocations: 404 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2891/4.713, allocations: 95 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/5.291, allocations: 92.67 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.161/11.45, allocations: 2.185 GB / 2.77 GB, free: 30.56 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/11.45, allocations: 86.7 kB / 2.77 GB, free: 30.52 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: 837 * Number of variables: 837 Notification: Performance of Generate backend data structure: time 11.52/22.98, allocations: 2.045 GB / 4.815 GB, free: 60.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/22.98, allocations: 12.66 kB / 4.815 GB, free: 60.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/22.99, allocations: 0.9374 MB / 4.816 GB, free: 60.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/23, allocations: 2.185 MB / 4.818 GB, free: 59.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005144/23, allocations: 109.9 kB / 4.819 GB, free: 59.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002638/23.01, allocations: 196.9 kB / 4.819 GB, free: 59.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02111/23.03, allocations: 3.75 MB / 4.822 GB, free: 59.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02313/23.05, allocations: 3.728 MB / 4.826 GB, free: 59.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002603/23.05, allocations: 3.938 kB / 4.826 GB, free: 59.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/23.05, allocations: 3.938 kB / 4.826 GB, free: 59.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002898/23.05, allocations: 141.3 kB / 4.826 GB, free: 59.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06215/23.12, allocations: 17.17 MB / 4.843 GB, free: 50.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/23.13, allocations: 2.957 MB / 4.846 GB, free: 50.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006024/23.13, allocations: 1.829 MB / 4.848 GB, free: 49.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/23.13, allocations: 1.333 MB / 4.849 GB, free: 47.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005948/23.14, allocations: 1.872 MB / 4.851 GB, free: 47.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=297): time 8.746e-06/23.14, allocations: 0 / 4.851 GB, free: 47.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=297): time 0.02002/23.16, allocations: 3.409 MB / 4.854 GB, free: 46.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/23.16, allocations: 248.8 kB / 4.854 GB, free: 45.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/23.16, allocations: 1.063 MB / 4.855 GB, free: 45.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001001/23.17, allocations: 29.11 kB / 4.855 GB, free: 45.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001379/23.17, allocations: 0.9578 MB / 4.856 GB, free: 44.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002399/23.17, allocations: 0.9696 MB / 4.857 GB, free: 43.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004182/23.17, allocations: 4 kB / 4.857 GB, free: 43.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003353/23.17, allocations: 424.8 kB / 4.858 GB, free: 43.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004396/23.17, allocations: 1.285 MB / 4.859 GB, free: 42.35 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005063/23.18, allocations: 1.789 MB / 4.861 GB, free: 40.53 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009046/23.19, allocations: 1.798 MB / 4.862 GB, free: 39.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.644e-05/23.19, allocations: 4 kB / 4.862 GB, free: 39.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01708/23.21, allocations: 3.684 MB / 4.866 GB, free: 35.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/23.21, allocations: 13.88 kB / 4.866 GB, free: 35.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.824e-05/23.21, allocations: 8 kB / 4.866 GB, free: 35.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.469e-05/23.21, allocations: 24 kB / 4.866 GB, free: 35.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007706/23.21, allocations: 0.6186 MB / 4.867 GB, free: 35.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.376e-05/23.21, allocations: 23.94 kB / 4.867 GB, free: 35.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007976/23.22, allocations: 370.7 kB / 4.867 GB, free: 34.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009925/23.22, allocations: 115.5 kB / 4.867 GB, free: 34.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (359): * Single equations (assignments): 357 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001087/23.22, allocations: 170.5 kB / 4.867 GB, free: 34.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/23.23, allocations: 229.3 kB / 4.868 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/23.24, allocations: 3.735 MB / 4.871 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.424e-05/23.24, allocations: 28 kB / 4.871 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/23.24, allocations: 0 / 4.871 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.013/23.26, allocations: 3.264 MB / 4.874 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02912/23.28, allocations: 7.08 MB / 4.881 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.348e-05/23.28, allocations: 7.938 kB / 4.881 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008784/23.29, allocations: 0.6148 MB / 4.882 GB, free: 22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-05/23.29, allocations: 12 kB / 4.882 GB, free: 21.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007878/23.29, allocations: 42.73 kB / 4.882 GB, free: 21.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.753e-05/23.29, allocations: 19.56 kB / 4.882 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/23.29, allocations: 7.938 kB / 4.882 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02084/23.32, allocations: 5.701 MB / 4.888 GB, free: 16.69 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02856/23.34, allocations: 8.498 MB / 4.896 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003802/23.35, allocations: 0.677 MB / 4.897 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001749/23.35, allocations: 14.42 kB / 4.897 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007661/23.36, allocations: 219.6 kB / 4.897 GB, free: 7.332 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/23.36, allocations: 170 kB / 4.897 GB, free: 7.164 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00055/23.36, allocations: 102.2 kB / 4.897 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.00249/23.36, allocations: 0.8006 MB / 4.898 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01122/23.37, allocations: 2.005 MB / 4.9 GB, free: 4.262 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01239/23.38, allocations: 5.282 MB / 4.905 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01281/23.4, allocations: 3.238 MB / 4.908 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/23.4, allocations: 3.781 kB / 4.908 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006387/23.4, allocations: 1.682 MB / 4.91 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01497/23.42, allocations: 1.037 MB / 4.911 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/23.45, allocations: 5.999 MB / 4.917 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008451/23.45, allocations: 2.587 MB / 4.919 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of SimCode: time 2.505e-06/23.45, allocations: 0 / 4.919 GB, free: 0.9844 MB / 0.8542 GB