Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",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.589/4.589, allocations: 403.9 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2701/4.859, allocations: 95.02 MB / 0.4941 GB, free: 7.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/5.368, allocations: 92.67 MB / 0.5846 GB, free: 3.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.935/11.3, allocations: 2.218 GB / 2.802 GB, free: 205.3 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/11.3, allocations: 97.5 kB / 2.802 GB, free: 205.3 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 10.17/21.48, allocations: 2 GB / 4.803 GB, free: 76.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/21.48, allocations: 12.69 kB / 4.803 GB, free: 76.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/21.49, allocations: 0.8208 MB / 4.803 GB, free: 76.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/21.5, allocations: 2.28 MB / 4.806 GB, free: 76.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.153e-05/21.5, allocations: 42.03 kB / 4.806 GB, free: 76.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004213/21.5, allocations: 93.09 kB / 4.806 GB, free: 76.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004595/21.5, allocations: 1.212 MB / 4.807 GB, free: 76.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004612/21.51, allocations: 1.442 MB / 4.808 GB, free: 75.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.459e-05/21.51, allocations: 7.719 kB / 4.808 GB, free: 75.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/21.51, allocations: 0 / 4.808 GB, free: 75.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.407e-05/21.51, allocations: 49.98 kB / 4.808 GB, free: 75.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01939/21.53, allocations: 7.573 MB / 4.816 GB, free: 71.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/21.53, allocations: 0.7929 MB / 4.817 GB, free: 71.38 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/21.53, allocations: 445.2 kB / 4.817 GB, free: 71.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002084/21.53, allocations: 0.8394 MB / 4.818 GB, free: 70.36 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001495/21.54, allocations: 0.5517 MB / 4.818 GB, free: 70.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=81): time 5.19e-06/21.54, allocations: 0 / 4.818 GB, free: 70.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=81): time 0.006626/21.54, allocations: 1.105 MB / 4.819 GB, free: 69.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/21.54, allocations: 298.6 kB / 4.82 GB, free: 69.36 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003268/21.55, allocations: 1.263 MB / 4.821 GB, free: 68.81 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/21.55, allocations: 29.08 kB / 4.821 GB, free: 68.78 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007347/21.55, allocations: 0.6392 MB / 4.822 GB, free: 68.33 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/21.55, allocations: 284.4 kB / 4.822 GB, free: 68.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/21.55, allocations: 0 / 4.822 GB, free: 68.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000115/21.55, allocations: 348.8 kB / 4.822 GB, free: 67.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/21.55, allocations: 361.4 kB / 4.823 GB, free: 67.65 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/21.55, allocations: 0.7791 MB / 4.823 GB, free: 66.99 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/21.55, allocations: 0.5686 MB / 4.824 GB, free: 66.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/21.55, allocations: 3.844 kB / 4.824 GB, free: 66.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0054/21.56, allocations: 1.31 MB / 4.825 GB, free: 66.33 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008101/21.56, allocations: 3.625 MB / 4.829 GB, free: 62.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.808e-05/21.56, allocations: 9.188 kB / 4.829 GB, free: 62.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.21e-05/21.56, allocations: 16.22 kB / 4.829 GB, free: 62.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/21.56, allocations: 281.5 kB / 4.829 GB, free: 62.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-05/21.56, allocations: 18.5 kB / 4.829 GB, free: 62.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003953/21.57, allocations: 199.1 kB / 4.829 GB, free: 62.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/21.57, allocations: 56.09 kB / 4.829 GB, free: 62.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/21.57, allocations: 3.875 kB / 4.829 GB, free: 62.38 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004586/21.57, allocations: 1.058 MB / 4.83 GB, free: 62.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/21.57, allocations: 10 kB / 4.83 GB, free: 62.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.464e-05/21.57, allocations: 18.97 kB / 4.83 GB, free: 62.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/21.57, allocations: 258.1 kB / 4.831 GB, free: 62.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-05/21.57, allocations: 23.11 kB / 4.831 GB, free: 62.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/21.58, allocations: 168.4 kB / 4.831 GB, free: 61.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/21.58, allocations: 51.58 kB / 4.831 GB, free: 61.96 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * 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.0005122/21.58, allocations: 142.4 kB / 4.831 GB, free: 61.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005589/21.58, allocations: 181.5 kB / 4.831 GB, free: 61.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005052/21.58, allocations: 1.057 MB / 4.832 GB, free: 61.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/21.58, allocations: 7.094 kB / 4.832 GB, free: 61.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/21.58, allocations: 1.062 kB / 4.832 GB, free: 61.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003475/21.59, allocations: 1.116 MB / 4.833 GB, free: 60.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004388/21.59, allocations: 1.434 MB / 4.835 GB, free: 59.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/21.59, allocations: 0 / 4.835 GB, free: 59.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/21.59, allocations: 187.8 kB / 4.835 GB, free: 59.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/21.6, allocations: 40.55 kB / 4.835 GB, free: 59.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/21.6, allocations: 19.56 kB / 4.835 GB, free: 59.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/21.6, allocations: 1.386 MB / 4.836 GB, free: 58.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/21.6, allocations: 0 / 4.836 GB, free: 58.3 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005172/21.6, allocations: 1.515 MB / 4.838 GB, free: 56.89 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007612/21.61, allocations: 2.549 MB / 4.84 GB, free: 54.47 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/21.61, allocations: 350.2 kB / 4.84 GB, free: 54.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005905/21.61, allocations: 8 kB / 4.841 GB, free: 54.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00311/21.62, allocations: 126.6 kB / 4.841 GB, free: 54.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/21.62, allocations: 46.67 kB / 4.841 GB, free: 54.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/21.62, allocations: 33.72 kB / 4.841 GB, free: 54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.002579/21.62, allocations: 0.9408 MB / 4.842 GB, free: 53.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01278/21.63, allocations: 2.06 MB / 4.844 GB, free: 51.1 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007654/21.64, allocations: 3.662 MB / 4.847 GB, free: 48.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004926/21.64, allocations: 1.671 MB / 4.849 GB, free: 46.54 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/21.64, allocations: 3.875 kB / 4.849 GB, free: 46.54 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/21.65, allocations: 0.4973 MB / 4.849 GB, free: 46.06 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007581/21.65, allocations: 0.7282 MB / 4.85 GB, free: 45.53 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/21.67, allocations: 3.029 MB / 4.853 GB, free: 42.98 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/21.67, allocations: 1.723 MB / 4.855 GB, free: 41.41 MB / 0.8073 GB Notification: Performance of SimCode: time 2.034e-06/21.67, allocations: 0 / 4.855 GB, free: 41.41 MB / 0.8073 GB