Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",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.288/4.288, allocations: 403.9 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2747/4.563, allocations: 95 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/5.062, allocations: 92.68 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.565/10.63, allocations: 2.212 GB / 2.796 GB, free: 2.859 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/10.63, allocations: 91.08 kB / 2.796 GB, free: 2.816 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: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 10.35/20.97, allocations: 1.919 GB / 4.715 GB, free: 75.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/20.97, allocations: 13.03 kB / 4.715 GB, free: 75.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/20.98, allocations: 0.8326 MB / 4.716 GB, free: 75.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/21, allocations: 2.459 MB / 4.719 GB, free: 74.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/21, allocations: 52.72 kB / 4.719 GB, free: 74.65 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000646/21, allocations: 106.7 kB / 4.719 GB, free: 74.65 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00567/21, allocations: 1.403 MB / 4.72 GB, free: 74.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005893/21.01, allocations: 1.628 MB / 4.722 GB, free: 74.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.539e-05/21.01, allocations: 12.5 kB / 4.722 GB, free: 74.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003261/21.01, allocations: 0 / 4.722 GB, free: 74.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-05/21.01, allocations: 57.22 kB / 4.722 GB, free: 74.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02222/21.03, allocations: 8.251 MB / 4.73 GB, free: 70.47 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/21.03, allocations: 0.9533 MB / 4.731 GB, free: 70.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/21.04, allocations: 0.591 MB / 4.731 GB, free: 70.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007607/21.04, allocations: 290.9 kB / 4.732 GB, free: 70.15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/21.04, allocations: 0.6873 MB / 4.732 GB, free: 70.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=99): time 4.749e-06/21.04, allocations: 3.812 kB / 4.732 GB, free: 70.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=102): time 0.01604/21.06, allocations: 3.322 MB / 4.735 GB, free: 68.97 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/21.06, allocations: 300.5 kB / 4.736 GB, free: 68.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003293/21.06, allocations: 1.246 MB / 4.737 GB, free: 68.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004198/21.06, allocations: 32.11 kB / 4.737 GB, free: 68.38 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007752/21.06, allocations: 0.6619 MB / 4.738 GB, free: 68.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006392/21.06, allocations: 349.6 kB / 4.738 GB, free: 67.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/21.06, allocations: 0 / 4.738 GB, free: 67.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001296/21.06, allocations: 357.1 kB / 4.738 GB, free: 67.49 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/21.06, allocations: 458.5 kB / 4.739 GB, free: 67.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/21.06, allocations: 0.8401 MB / 4.74 GB, free: 67.04 MB / 0.8073 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01531/21.08, allocations: 2.086 MB / 4.742 GB, free: 66.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/21.08, allocations: 6.234 kB / 4.742 GB, free: 66.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.005558/21.09, allocations: 1.565 MB / 4.743 GB, free: 66.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007567/21.09, allocations: 3.187 MB / 4.746 GB, free: 63.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.514e-05/21.09, allocations: 10.03 kB / 4.746 GB, free: 63.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/21.09, allocations: 42.67 kB / 4.746 GB, free: 63.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/21.09, allocations: 301.4 kB / 4.747 GB, free: 63.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/21.09, allocations: 1.402 MB / 4.748 GB, free: 62.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004548/21.1, allocations: 148.2 kB / 4.748 GB, free: 62.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/21.1, allocations: 57.55 kB / 4.748 GB, free: 62.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/21.1, allocations: 3.594 kB / 4.748 GB, free: 62.03 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004688/21.1, allocations: 1.302 MB / 4.749 GB, free: 61.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/21.1, allocations: 8.438 kB / 4.749 GB, free: 61.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/21.1, allocations: 44.73 kB / 4.749 GB, free: 61.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/21.1, allocations: 286.9 kB / 4.75 GB, free: 61.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/21.11, allocations: 1.413 MB / 4.751 GB, free: 60.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004278/21.11, allocations: 141.6 kB / 4.751 GB, free: 60.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/21.11, allocations: 49.7 kB / 4.751 GB, free: 60.61 MB / 0.8073 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (152): * Single equations (assignments): 147 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000589/21.11, allocations: 150.9 kB / 4.751 GB, free: 60.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006384/21.11, allocations: 199.2 kB / 4.752 GB, free: 60.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005177/21.12, allocations: 1.329 MB / 4.753 GB, free: 60.21 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/21.12, allocations: 13.72 kB / 4.753 GB, free: 60.21 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/21.12, allocations: 3.562 kB / 4.753 GB, free: 60.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003584/21.12, allocations: 1.081 MB / 4.754 GB, free: 60.02 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/21.13, allocations: 3.111 MB / 4.757 GB, free: 59.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/21.13, allocations: 7.531 kB / 4.757 GB, free: 59.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/21.13, allocations: 235.2 kB / 4.757 GB, free: 59.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/21.13, allocations: 72.36 kB / 4.757 GB, free: 59.41 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/21.13, allocations: 15.78 kB / 4.757 GB, free: 59.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/21.14, allocations: 2.618 MB / 4.76 GB, free: 57.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/21.14, allocations: 3.812 kB / 4.76 GB, free: 57.04 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006243/21.14, allocations: 2.016 MB / 4.762 GB, free: 56.62 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008577/21.15, allocations: 3.229 MB / 4.765 GB, free: 55.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/21.15, allocations: 384.3 kB / 4.765 GB, free: 55.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007719/21.16, allocations: 6.969 kB / 4.765 GB, free: 55.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004047/21.16, allocations: 134.1 kB / 4.766 GB, free: 55.62 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004042/21.16, allocations: 64.06 kB / 4.766 GB, free: 55.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/21.16, allocations: 39.09 kB / 4.766 GB, free: 55.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.002647/21.16, allocations: 0.9402 MB / 4.767 GB, free: 55.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01325/21.18, allocations: 2.006 MB / 4.769 GB, free: 55.42 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (101): * Single equations (assignments): 97 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 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.007773/21.18, allocations: 3.63 MB / 4.772 GB, free: 54.08 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0062/21.19, allocations: 2.171 MB / 4.774 GB, free: 53.72 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/21.19, allocations: 0 / 4.774 GB, free: 53.72 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/21.19, allocations: 0.7173 MB / 4.775 GB, free: 53.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009771/21.2, allocations: 0.8958 MB / 4.776 GB, free: 53.49 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/21.22, allocations: 3.276 MB / 4.779 GB, free: 52.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00343/21.22, allocations: 1.824 MB / 4.781 GB, free: 68 MB / 0.823 GB Notification: Performance of SimCode: time 1.804e-06/21.22, allocations: 0 / 4.781 GB, free: 68 MB / 0.823 GB