Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_2_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 2.375/2.375, allocations: 235 MB / 241.9 MB, free: 3.867 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1905/2.565, allocations: 57.2 MB / 299.1 MB, free: 10.59 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/2.865, allocations: 54.84 MB / 354 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.964/4.829, allocations: 0.8214 GB / 1.167 GB, free: 31.06 MB / 478.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/4.83, allocations: 90.83 kB / 1.167 GB, free: 31.02 MB / 478.1 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 3.688/8.518, allocations: 0.7357 GB / 1.903 GB, free: 8.902 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/8.518, allocations: 8 kB / 1.903 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/8.52, allocations: 286.5 kB / 1.903 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/8.523, allocations: 0.6854 MB / 1.904 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/8.523, allocations: 93.39 kB / 1.904 GB, free: 7.785 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/8.523, allocations: 36 kB / 1.904 GB, free: 7.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002528/8.525, allocations: 0.8903 MB / 1.905 GB, free: 6.859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/8.528, allocations: 1.144 MB / 1.906 GB, free: 5.641 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/8.528, allocations: 11.91 kB / 1.906 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/8.528, allocations: 4 kB / 1.906 GB, free: 5.625 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-05/8.529, allocations: 69.28 kB / 1.906 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009715/8.538, allocations: 4.892 MB / 1.911 GB, free: 400 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/8.539, allocations: 194.4 kB / 1.911 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/8.539, allocations: 133.2 kB / 1.911 GB, free: 64 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003971/8.54, allocations: 243.7 kB / 1.911 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/8.54, allocations: 42.72 kB / 1.911 GB, free: 15.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 3.407e-06/8.54, allocations: 4 kB / 1.911 GB, free: 15.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.01023/8.55, allocations: 1.506 MB / 1.913 GB, free: 14.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/8.55, allocations: 136.5 kB / 1.913 GB, free: 13.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/8.552, allocations: 0.6952 MB / 1.914 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.833e-05/8.552, allocations: 25.7 kB / 1.914 GB, free: 13.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/8.552, allocations: 0.5233 MB / 1.914 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/8.553, allocations: 126.4 kB / 1.914 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/8.553, allocations: 0 / 1.914 GB, free: 12.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000273/8.553, allocations: 386.8 kB / 1.915 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/8.554, allocations: 262.5 kB / 1.915 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/8.557, allocations: 0.9002 MB / 1.916 GB, free: 10.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/8.558, allocations: 463.2 kB / 1.916 GB, free: 10.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/8.559, allocations: 8 kB / 1.916 GB, free: 10.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003714/8.562, allocations: 1.146 MB / 1.917 GB, free: 9.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/8.562, allocations: 4.188 kB / 1.917 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/8.562, allocations: 24 kB / 1.917 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/8.564, allocations: 256.5 kB / 1.918 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/8.566, allocations: 235.6 kB / 1.918 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/8.568, allocations: 0.905 MB / 1.919 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/8.571, allocations: 55.91 kB / 1.919 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005438/8.572, allocations: 91.98 kB / 1.919 GB, free: 7.504 MB / 494.1 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.0006021/8.572, allocations: 158.2 kB / 1.919 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/8.573, allocations: 86.97 kB / 1.919 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/8.575, allocations: 460.4 kB / 1.92 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/8.575, allocations: 0 / 1.92 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/8.575, allocations: 4 kB / 1.92 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/8.575, allocations: 0 / 1.92 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004242/8.58, allocations: 1.004 MB / 1.921 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/8.58, allocations: 3.938 kB / 1.921 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/8.582, allocations: 175.8 kB / 1.921 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001727/8.583, allocations: 24.88 kB / 1.921 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-05/8.583, allocations: 4 kB / 1.921 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/8.586, allocations: 2.584 MB / 1.923 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/8.586, allocations: 0 / 1.923 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001705/8.588, allocations: 0.6423 MB / 1.924 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002432/8.59, allocations: 1.276 MB / 1.925 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005964/8.591, allocations: 200 kB / 1.925 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/8.591, allocations: 4 kB / 1.925 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009241/8.592, allocations: 20.05 kB / 1.925 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/8.592, allocations: 19.95 kB / 1.925 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/8.592, allocations: 19.98 kB / 1.925 GB, free: 468 kB / 494.1 MB Notification: Performance of sort global known variables: time 0.2191/8.811, allocations: 0.5008 MB / 1.926 GB, free: 125.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004211/8.816, allocations: 0.5667 MB / 1.927 GB, free: 125.9 MB / 494.1 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.005394/8.821, allocations: 1.623 MB / 1.928 GB, free: 125.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002147/8.823, allocations: 0.6472 MB / 1.929 GB, free: 125.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/8.823, allocations: 0 / 1.929 GB, free: 125.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/8.825, allocations: 384.6 kB / 1.929 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/8.828, allocations: 298 kB / 1.929 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/8.832, allocations: 1.143 MB / 1.93 GB, free: 125.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/8.834, allocations: 1.19 MB / 1.932 GB, free: 124.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.853e-06/8.834, allocations: 0 / 1.932 GB, free: 124.6 MB / 494.1 MB