Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_MoistAir",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.689/1.689, allocations: 171.2 MB / 178.1 MB, free: 6.746 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1355/1.824, allocations: 41.1 MB / 219.2 MB, free: 13.57 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/2.019, allocations: 38.76 MB / 258 MB, free: 5.238 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.44/18.46, allocations: 6.604 GB / 6.856 GB, free: 79.54 MB / 355.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/18.46, allocations: 80.58 kB / 6.856 GB, free: 79.54 MB / 355.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 1.129/19.59, allocations: 190 MB / 7.042 GB, free: 56.55 MB / 355.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/19.59, allocations: 10.34 kB / 7.042 GB, free: 56.55 MB / 355.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/19.59, allocations: 18.72 kB / 7.042 GB, free: 56.54 MB / 355.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/19.59, allocations: 224.2 kB / 7.042 GB, free: 56.33 MB / 355.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/19.59, allocations: 3.969 kB / 7.042 GB, free: 56.33 MB / 355.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/19.59, allocations: 11.62 kB / 7.042 GB, free: 56.33 MB / 355.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005966/19.59, allocations: 213.5 kB / 7.042 GB, free: 56.32 MB / 355.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/19.59, allocations: 217.8 kB / 7.043 GB, free: 56.27 MB / 355.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/19.59, allocations: 3.984 kB / 7.043 GB, free: 56.27 MB / 355.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/19.59, allocations: 3.969 kB / 7.043 GB, free: 56.27 MB / 355.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/19.59, allocations: 7.594 kB / 7.043 GB, free: 56.27 MB / 355.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/19.59, allocations: 0.6415 MB / 7.043 GB, free: 55.91 MB / 355.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/19.59, allocations: 261.3 kB / 7.044 GB, free: 55.76 MB / 355.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/19.59, allocations: 114.3 kB / 7.044 GB, free: 55.74 MB / 355.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02408/19.62, allocations: 10.09 MB / 7.053 GB, free: 45.52 MB / 355.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/19.62, allocations: 46.44 kB / 7.054 GB, free: 45.46 MB / 355.1 MB Notification: Performance of pre-optimization done (n=29): time 5.37e-06/19.62, allocations: 0 / 7.054 GB, free: 45.46 MB / 355.1 MB Notification: Performance of matching and sorting (n=36): time 0.004711/19.62, allocations: 497.5 kB / 7.054 GB, free: 45.39 MB / 355.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/19.62, allocations: 80.86 kB / 7.054 GB, free: 45.3 MB / 355.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/19.62, allocations: 120.8 kB / 7.054 GB, free: 45.21 MB / 355.1 MB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/19.62, allocations: 25.7 kB / 7.054 GB, free: 45.18 MB / 355.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/19.62, allocations: 114.3 kB / 7.054 GB, free: 45.07 MB / 355.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/19.62, allocations: 124.9 kB / 7.054 GB, free: 44.99 MB / 355.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/19.62, allocations: 0 / 7.054 GB, free: 44.99 MB / 355.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/19.62, allocations: 324.6 kB / 7.055 GB, free: 44.68 MB / 355.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/19.62, allocations: 101.4 kB / 7.055 GB, free: 44.68 MB / 355.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/19.63, allocations: 176.1 kB / 7.055 GB, free: 44.61 MB / 355.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/19.63, allocations: 146.5 kB / 7.055 GB, free: 44.59 MB / 355.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/19.63, allocations: 7.844 kB / 7.055 GB, free: 44.59 MB / 355.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001851/19.63, allocations: 356.5 kB / 7.055 GB, free: 44.53 MB / 355.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/19.63, allocations: 7.656 kB / 7.056 GB, free: 44.53 MB / 355.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/19.63, allocations: 0 / 7.056 GB, free: 44.53 MB / 355.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.593e-05/19.63, allocations: 3.875 kB / 7.056 GB, free: 44.53 MB / 355.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/19.63, allocations: 90.08 kB / 7.056 GB, free: 44.53 MB / 355.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/19.63, allocations: 3.719 kB / 7.056 GB, free: 44.53 MB / 355.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/19.63, allocations: 30.81 kB / 7.056 GB, free: 44.52 MB / 355.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/19.63, allocations: 14.97 kB / 7.056 GB, free: 44.52 MB / 355.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002652/19.63, allocations: 116.7 kB / 7.056 GB, free: 44.4 MB / 355.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/19.63, allocations: 15.25 kB / 7.056 GB, free: 44.39 MB / 355.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009215/19.63, allocations: 203.8 kB / 7.056 GB, free: 44.34 MB / 355.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/19.63, allocations: 3.75 kB / 7.056 GB, free: 44.34 MB / 355.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/19.63, allocations: 4 kB / 7.056 GB, free: 44.34 MB / 355.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/19.63, allocations: 5.531 kB / 7.056 GB, free: 44.34 MB / 355.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/19.64, allocations: 0.8686 MB / 7.057 GB, free: 43.92 MB / 355.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/19.64, allocations: 3.938 kB / 7.057 GB, free: 43.92 MB / 355.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009154/19.64, allocations: 85.17 kB / 7.057 GB, free: 43.91 MB / 355.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/19.64, allocations: 3.594 kB / 7.057 GB, free: 43.91 MB / 355.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/19.64, allocations: 4.5 kB / 7.057 GB, free: 43.91 MB / 355.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/19.64, allocations: 6.234 kB / 7.057 GB, free: 43.91 MB / 355.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/19.64, allocations: 2.156 kB / 7.057 GB, free: 43.91 MB / 355.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001688/19.64, allocations: 0.7258 MB / 7.058 GB, free: 43.54 MB / 355.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002539/19.64, allocations: 1.302 MB / 7.059 GB, free: 42.79 MB / 355.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/19.64, allocations: 120.4 kB / 7.059 GB, free: 42.69 MB / 355.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/19.64, allocations: 6.203 kB / 7.059 GB, free: 42.69 MB / 355.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000734/19.64, allocations: 13.19 kB / 7.059 GB, free: 42.69 MB / 355.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/19.64, allocations: 25.38 kB / 7.059 GB, free: 42.68 MB / 355.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/19.64, allocations: 18.27 kB / 7.059 GB, free: 42.68 MB / 355.1 MB Notification: Performance of sort global known variables: time 8.961e-05/19.64, allocations: 101.4 kB / 7.059 GB, free: 42.6 MB / 355.1 MB Notification: Performance of remove unused functions: time 0.008327/19.65, allocations: 1.22 MB / 7.06 GB, free: 42.41 MB / 355.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.01128/19.66, allocations: 1.72 MB / 7.062 GB, free: 41.04 MB / 355.1 MB Notification: Performance of simCode: created initialization part: time 0.000858/19.66, allocations: 281.5 kB / 7.062 GB, free: 40.86 MB / 355.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/19.66, allocations: 448 / 7.062 GB, free: 40.86 MB / 355.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/19.66, allocations: 155.8 kB / 7.062 GB, free: 40.76 MB / 355.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/19.66, allocations: 88.41 kB / 7.063 GB, free: 40.7 MB / 355.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/19.67, allocations: 461.9 kB / 7.063 GB, free: 40.32 MB / 355.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007665/19.67, allocations: 0.7974 MB / 7.064 GB, free: 55.52 MB / 371.1 MB Notification: Performance of SimCode: time 1.112e-06/19.67, allocations: 0 / 7.064 GB, free: 55.52 MB / 371.1 MB