Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_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(Modelica): time 1.717/1.717, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2341/1.951, allocations: 41.12 MB / 219.3 MB, free: 11.16 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/2.047, allocations: 38.76 MB / 258 MB, free: 4.336 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.004/4.051, allocations: 0.695 GB / 0.947 GB, free: 88.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004094/4.051, allocations: 86.44 kB / 0.947 GB, free: 88.89 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 2.991/7.042, allocations: 0.5521 GB / 1.499 GB, free: 54.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/7.042, allocations: 14.69 kB / 1.499 GB, free: 54.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/7.044, allocations: 154.5 kB / 1.499 GB, free: 54.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/7.045, allocations: 483.2 kB / 1.5 GB, free: 54.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/7.045, allocations: 20.5 kB / 1.5 GB, free: 54.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/7.045, allocations: 50.61 kB / 1.5 GB, free: 54.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002187/7.047, allocations: 0.814 MB / 1.501 GB, free: 54.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/7.05, allocations: 0.8293 MB / 1.501 GB, free: 54.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/7.05, allocations: 3.969 kB / 1.501 GB, free: 54.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/7.05, allocations: 0 / 1.501 GB, free: 54.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/7.05, allocations: 18.94 kB / 1.501 GB, free: 54.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007789/7.058, allocations: 2.866 MB / 1.504 GB, free: 53.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/7.059, allocations: 434.1 kB / 1.505 GB, free: 53.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006943/7.059, allocations: 346.3 kB / 1.505 GB, free: 53.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.671e-05/7.059, allocations: 25.55 kB / 1.505 GB, free: 53.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/7.06, allocations: 43.09 kB / 1.505 GB, free: 53.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 5.13e-06/7.06, allocations: 0 / 1.505 GB, free: 53.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.01547/7.075, allocations: 3.077 MB / 1.508 GB, free: 52.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/7.075, allocations: 58.81 kB / 1.508 GB, free: 52.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/7.076, allocations: 326 kB / 1.508 GB, free: 52.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002359/7.076, allocations: 25.7 kB / 1.508 GB, free: 52.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/7.076, allocations: 269.9 kB / 1.509 GB, free: 52.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/7.076, allocations: 244 kB / 1.509 GB, free: 52.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/7.076, allocations: 0 / 1.509 GB, free: 52.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/7.077, allocations: 351.1 kB / 1.509 GB, free: 51.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009849/7.078, allocations: 436.1 kB / 1.51 GB, free: 51.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/7.079, allocations: 0.5008 MB / 1.51 GB, free: 51.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/7.08, allocations: 0.4984 MB / 1.511 GB, free: 51.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/7.08, allocations: 0 / 1.511 GB, free: 51.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003812/7.084, allocations: 1.332 MB / 1.512 GB, free: 51.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/7.084, allocations: 6.562 kB / 1.512 GB, free: 51.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/7.084, allocations: 0 / 1.512 GB, free: 51.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/7.085, allocations: 327.2 kB / 1.512 GB, free: 51.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/7.087, allocations: 176.8 kB / 1.512 GB, free: 51.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/7.101, allocations: 9.81 MB / 1.522 GB, free: 42.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/7.102, allocations: 58.84 kB / 1.522 GB, free: 42.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/7.103, allocations: 44.38 kB / 1.522 GB, free: 42.59 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[2]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[3]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[4]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[5]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[6]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004485/7.103, allocations: 148.6 kB / 1.522 GB, free: 42.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/7.103, allocations: 48.94 kB / 1.522 GB, free: 42.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/7.107, allocations: 1.281 MB / 1.524 GB, free: 42.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/7.107, allocations: 8.062 kB / 1.524 GB, free: 42.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/7.107, allocations: 4.062 kB / 1.524 GB, free: 42.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002825/7.11, allocations: 1.568 MB / 1.525 GB, free: 40.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005532/7.116, allocations: 2.135 MB / 1.527 GB, free: 39.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/7.116, allocations: 1.062 kB / 1.527 GB, free: 39.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/7.118, allocations: 221.6 kB / 1.527 GB, free: 39.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/7.119, allocations: 73.12 kB / 1.527 GB, free: 39.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/7.119, allocations: 35.83 kB / 1.528 GB, free: 39.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/7.121, allocations: 1.433 MB / 1.529 GB, free: 38.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/7.121, allocations: 1.031 kB / 1.529 GB, free: 38.61 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00349/7.124, allocations: 1.577 MB / 1.53 GB, free: 37.88 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005092/7.129, allocations: 2.557 MB / 1.533 GB, free: 36.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/7.13, allocations: 128.4 kB / 1.533 GB, free: 36.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/7.13, allocations: 14.89 kB / 1.533 GB, free: 36.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/7.131, allocations: 60.78 kB / 1.533 GB, free: 36.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/7.132, allocations: 45.75 kB / 1.533 GB, free: 36.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000751/7.132, allocations: 67.53 kB / 1.533 GB, free: 36.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0008726/7.133, allocations: 244.4 kB / 1.533 GB, free: 36.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003667/7.137, allocations: 458.1 kB / 1.534 GB, free: 36.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 76 * 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.00474/7.142, allocations: 1.391 MB / 1.535 GB, free: 35.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00357/7.145, allocations: 1.73 MB / 1.537 GB, free: 34.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/7.146, allocations: 8 kB / 1.537 GB, free: 34.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/7.147, allocations: 0.6636 MB / 1.538 GB, free: 34.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005026/7.153, allocations: 297.2 kB / 1.538 GB, free: 33.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008856/7.161, allocations: 1.846 MB / 1.54 GB, free: 32.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/7.163, allocations: 1.111 MB / 1.541 GB, free: 31.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/7.163, allocations: 0 / 1.541 GB, free: 31.48 MB / 362.7 MB