Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_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(ModelicaTest): time 2.019/2.019, allocations: 209.3 MB / 216.2 MB, free: 4.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1882/2.207, allocations: 51.05 MB / 267.3 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/2.479, allocations: 48.69 MB / 316 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.07/4.549, allocations: 0.8063 GB / 1.115 GB, free: 100.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.01426/4.564, allocations: 97.03 kB / 1.115 GB, free: 100.4 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 3.722/8.286, allocations: 0.7076 GB / 1.823 GB, free: 54.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/8.286, allocations: 14.64 kB / 1.823 GB, free: 54.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/8.289, allocations: 314.3 kB / 1.823 GB, free: 54.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/8.291, allocations: 0.8323 MB / 1.824 GB, free: 53.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/8.291, allocations: 108.4 kB / 1.824 GB, free: 53.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/8.292, allocations: 60 kB / 1.824 GB, free: 53.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004198/8.296, allocations: 1.488 MB / 1.825 GB, free: 52.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004897/8.301, allocations: 1.654 MB / 1.827 GB, free: 50.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.18e-05/8.301, allocations: 4 kB / 1.827 GB, free: 50.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/8.301, allocations: 2.188 kB / 1.827 GB, free: 50.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/8.302, allocations: 85.95 kB / 1.827 GB, free: 50.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.016/8.318, allocations: 5.92 MB / 1.833 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/8.319, allocations: 0.5182 MB / 1.833 GB, free: 43.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007893/8.32, allocations: 366.5 kB / 1.834 GB, free: 43.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/8.32, allocations: 31.42 kB / 1.834 GB, free: 43.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/8.32, allocations: 47 kB / 1.834 GB, free: 43.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 2.936e-06/8.32, allocations: 0 / 1.834 GB, free: 43.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.01864/8.339, allocations: 3.285 MB / 1.837 GB, free: 39.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/8.339, allocations: 107.5 kB / 1.837 GB, free: 39.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/8.341, allocations: 0.5999 MB / 1.838 GB, free: 39.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003675/8.341, allocations: 25.7 kB / 1.838 GB, free: 39.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/8.342, allocations: 0.5014 MB / 1.838 GB, free: 38.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005866/8.342, allocations: 240.5 kB / 1.838 GB, free: 38.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/8.343, allocations: 0 / 1.838 GB, free: 38.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002744/8.343, allocations: 386.8 kB / 1.839 GB, free: 37.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/8.345, allocations: 0.5284 MB / 1.839 GB, free: 37.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/8.348, allocations: 0.9011 MB / 1.84 GB, free: 36.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/8.35, allocations: 0.6669 MB / 1.841 GB, free: 35.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/8.35, allocations: 4 kB / 1.841 GB, free: 35.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004562/8.354, allocations: 1.796 MB / 1.843 GB, free: 33.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/8.355, allocations: 4 kB / 1.843 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/8.355, allocations: 15.98 kB / 1.843 GB, free: 33.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007833/8.362, allocations: 1.158 MB / 1.844 GB, free: 32.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/8.364, allocations: 175.7 kB / 1.844 GB, free: 32.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/8.368, allocations: 1.858 MB / 1.846 GB, free: 30.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/8.37, allocations: 91.75 kB / 1.846 GB, free: 30.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/8.37, allocations: 79.98 kB / 1.846 GB, free: 30.48 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.m:DUMMY_STATE(min = 0.0 unit = "kg" ) "Mass of fluid" type: Real volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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: 0 * Non-linear torn systems: 1 {10 27} Notification: Performance of prepare postOptimizeDAE: time 0.0004207/8.371, allocations: 136.5 kB / 1.846 GB, free: 30.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/8.371, allocations: 86.97 kB / 1.846 GB, free: 30.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/8.374, allocations: 1.27 MB / 1.847 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/8.375, allocations: 11.61 kB / 1.847 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/8.375, allocations: 4 kB / 1.847 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/8.375, allocations: 3.984 kB / 1.847 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006265/8.381, allocations: 2.395 MB / 1.85 GB, free: 26.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/8.381, allocations: 4.031 kB / 1.85 GB, free: 26.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003756/8.385, allocations: 299.6 kB / 1.85 GB, free: 26.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003395/8.385, allocations: 72.78 kB / 1.85 GB, free: 26.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/8.385, allocations: 35.03 kB / 1.85 GB, free: 26.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/8.388, allocations: 2.783 MB / 1.853 GB, free: 23.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/8.388, allocations: 0 / 1.853 GB, free: 23.12 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003838/8.392, allocations: 1.692 MB / 1.854 GB, free: 21.4 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005451/8.398, allocations: 2.775 MB / 1.857 GB, free: 18.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009712/8.399, allocations: 280 kB / 1.857 GB, free: 18.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/8.399, allocations: 19.98 kB / 1.857 GB, free: 18.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/8.401, allocations: 51.94 kB / 1.857 GB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/8.401, allocations: 56.48 kB / 1.858 GB, free: 18.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/8.401, allocations: 55.97 kB / 1.858 GB, free: 18.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0008757/8.402, allocations: 451.1 kB / 1.858 GB, free: 17.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004334/8.406, allocations: 0.652 MB / 1.859 GB, free: 17.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.006041/8.413, allocations: 1.712 MB / 1.86 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003857/8.416, allocations: 1.358 MB / 1.862 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/8.417, allocations: 4.688 kB / 1.862 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003269/8.42, allocations: 0.8289 MB / 1.862 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/8.423, allocations: 363 kB / 1.863 GB, free: 12.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008047/8.432, allocations: 2.276 MB / 1.865 GB, free: 10.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00217/8.434, allocations: 1.337 MB / 1.866 GB, free: 9.352 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/8.434, allocations: 4 kB / 1.866 GB, free: 9.348 MB / 442.7 MB