Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_2_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.291/2.291, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1991/2.49, allocations: 57.23 MB / 299.2 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/2.788, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.236/5.024, allocations: 0.8206 GB / 1.166 GB, free: 110 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/5.025, allocations: 92.89 kB / 1.166 GB, free: 110 MB / 474.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.5/8.525, allocations: 0.7113 GB / 1.878 GB, free: 69.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/8.525, allocations: 7.625 kB / 1.878 GB, free: 69.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/8.528, allocations: 315.3 kB / 1.878 GB, free: 69.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003272/8.531, allocations: 0.8322 MB / 1.879 GB, free: 68.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/8.531, allocations: 104.1 kB / 1.879 GB, free: 68.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/8.532, allocations: 62.56 kB / 1.879 GB, free: 68.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00416/8.536, allocations: 1.489 MB / 1.88 GB, free: 68.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/8.54, allocations: 1.643 MB / 1.882 GB, free: 68.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.817e-05/8.54, allocations: 10.47 kB / 1.882 GB, free: 68.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/8.54, allocations: 2.906 kB / 1.882 GB, free: 68.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/8.541, allocations: 79.34 kB / 1.882 GB, free: 68.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01619/8.557, allocations: 6.714 MB / 1.889 GB, free: 65.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/8.558, allocations: 0.5232 MB / 1.889 GB, free: 65.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009117/8.559, allocations: 369.1 kB / 1.89 GB, free: 65.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005363/8.56, allocations: 242.7 kB / 1.89 GB, free: 64.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/8.56, allocations: 48.44 kB / 1.89 GB, free: 64.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 5.08e-06/8.56, allocations: 0 / 1.89 GB, free: 64.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.02046/8.581, allocations: 3.336 MB / 1.893 GB, free: 64.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/8.581, allocations: 114.4 kB / 1.893 GB, free: 64.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/8.582, allocations: 0.5959 MB / 1.894 GB, free: 64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/8.582, allocations: 29.52 kB / 1.894 GB, free: 63.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/8.582, allocations: 0.5085 MB / 1.894 GB, free: 63.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/8.583, allocations: 238.1 kB / 1.894 GB, free: 63.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/8.583, allocations: 0 / 1.894 GB, free: 63.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/8.583, allocations: 390.5 kB / 1.895 GB, free: 63.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/8.584, allocations: 0.5349 MB / 1.895 GB, free: 63.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/8.586, allocations: 0.909 MB / 1.896 GB, free: 62.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/8.587, allocations: 0.6708 MB / 1.897 GB, free: 62.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/8.588, allocations: 6.969 kB / 1.897 GB, free: 62.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004731/8.592, allocations: 1.823 MB / 1.899 GB, free: 62.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/8.592, allocations: 14.3 kB / 1.899 GB, free: 62.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/8.592, allocations: 14.28 kB / 1.899 GB, free: 62.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007914/8.6, allocations: 1.15 MB / 1.9 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/8.602, allocations: 184.9 kB / 1.9 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004164/8.606, allocations: 1.87 MB / 1.902 GB, free: 62.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/8.608, allocations: 93.19 kB / 1.902 GB, free: 62.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/8.609, allocations: 95.39 kB / 1.902 GB, free: 62.16 MB / 490.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.0004652/8.609, allocations: 146.8 kB / 1.902 GB, free: 62.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/8.609, allocations: 78.38 kB / 1.902 GB, free: 62.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/8.613, allocations: 1.291 MB / 1.904 GB, free: 61.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/8.613, allocations: 7.125 kB / 1.904 GB, free: 61.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/8.613, allocations: 0 / 1.904 GB, free: 61.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/8.613, allocations: 3.469 kB / 1.904 GB, free: 61.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006046/8.619, allocations: 2.387 MB / 1.906 GB, free: 61.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/8.619, allocations: 2.688 kB / 1.906 GB, free: 61.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003609/8.623, allocations: 299.4 kB / 1.906 GB, free: 61.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/8.623, allocations: 82.45 kB / 1.906 GB, free: 61.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/8.624, allocations: 29.55 kB / 1.906 GB, free: 61.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/8.626, allocations: 2.786 MB / 1.909 GB, free: 59.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/8.626, allocations: 0 / 1.909 GB, free: 59.15 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003946/8.63, allocations: 1.702 MB / 1.911 GB, free: 58.93 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005864/8.636, allocations: 2.761 MB / 1.913 GB, free: 58.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/8.638, allocations: 290.9 kB / 1.914 GB, free: 58.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/8.638, allocations: 15.53 kB / 1.914 GB, free: 58.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/8.64, allocations: 66.05 kB / 1.914 GB, free: 58.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/8.64, allocations: 36.44 kB / 1.914 GB, free: 58.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/8.64, allocations: 63.25 kB / 1.914 GB, free: 58.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008926/8.641, allocations: 460.4 kB / 1.914 GB, free: 58.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004191/8.645, allocations: 0.6487 MB / 1.915 GB, free: 58.05 MB / 490.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.005491/8.651, allocations: 1.683 MB / 1.917 GB, free: 57.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003712/8.655, allocations: 1.377 MB / 1.918 GB, free: 57.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/8.655, allocations: 4.438 kB / 1.918 GB, free: 57.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002975/8.658, allocations: 0.8224 MB / 1.919 GB, free: 57.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/8.661, allocations: 351.6 kB / 1.919 GB, free: 57.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007186/8.668, allocations: 2.222 MB / 1.921 GB, free: 57.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/8.671, allocations: 1.396 MB / 1.923 GB, free: 56.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/8.671, allocations: 0 / 1.923 GB, free: 56.58 MB / 490.7 MB