Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_2_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.643/1.643, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2431/1.887, allocations: 46.84 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/1.986, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.623/3.608, allocations: 0.7077 GB / 0.9947 GB, free: 67.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/3.609, allocations: 83.33 kB / 0.9948 GB, free: 67.72 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 2.787/6.395, allocations: 0.5743 GB / 1.569 GB, free: 63.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/6.396, allocations: 11.38 kB / 1.569 GB, free: 63.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/6.397, allocations: 117.8 kB / 1.569 GB, free: 63.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/6.398, allocations: 375.8 kB / 1.57 GB, free: 62.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/6.398, allocations: 13.25 kB / 1.57 GB, free: 62.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/6.398, allocations: 20.44 kB / 1.57 GB, free: 62.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001095/6.399, allocations: 409.1 kB / 1.57 GB, free: 62.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/6.4, allocations: 490.7 kB / 1.57 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/6.401, allocations: 0 / 1.57 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/6.401, allocations: 5.781 kB / 1.57 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/6.401, allocations: 7.625 kB / 1.57 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004823/6.406, allocations: 1.995 MB / 1.572 GB, free: 61.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/6.406, allocations: 105.7 kB / 1.572 GB, free: 61.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/6.406, allocations: 67.83 kB / 1.573 GB, free: 61.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.255e-05/6.406, allocations: 14.12 kB / 1.573 GB, free: 61.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/6.406, allocations: 33.78 kB / 1.573 GB, free: 61.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 2.584e-06/6.406, allocations: 0 / 1.573 GB, free: 61.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.00867/6.415, allocations: 1.125 MB / 1.574 GB, free: 61.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/6.415, allocations: 61.81 kB / 1.574 GB, free: 61.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/6.416, allocations: 390.4 kB / 1.574 GB, free: 60.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/6.416, allocations: 27.98 kB / 1.574 GB, free: 60.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/6.416, allocations: 299.1 kB / 1.574 GB, free: 60.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/6.416, allocations: 81.22 kB / 1.575 GB, free: 60.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/6.416, allocations: 0 / 1.575 GB, free: 60.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/6.416, allocations: 346 kB / 1.575 GB, free: 60.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/6.416, allocations: 123.1 kB / 1.575 GB, free: 60.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/6.417, allocations: 417.6 kB / 1.575 GB, free: 60.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/6.417, allocations: 216.5 kB / 1.576 GB, free: 60.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/6.417, allocations: 4.562 kB / 1.576 GB, free: 60.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001445/6.419, allocations: 0.5417 MB / 1.576 GB, free: 59.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/6.419, allocations: 7.469 kB / 1.576 GB, free: 59.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/6.419, allocations: 11.56 kB / 1.576 GB, free: 59.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/6.419, allocations: 57.38 kB / 1.576 GB, free: 59.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009379/6.42, allocations: 146.7 kB / 1.576 GB, free: 59.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/6.422, allocations: 1.78 MB / 1.578 GB, free: 58.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009143/6.423, allocations: 26.09 kB / 1.578 GB, free: 58.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/6.423, allocations: 40.33 kB / 1.578 GB, free: 58.21 MB / 426.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.0001929/6.423, allocations: 141.6 kB / 1.578 GB, free: 58.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/6.423, allocations: 39.84 kB / 1.578 GB, free: 58.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009256/6.424, allocations: 271 kB / 1.579 GB, free: 58.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/6.424, allocations: 0 / 1.579 GB, free: 58.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/6.424, allocations: 7.312 kB / 1.579 GB, free: 58.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005332/6.425, allocations: 0.5038 MB / 1.579 GB, free: 57.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/6.426, allocations: 0.6403 MB / 1.58 GB, free: 57.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.938e-05/6.426, allocations: 0 / 1.58 GB, free: 57.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/6.427, allocations: 54.83 kB / 1.58 GB, free: 57.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/6.427, allocations: 20.83 kB / 1.58 GB, free: 57.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/6.427, allocations: 10.88 kB / 1.58 GB, free: 57.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009381/6.428, allocations: 1.221 MB / 1.581 GB, free: 56.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/6.428, allocations: 0 / 1.581 GB, free: 56.09 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008595/6.429, allocations: 408.5 kB / 1.581 GB, free: 55.93 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001249/6.43, allocations: 0.8946 MB / 1.582 GB, free: 55.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/6.431, allocations: 116.1 kB / 1.582 GB, free: 55.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/6.431, allocations: 3.375 kB / 1.582 GB, free: 55.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005884/6.431, allocations: 11 kB / 1.582 GB, free: 55.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/6.431, allocations: 15.77 kB / 1.582 GB, free: 55.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/6.431, allocations: 15.11 kB / 1.582 GB, free: 55.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005045/6.432, allocations: 289.3 kB / 1.583 GB, free: 55.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002742/6.435, allocations: 335.8 kB / 1.583 GB, free: 55.18 MB / 426.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.004296/6.439, allocations: 1.337 MB / 1.584 GB, free: 55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/6.44, allocations: 421.9 kB / 1.585 GB, free: 54.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/6.44, allocations: 0 / 1.585 GB, free: 54.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/6.441, allocations: 195.4 kB / 1.585 GB, free: 54.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/6.443, allocations: 165.8 kB / 1.585 GB, free: 54.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/6.445, allocations: 0.6147 MB / 1.586 GB, free: 54.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000681/6.445, allocations: 0.8923 MB / 1.586 GB, free: 53.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/6.445, allocations: 3.938 kB / 1.586 GB, free: 53.89 MB / 426.7 MB