Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",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.84/1.84, allocations: 171.2 MB / 178.1 MB, free: 316 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1351/1.975, allocations: 41.11 MB / 219.3 MB, free: 7.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/2.209, allocations: 38.76 MB / 258 MB, free: 12.35 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.874/4.083, allocations: 0.6955 GB / 0.9475 GB, free: 87.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/4.083, allocations: 89.06 kB / 0.9476 GB, free: 86.96 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 3.037/7.121, allocations: 0.57 GB / 1.518 GB, free: 53.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/7.121, allocations: 9.75 kB / 1.518 GB, free: 53.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/7.122, allocations: 118.7 kB / 1.518 GB, free: 53.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009583/7.123, allocations: 375.1 kB / 1.518 GB, free: 53.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/7.123, allocations: 12.28 kB / 1.518 GB, free: 53.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.177e-05/7.123, allocations: 26.44 kB / 1.518 GB, free: 53.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001045/7.124, allocations: 399.3 kB / 1.518 GB, free: 53.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/7.125, allocations: 493.3 kB / 1.519 GB, free: 53.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/7.125, allocations: 0 / 1.519 GB, free: 53.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/7.126, allocations: 3.375 kB / 1.519 GB, free: 53.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/7.126, allocations: 7.375 kB / 1.519 GB, free: 53.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/7.13, allocations: 1.785 MB / 1.521 GB, free: 52.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/7.13, allocations: 100.4 kB / 1.521 GB, free: 52.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/7.13, allocations: 71.73 kB / 1.521 GB, free: 52.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/7.13, allocations: 3.344 kB / 1.521 GB, free: 52.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/7.13, allocations: 34.75 kB / 1.521 GB, free: 52.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 3.126e-06/7.131, allocations: 0 / 1.521 GB, free: 52.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.008455/7.139, allocations: 1.157 MB / 1.522 GB, free: 51.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/7.139, allocations: 51.41 kB / 1.522 GB, free: 51.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/7.14, allocations: 394.6 kB / 1.522 GB, free: 51.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/7.14, allocations: 26.92 kB / 1.522 GB, free: 51.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/7.14, allocations: 291.6 kB / 1.523 GB, free: 51.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/7.14, allocations: 90.23 kB / 1.523 GB, free: 51.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/7.14, allocations: 3.656 kB / 1.523 GB, free: 51.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/7.141, allocations: 352.3 kB / 1.523 GB, free: 51.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/7.141, allocations: 116.7 kB / 1.523 GB, free: 51.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/7.141, allocations: 420.2 kB / 1.524 GB, free: 50.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/7.142, allocations: 210.3 kB / 1.524 GB, free: 50.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/7.142, allocations: 0 / 1.524 GB, free: 50.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001327/7.143, allocations: 0.5465 MB / 1.524 GB, free: 50.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/7.143, allocations: 6.406 kB / 1.524 GB, free: 50.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/7.143, allocations: 11.19 kB / 1.524 GB, free: 50.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/7.144, allocations: 58.12 kB / 1.525 GB, free: 50.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/7.144, allocations: 145.1 kB / 1.525 GB, free: 50.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/7.146, allocations: 1.784 MB / 1.526 GB, free: 48.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/7.147, allocations: 21.88 kB / 1.526 GB, free: 48.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/7.147, allocations: 36.34 kB / 1.526 GB, free: 48.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001652/7.147, allocations: 133.7 kB / 1.527 GB, free: 48.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/7.147, allocations: 41.03 kB / 1.527 GB, free: 48.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008578/7.148, allocations: 282.5 kB / 1.527 GB, free: 48.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/7.148, allocations: 3.438 kB / 1.527 GB, free: 48.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/7.148, allocations: 0 / 1.527 GB, free: 48.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005711/7.149, allocations: 0.5016 MB / 1.527 GB, free: 48.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/7.15, allocations: 0.6326 MB / 1.528 GB, free: 47.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/7.15, allocations: 0 / 1.528 GB, free: 47.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/7.15, allocations: 52.39 kB / 1.528 GB, free: 47.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/7.151, allocations: 24.94 kB / 1.528 GB, free: 47.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/7.151, allocations: 9.625 kB / 1.528 GB, free: 47.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000888/7.151, allocations: 1.222 MB / 1.529 GB, free: 46.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/7.152, allocations: 0 / 1.529 GB, free: 46.59 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007935/7.152, allocations: 411.3 kB / 1.53 GB, free: 46.42 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001151/7.153, allocations: 0.8869 MB / 1.531 GB, free: 45.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/7.154, allocations: 116.3 kB / 1.531 GB, free: 45.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/7.154, allocations: 5.906 kB / 1.531 GB, free: 45.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/7.154, allocations: 17 kB / 1.531 GB, free: 45.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/7.154, allocations: 6.766 kB / 1.531 GB, free: 45.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/7.154, allocations: 16.86 kB / 1.531 GB, free: 45.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0004461/7.155, allocations: 288.9 kB / 1.531 GB, free: 45.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002547/7.157, allocations: 335.3 kB / 1.531 GB, free: 45.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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.00546/7.163, allocations: 1.331 MB / 1.533 GB, free: 45.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/7.165, allocations: 417.8 kB / 1.533 GB, free: 45.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/7.165, allocations: 1.594 kB / 1.533 GB, free: 45.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/7.165, allocations: 200.5 kB / 1.533 GB, free: 45.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/7.168, allocations: 169.3 kB / 1.533 GB, free: 45.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/7.171, allocations: 0.6003 MB / 1.534 GB, free: 45.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/7.172, allocations: 0.8946 MB / 1.535 GB, free: 44.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/7.172, allocations: 0 / 1.535 GB, free: 44.34 MB / 362.7 MB