Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_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(ModelicaTest): time 1.919/1.919, allocations: 209.3 MB / 216.3 MB, free: 6.781 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2794/2.198, allocations: 51.05 MB / 267.3 MB, free: 5.105 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/2.307, allocations: 48.69 MB / 316 MB, free: 4.324 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.074/4.381, allocations: 0.8073 GB / 1.116 GB, free: 14.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/4.382, allocations: 99.12 kB / 1.116 GB, free: 14.05 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 4.231/8.612, allocations: 0.732 GB / 1.848 GB, free: 64.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/8.612, allocations: 16.41 kB / 1.848 GB, free: 64.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/8.615, allocations: 284.3 kB / 1.848 GB, free: 64.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/8.619, allocations: 0.6915 MB / 1.849 GB, free: 64.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/8.619, allocations: 88.88 kB / 1.849 GB, free: 64.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/8.619, allocations: 37.16 kB / 1.849 GB, free: 64.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002781/8.622, allocations: 0.8925 MB / 1.85 GB, free: 64.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/8.625, allocations: 1.136 MB / 1.851 GB, free: 64.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/8.625, allocations: 4.312 kB / 1.851 GB, free: 64.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/8.625, allocations: 6.5 kB / 1.851 GB, free: 64.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/8.626, allocations: 73.73 kB / 1.851 GB, free: 64.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/8.64, allocations: 4.555 MB / 1.856 GB, free: 61.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/8.641, allocations: 198.1 kB / 1.856 GB, free: 61.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/8.641, allocations: 128.1 kB / 1.856 GB, free: 61.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/8.642, allocations: 11.61 kB / 1.856 GB, free: 61.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/8.642, allocations: 45.31 kB / 1.856 GB, free: 61.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 9.909e-06/8.642, allocations: 0 / 1.856 GB, free: 61.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.01552/8.657, allocations: 1.508 MB / 1.857 GB, free: 61.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/8.657, allocations: 132.1 kB / 1.858 GB, free: 61.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/8.66, allocations: 0.6915 MB / 1.858 GB, free: 60.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001762/8.66, allocations: 28.98 kB / 1.858 GB, free: 60.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005658/8.66, allocations: 0.5169 MB / 1.859 GB, free: 60.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/8.661, allocations: 123.6 kB / 1.859 GB, free: 60.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/8.661, allocations: 0 / 1.859 GB, free: 60.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002256/8.661, allocations: 390.8 kB / 1.859 GB, free: 60.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/8.662, allocations: 257.8 kB / 1.859 GB, free: 60.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/8.664, allocations: 0.8911 MB / 1.86 GB, free: 59.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/8.666, allocations: 460.8 kB / 1.861 GB, free: 59.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/8.666, allocations: 3.594 kB / 1.861 GB, free: 59.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004945/8.671, allocations: 1.11 MB / 1.862 GB, free: 59.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/8.671, allocations: 6.125 kB / 1.862 GB, free: 59.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.893e-05/8.671, allocations: 21.72 kB / 1.862 GB, free: 59.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/8.674, allocations: 265.5 kB / 1.862 GB, free: 59.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/8.676, allocations: 222.1 kB / 1.862 GB, free: 59.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/8.678, allocations: 0.9058 MB / 1.863 GB, free: 58.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/8.681, allocations: 52.62 kB / 1.863 GB, free: 58.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/8.682, allocations: 67.31 kB / 1.863 GB, free: 58.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (122): * Single equations (assignments): 121 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004754/8.682, allocations: 162.3 kB / 1.864 GB, free: 58.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/8.683, allocations: 84.56 kB / 1.864 GB, free: 58.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/8.685, allocations: 453.6 kB / 1.864 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/8.685, allocations: 3.719 kB / 1.864 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/8.685, allocations: 0 / 1.864 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/8.685, allocations: 9.453 kB / 1.864 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004377/8.689, allocations: 1.009 MB / 1.865 GB, free: 58.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/8.689, allocations: 0 / 1.865 GB, free: 58.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003183/8.693, allocations: 173 kB / 1.865 GB, free: 58.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/8.693, allocations: 22.06 kB / 1.865 GB, free: 58.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.154e-05/8.693, allocations: 7.844 kB / 1.865 GB, free: 58.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/8.696, allocations: 2.576 MB / 1.868 GB, free: 55.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/8.697, allocations: 0 / 1.868 GB, free: 55.56 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002582/8.699, allocations: 0.6464 MB / 1.868 GB, free: 55.35 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003727/8.703, allocations: 1.276 MB / 1.87 GB, free: 54.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/8.704, allocations: 194.1 kB / 1.87 GB, free: 54.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/8.705, allocations: 6.25 kB / 1.87 GB, free: 54.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/8.706, allocations: 23.44 kB / 1.87 GB, free: 54.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/8.707, allocations: 17.98 kB / 1.87 GB, free: 54.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/8.707, allocations: 17.64 kB / 1.87 GB, free: 54.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001471/8.708, allocations: 0.4992 MB / 1.87 GB, free: 54.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006164/8.714, allocations: 0.5723 MB / 1.871 GB, free: 54.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (32): * Single equations (assignments): 30 * 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.008659/8.723, allocations: 1.684 MB / 1.873 GB, free: 54.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003034/8.726, allocations: 0.6337 MB / 1.873 GB, free: 54.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/8.726, allocations: 0 / 1.873 GB, free: 54.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003109/8.729, allocations: 376 kB / 1.874 GB, free: 54.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004275/8.734, allocations: 293 kB / 1.874 GB, free: 54.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/8.739, allocations: 1.191 MB / 1.875 GB, free: 53.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/8.741, allocations: 1.135 MB / 1.876 GB, free: 53.02 MB / 442.7 MB Notification: Performance of SimCode: time 2.185e-06/8.741, allocations: 0 / 1.876 GB, free: 53.02 MB / 442.7 MB