Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.677/1.677, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2233/1.901, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/2.01, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.65/18.66, allocations: 6.523 GB / 6.775 GB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/18.66, allocations: 80.62 kB / 6.775 GB, free: 75.8 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 3.809/22.46, allocations: 0.665 GB / 7.44 GB, free: 13.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/22.46, allocations: 9.75 kB / 7.44 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008543/22.47, allocations: 79.97 kB / 7.44 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/22.47, allocations: 444.1 kB / 7.441 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/22.47, allocations: 19.81 kB / 7.441 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/22.47, allocations: 35.66 kB / 7.441 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002299/22.47, allocations: 0.8108 MB / 7.441 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/22.47, allocations: 0.5803 MB / 7.442 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.27e-05/22.47, allocations: 6.719 kB / 7.442 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/22.47, allocations: 3.656 kB / 7.442 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/22.47, allocations: 14.84 kB / 7.442 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02549/22.5, allocations: 12.3 MB / 7.454 GB, free: 18.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/22.5, allocations: 448.6 kB / 7.454 GB, free: 18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009853/22.5, allocations: 400.8 kB / 7.455 GB, free: 17.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05909/22.56, allocations: 30.26 MB / 7.484 GB, free: 19.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.351e-05/22.56, allocations: 52.31 kB / 7.484 GB, free: 19.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 4.368e-06/22.56, allocations: 0 / 7.484 GB, free: 19.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.0114/22.57, allocations: 2.371 MB / 7.487 GB, free: 19.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/22.57, allocations: 62.78 kB / 7.487 GB, free: 19.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/22.57, allocations: 254.2 kB / 7.487 GB, free: 18.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/22.57, allocations: 25.7 kB / 7.487 GB, free: 18.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/22.57, allocations: 222.7 kB / 7.487 GB, free: 18.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/22.57, allocations: 292.3 kB / 7.488 GB, free: 18.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/22.57, allocations: 1.875 kB / 7.488 GB, free: 18.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/22.57, allocations: 361 kB / 7.488 GB, free: 18.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008556/22.57, allocations: 314.7 kB / 7.488 GB, free: 18.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009127/22.57, allocations: 420.2 kB / 7.489 GB, free: 18.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/22.58, allocations: 0.497 MB / 7.489 GB, free: 18.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/22.58, allocations: 0 / 7.489 GB, free: 18.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004686/22.58, allocations: 1.097 MB / 7.49 GB, free: 18.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/22.58, allocations: 6.125 kB / 7.49 GB, free: 18.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/22.58, allocations: 3.875 kB / 7.49 GB, free: 18.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005528/22.58, allocations: 111.7 kB / 7.49 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/22.58, allocations: 195 kB / 7.49 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004899/22.59, allocations: 3.862 MB / 7.494 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/22.59, allocations: 40.52 kB / 7.494 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/22.59, allocations: 49.14 kB / 7.494 GB, free: 14.46 MB / 426.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: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004453/22.59, allocations: 148.1 kB / 7.494 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006368/22.59, allocations: 57.31 kB / 7.495 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/22.59, allocations: 1.165 MB / 7.496 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/22.6, allocations: 11.12 kB / 7.496 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/22.6, allocations: 1.688 kB / 7.496 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003892/22.6, allocations: 1.379 MB / 7.497 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00688/22.61, allocations: 2.049 MB / 7.499 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/22.61, allocations: 1.062 kB / 7.499 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/22.61, allocations: 185.8 kB / 7.499 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/22.61, allocations: 141.9 kB / 7.499 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/22.61, allocations: 26.38 kB / 7.499 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/22.61, allocations: 1.375 MB / 7.501 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/22.61, allocations: 3.344 kB / 7.501 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005302/22.62, allocations: 1.591 MB / 7.502 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00711/22.62, allocations: 2.564 MB / 7.505 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/22.62, allocations: 129.2 kB / 7.505 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/22.62, allocations: 17.89 kB / 7.505 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/22.62, allocations: 34.77 kB / 7.505 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/22.62, allocations: 59.86 kB / 7.505 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/22.62, allocations: 52.61 kB / 7.505 GB, free: 10.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003636/22.63, allocations: 210.8 kB / 7.505 GB, free: 10.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01804/22.64, allocations: 2.633 MB / 7.508 GB, free: 10.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02242/22.67, allocations: 3.597 MB / 7.511 GB, free: 9.527 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004864/22.67, allocations: 1.07 MB / 7.512 GB, free: 9.301 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/22.67, allocations: 4.969 kB / 7.512 GB, free: 9.301 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002099/22.67, allocations: 0.4975 MB / 7.513 GB, free: 9.281 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005171/22.68, allocations: 315.6 kB / 7.513 GB, free: 9.258 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/22.68, allocations: 1.426 MB / 7.515 GB, free: 8.941 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/22.68, allocations: 1.056 MB / 7.516 GB, free: 8.234 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/22.68, allocations: 0 / 7.516 GB, free: 8.234 MB / 426.7 MB