Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",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.737/1.737, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2563/1.993, allocations: 46.84 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/2.086, allocations: 44.52 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.098/10.18, allocations: 3.616 GB / 3.903 GB, free: 55.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/10.18, allocations: 88.81 kB / 3.903 GB, free: 55.13 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 1.543/11.73, allocations: 323.5 MB / 4.219 GB, free: 46.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/11.73, allocations: 15.59 kB / 4.219 GB, free: 46.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008668/11.73, allocations: 55.44 kB / 4.219 GB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009907/11.73, allocations: 353.2 kB / 4.219 GB, free: 45.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/11.73, allocations: 16 kB / 4.219 GB, free: 45.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/11.73, allocations: 28 kB / 4.219 GB, free: 45.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001451/11.73, allocations: 0.5642 MB / 4.22 GB, free: 45.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/11.73, allocations: 436.4 kB / 4.22 GB, free: 44.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/11.73, allocations: 0 / 4.22 GB, free: 44.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/11.73, allocations: 4 kB / 4.22 GB, free: 44.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/11.73, allocations: 8 kB / 4.22 GB, free: 44.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004755/11.74, allocations: 2.076 MB / 4.222 GB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/11.74, allocations: 375 kB / 4.223 GB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/11.74, allocations: 250.3 kB / 4.223 GB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/11.74, allocations: 0.7026 MB / 4.224 GB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/11.74, allocations: 39 kB / 4.224 GB, free: 40.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 4.188e-06/11.74, allocations: 4 kB / 4.224 GB, free: 40.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.01967/11.76, allocations: 2.888 MB / 4.227 GB, free: 37.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/11.76, allocations: 64 kB / 4.227 GB, free: 37.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/11.76, allocations: 214.9 kB / 4.227 GB, free: 37.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/11.76, allocations: 25.7 kB / 4.227 GB, free: 37.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/11.76, allocations: 173 kB / 4.227 GB, free: 37.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/11.76, allocations: 220.8 kB / 4.227 GB, free: 37.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/11.76, allocations: 4 kB / 4.227 GB, free: 37.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.919e-05/11.76, allocations: 345.5 kB / 4.228 GB, free: 36.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/11.76, allocations: 261.2 kB / 4.228 GB, free: 36.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007409/11.76, allocations: 335 kB / 4.228 GB, free: 36.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/11.76, allocations: 367 kB / 4.229 GB, free: 35.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/11.76, allocations: 0 / 4.229 GB, free: 35.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003197/11.77, allocations: 0.9227 MB / 4.229 GB, free: 35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/11.77, allocations: 7.375 kB / 4.229 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/11.77, allocations: 4 kB / 4.229 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/11.77, allocations: 270.3 kB / 4.23 GB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/11.77, allocations: 123.8 kB / 4.23 GB, free: 34.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003418/11.77, allocations: 3.333 MB / 4.233 GB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/11.77, allocations: 59.86 kB / 4.233 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/11.77, allocations: 31.98 kB / 4.233 GB, free: 30.93 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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 [1] 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 (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003283/11.78, allocations: 120.5 kB / 4.233 GB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/11.78, allocations: 39.53 kB / 4.233 GB, free: 30.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007587/11.78, allocations: 1.301 MB / 4.235 GB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/11.78, allocations: 8 kB / 4.235 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/11.78, allocations: 7.922 kB / 4.235 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006804/11.79, allocations: 1.337 MB / 4.236 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/11.79, allocations: 1.664 MB / 4.238 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/11.79, allocations: 3.938 kB / 4.238 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/11.8, allocations: 115.9 kB / 4.238 GB, free: 26.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/11.8, allocations: 320.3 kB / 4.238 GB, free: 25.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/11.8, allocations: 15.98 kB / 4.238 GB, free: 25.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/11.8, allocations: 0.8268 MB / 4.239 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/11.8, allocations: 7.375 kB / 4.239 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003415/11.8, allocations: 1.399 MB / 4.24 GB, free: 23.49 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004839/11.81, allocations: 2.236 MB / 4.242 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/11.81, allocations: 116.6 kB / 4.242 GB, free: 21.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/11.81, allocations: 8.188 kB / 4.242 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/11.81, allocations: 55.84 kB / 4.243 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/11.81, allocations: 48.42 kB / 4.243 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/11.81, allocations: 35.91 kB / 4.243 GB, free: 20.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002464/11.81, allocations: 176.5 kB / 4.243 GB, free: 20.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003908/11.81, allocations: 0.6283 MB / 4.243 GB, free: 20.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00342/11.82, allocations: 1.352 MB / 4.245 GB, free: 18.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002297/11.82, allocations: 0.8763 MB / 4.246 GB, free: 17.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/11.82, allocations: 4 kB / 4.246 GB, free: 17.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/11.82, allocations: 370.6 kB / 4.246 GB, free: 17.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/11.82, allocations: 216.6 kB / 4.246 GB, free: 17.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/11.83, allocations: 1.078 MB / 4.247 GB, free: 16.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007313/11.83, allocations: 0.9438 MB / 4.248 GB, free: 15.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/11.83, allocations: 0 / 4.248 GB, free: 15.26 MB / 410.7 MB