Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [: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(Modelica): time 1.791/1.791, allocations: 171.2 MB / 178.2 MB, free: 8.312 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2312/2.022, allocations: 41.1 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/2.118, allocations: 38.75 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.94/4.059, allocations: 0.7376 GB / 0.9896 GB, free: 54.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/4.059, allocations: 73.83 kB / 0.9896 GB, free: 54.06 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.4417/4.501, allocations: 61.28 MB / 1.049 GB, free: 96.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/4.501, allocations: 12.66 kB / 1.05 GB, free: 96.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/4.512, allocations: 0.8357 MB / 1.05 GB, free: 96.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007816/4.513, allocations: 278.7 kB / 1.051 GB, free: 96.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/4.513, allocations: 7.812 kB / 1.051 GB, free: 96.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/4.513, allocations: 15 kB / 1.051 GB, free: 96.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002075/4.515, allocations: 0.6478 MB / 1.051 GB, free: 96.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/4.517, allocations: 418 kB / 1.052 GB, free: 96.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/4.517, allocations: 4.312 kB / 1.052 GB, free: 96.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/4.518, allocations: 0 / 1.052 GB, free: 96.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/4.518, allocations: 10.5 kB / 1.052 GB, free: 96.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/4.523, allocations: 1.331 MB / 1.053 GB, free: 95.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/4.524, allocations: 312.5 kB / 1.053 GB, free: 95.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/4.525, allocations: 227.8 kB / 1.053 GB, free: 95.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009143/4.526, allocations: 251.2 kB / 1.054 GB, free: 95.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/4.526, allocations: 37.58 kB / 1.054 GB, free: 95.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 3.828e-06/4.526, allocations: 0 / 1.054 GB, free: 95.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001581/4.527, allocations: 442.3 kB / 1.054 GB, free: 95.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/4.527, allocations: 80.86 kB / 1.054 GB, free: 95.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/4.528, allocations: 121.3 kB / 1.054 GB, free: 95.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/4.528, allocations: 25.7 kB / 1.054 GB, free: 95.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/4.528, allocations: 110.9 kB / 1.054 GB, free: 95.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/4.528, allocations: 106.8 kB / 1.055 GB, free: 95.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/4.528, allocations: 0 / 1.055 GB, free: 95.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/4.528, allocations: 329.3 kB / 1.055 GB, free: 94.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/4.529, allocations: 205.9 kB / 1.055 GB, free: 94.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/4.529, allocations: 300.2 kB / 1.055 GB, free: 94.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/4.53, allocations: 242.3 kB / 1.056 GB, free: 94.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/4.53, allocations: 7 kB / 1.056 GB, free: 94.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001575/4.531, allocations: 0.5352 MB / 1.056 GB, free: 94.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/4.531, allocations: 5.938 kB / 1.056 GB, free: 94.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/4.531, allocations: 3.312 kB / 1.056 GB, free: 94.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/4.531, allocations: 7.719 kB / 1.056 GB, free: 94.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/4.533, allocations: 83.36 kB / 1.056 GB, free: 94.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/4.533, allocations: 12.81 kB / 1.056 GB, free: 94.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/4.534, allocations: 34.27 kB / 1.056 GB, free: 94.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/4.534, allocations: 28.42 kB / 1.056 GB, free: 94.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0002149/4.534, allocations: 113.4 kB / 1.056 GB, free: 94.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/4.534, allocations: 19.53 kB / 1.056 GB, free: 94.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/4.536, allocations: 0.5423 MB / 1.057 GB, free: 94.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/4.536, allocations: 7.594 kB / 1.057 GB, free: 94.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/4.536, allocations: 0 / 1.057 GB, free: 94.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/4.536, allocations: 3.844 kB / 1.057 GB, free: 94.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/4.538, allocations: 0.5088 MB / 1.057 GB, free: 94.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/4.538, allocations: 0 / 1.057 GB, free: 94.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/4.539, allocations: 62.45 kB / 1.058 GB, free: 94.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/4.539, allocations: 0 / 1.058 GB, free: 94.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/4.539, allocations: 13.7 kB / 1.058 GB, free: 94.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/4.539, allocations: 1.844 kB / 1.058 GB, free: 94.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/4.539, allocations: 0 / 1.058 GB, free: 94.25 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001771/4.541, allocations: 0.7402 MB / 1.058 GB, free: 94 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002468/4.543, allocations: 1.352 MB / 1.06 GB, free: 93.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/4.544, allocations: 95.19 kB / 1.06 GB, free: 93.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/4.544, allocations: 10.7 kB / 1.06 GB, free: 93.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/4.545, allocations: 14.69 kB / 1.06 GB, free: 93.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/4.545, allocations: 20 kB / 1.06 GB, free: 93.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/4.545, allocations: 21.69 kB / 1.06 GB, free: 93.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.922e-05/4.545, allocations: 103.4 kB / 1.06 GB, free: 93.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002274/4.547, allocations: 258.2 kB / 1.06 GB, free: 93.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.002411/4.55, allocations: 0.8784 MB / 1.061 GB, free: 93.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/4.551, allocations: 480.4 kB / 1.061 GB, free: 93.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/4.551, allocations: 3.062 kB / 1.061 GB, free: 93.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000558/4.552, allocations: 235.3 kB / 1.062 GB, free: 93.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/4.553, allocations: 75.77 kB / 1.062 GB, free: 93.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/4.555, allocations: 0.7922 MB / 1.062 GB, free: 92.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008067/4.556, allocations: 0.7992 MB / 1.063 GB, free: 92.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/4.556, allocations: 0 / 1.063 GB, free: 92.2 MB / 346.7 MB