Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",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.69/1.69, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2262/1.916, allocations: 46.84 MB / 249.3 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/2.004, allocations: 44.5 MB / 293.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.62/3.624, allocations: 0.7069 GB / 0.9938 GB, free: 68.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/3.624, allocations: 84.5 kB / 0.9939 GB, free: 68.48 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 2.633/6.257, allocations: 0.5563 GB / 1.55 GB, free: 59.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/6.257, allocations: 11.44 kB / 1.55 GB, free: 59.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/6.258, allocations: 146.6 kB / 1.55 GB, free: 59.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/6.259, allocations: 494.2 kB / 1.551 GB, free: 58.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/6.259, allocations: 24.09 kB / 1.551 GB, free: 58.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/6.259, allocations: 45.25 kB / 1.551 GB, free: 58.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001997/6.261, allocations: 0.8169 MB / 1.552 GB, free: 58.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/6.264, allocations: 0.8289 MB / 1.552 GB, free: 58.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.309e-05/6.264, allocations: 7.875 kB / 1.552 GB, free: 58.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/6.264, allocations: 0 / 1.552 GB, free: 58.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/6.264, allocations: 17.94 kB / 1.552 GB, free: 58.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007922/6.272, allocations: 3.248 MB / 1.556 GB, free: 57.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009678/6.273, allocations: 442 kB / 1.556 GB, free: 57.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/6.274, allocations: 338.9 kB / 1.556 GB, free: 57.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.71e-05/6.274, allocations: 22.06 kB / 1.556 GB, free: 57.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/6.274, allocations: 44.66 kB / 1.556 GB, free: 57.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 3.136e-06/6.274, allocations: 1.031 kB / 1.556 GB, free: 57.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.01508/6.289, allocations: 3.139 MB / 1.56 GB, free: 56.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/6.289, allocations: 60.31 kB / 1.56 GB, free: 56.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/6.289, allocations: 320.3 kB / 1.56 GB, free: 56.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/6.29, allocations: 32.67 kB / 1.56 GB, free: 56.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/6.29, allocations: 267.6 kB / 1.56 GB, free: 56.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/6.29, allocations: 239.8 kB / 1.56 GB, free: 56.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/6.29, allocations: 0 / 1.56 GB, free: 56.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/6.29, allocations: 356 kB / 1.561 GB, free: 55.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009546/6.291, allocations: 438.8 kB / 1.561 GB, free: 55.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/6.292, allocations: 0.4963 MB / 1.562 GB, free: 55.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/6.293, allocations: 0.5034 MB / 1.562 GB, free: 55.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/6.293, allocations: 0 / 1.562 GB, free: 55.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003422/6.297, allocations: 1.322 MB / 1.563 GB, free: 55.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/6.297, allocations: 5.281 kB / 1.563 GB, free: 55.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/6.297, allocations: 0 / 1.563 GB, free: 55.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/6.298, allocations: 330.6 kB / 1.564 GB, free: 55.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/6.3, allocations: 183.9 kB / 1.564 GB, free: 55.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008138/6.308, allocations: 9.801 MB / 1.574 GB, free: 46.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/6.309, allocations: 63.09 kB / 1.574 GB, free: 46.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/6.309, allocations: 47.38 kB / 1.574 GB, free: 46.76 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[2]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[3]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[4]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[5]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[6]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004324/6.31, allocations: 154.8 kB / 1.574 GB, free: 46.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/6.31, allocations: 50.72 kB / 1.574 GB, free: 46.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/6.314, allocations: 1.282 MB / 1.575 GB, free: 46.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/6.314, allocations: 7.094 kB / 1.575 GB, free: 46.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/6.314, allocations: 0 / 1.575 GB, free: 46.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002296/6.316, allocations: 1.566 MB / 1.577 GB, free: 45.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004845/6.321, allocations: 2.138 MB / 1.579 GB, free: 45.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/6.321, allocations: 0 / 1.579 GB, free: 45.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/6.323, allocations: 223.5 kB / 1.579 GB, free: 45.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000315/6.324, allocations: 76.42 kB / 1.579 GB, free: 45.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/6.324, allocations: 31.53 kB / 1.579 GB, free: 45.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/6.325, allocations: 1.427 MB / 1.58 GB, free: 44.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/6.325, allocations: 5.031 kB / 1.58 GB, free: 44.11 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003496/6.329, allocations: 1.578 MB / 1.582 GB, free: 43.85 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004871/6.334, allocations: 2.552 MB / 1.584 GB, free: 43.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/6.334, allocations: 133 kB / 1.585 GB, free: 43.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/6.334, allocations: 15.08 kB / 1.585 GB, free: 43.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/6.336, allocations: 60.53 kB / 1.585 GB, free: 43.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/6.336, allocations: 47.92 kB / 1.585 GB, free: 43.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/6.336, allocations: 63.95 kB / 1.585 GB, free: 43.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003789/6.337, allocations: 248.8 kB / 1.585 GB, free: 43.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003493/6.34, allocations: 461.6 kB / 1.585 GB, free: 43.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004374/6.345, allocations: 1.377 MB / 1.587 GB, free: 42.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003291/6.348, allocations: 1.738 MB / 1.588 GB, free: 42.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/6.348, allocations: 6.688 kB / 1.588 GB, free: 42.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/6.349, allocations: 0.6655 MB / 1.589 GB, free: 42.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/6.352, allocations: 290.8 kB / 1.589 GB, free: 42.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005871/6.358, allocations: 1.848 MB / 1.591 GB, free: 41.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/6.36, allocations: 1.117 MB / 1.592 GB, free: 41 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/6.36, allocations: 0 / 1.592 GB, free: 41 MB / 426.7 MB