Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.668/1.668, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.23/1.898, allocations: 41.1 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/1.999, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.69/18.69, allocations: 6.523 GB / 6.775 GB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/18.69, allocations: 69.59 kB / 6.775 GB, free: 75.82 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 4.991/23.68, allocations: 0.8323 GB / 7.607 GB, free: 26.14 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/23.68, allocations: 7.828 kB / 7.607 GB, free: 26.14 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/23.68, allocations: 60.84 kB / 7.607 GB, free: 26.11 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/23.69, allocations: 361 kB / 7.608 GB, free: 25.89 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/23.69, allocations: 17.69 kB / 7.608 GB, free: 25.89 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/23.69, allocations: 24.38 kB / 7.608 GB, free: 25.89 MB / 394.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001661/23.69, allocations: 0.5789 MB / 7.608 GB, free: 25.89 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/23.69, allocations: 429.5 kB / 7.609 GB, free: 25.85 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/23.69, allocations: 0 / 7.609 GB, free: 25.85 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/23.69, allocations: 0.9844 kB / 7.609 GB, free: 25.85 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/23.69, allocations: 10.75 kB / 7.609 GB, free: 25.85 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02259/23.71, allocations: 11.63 MB / 7.62 GB, free: 15.13 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/23.71, allocations: 322.8 kB / 7.62 GB, free: 15.1 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006789/23.71, allocations: 251.4 kB / 7.621 GB, free: 15.09 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04108/23.75, allocations: 20.18 MB / 7.64 GB, free: 10.82 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.808e-05/23.75, allocations: 44.25 kB / 7.64 GB, free: 10.78 MB / 410.8 MB Notification: Performance of pre-optimization done (n=50): time 7.103e-06/23.75, allocations: 3.75 kB / 7.64 GB, free: 10.78 MB / 410.8 MB Notification: Performance of matching and sorting (n=55): time 0.01176/23.77, allocations: 1.522 MB / 7.642 GB, free: 10.41 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/23.77, allocations: 54.97 kB / 7.642 GB, free: 10.34 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/23.77, allocations: 237.3 kB / 7.642 GB, free: 10.24 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002026/23.77, allocations: 25.7 kB / 7.642 GB, free: 10.21 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/23.77, allocations: 190.8 kB / 7.642 GB, free: 10.06 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/23.77, allocations: 181.7 kB / 7.643 GB, free: 9.941 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/23.77, allocations: 0 / 7.643 GB, free: 9.941 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001966/23.77, allocations: 354.2 kB / 7.643 GB, free: 9.625 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000603/23.77, allocations: 202.5 kB / 7.643 GB, free: 9.625 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/23.77, allocations: 291.4 kB / 7.643 GB, free: 9.539 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/23.77, allocations: 341.7 kB / 7.644 GB, free: 9.539 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/23.77, allocations: 0 / 7.644 GB, free: 9.539 MB / 410.8 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003281/23.77, allocations: 0.7331 MB / 7.644 GB, free: 9.457 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/23.77, allocations: 6.844 kB / 7.644 GB, free: 9.457 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/23.77, allocations: 1.312 kB / 7.644 GB, free: 9.457 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003654/23.77, allocations: 86.28 kB / 7.645 GB, free: 9.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/23.78, allocations: 120.8 kB / 7.645 GB, free: 9.43 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/23.78, allocations: 3.185 MB / 7.648 GB, free: 6.465 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008297/23.78, allocations: 24.95 kB / 7.648 GB, free: 6.465 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.62e-05/23.78, allocations: 33.19 kB / 7.648 GB, free: 6.465 MB / 410.8 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 (67): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {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.0003447/23.78, allocations: 126.6 kB / 7.648 GB, free: 6.352 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004671/23.78, allocations: 39.56 kB / 7.648 GB, free: 6.336 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/23.78, allocations: 0.7458 MB / 7.649 GB, free: 6.254 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/23.78, allocations: 7.125 kB / 7.649 GB, free: 6.254 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/23.78, allocations: 0 / 7.649 GB, free: 6.254 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00227/23.79, allocations: 0.8061 MB / 7.649 GB, free: 21.89 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004153/23.79, allocations: 1.397 MB / 7.651 GB, free: 21.54 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/23.79, allocations: 3.469 kB / 7.651 GB, free: 21.54 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/23.79, allocations: 115.8 kB / 7.651 GB, free: 21.54 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/23.79, allocations: 70.97 kB / 7.651 GB, free: 21.52 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.759e-05/23.79, allocations: 13.25 kB / 7.651 GB, free: 21.52 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008972/23.79, allocations: 0.6905 MB / 7.652 GB, free: 20.94 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/23.79, allocations: 3.25 kB / 7.652 GB, free: 20.94 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004133/23.8, allocations: 1.081 MB / 7.653 GB, free: 20.59 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005891/23.8, allocations: 1.944 MB / 7.655 GB, free: 19.88 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/23.8, allocations: 127.5 kB / 7.655 GB, free: 19.76 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/23.8, allocations: 5.219 kB / 7.655 GB, free: 19.76 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009308/23.8, allocations: 32.38 kB / 7.655 GB, free: 19.75 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/23.8, allocations: 37.83 kB / 7.655 GB, free: 19.75 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/23.8, allocations: 36.06 kB / 7.655 GB, free: 19.75 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.0004652/23.8, allocations: 188.7 kB / 7.655 GB, free: 19.68 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01713/23.82, allocations: 2.316 MB / 7.657 GB, free: 19.29 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (61): * Single equations (assignments): 60 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01936/23.84, allocations: 3.306 MB / 7.661 GB, free: 18.7 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00201/23.84, allocations: 0.7585 MB / 7.661 GB, free: 18.48 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/23.84, allocations: 0 / 7.661 GB, free: 18.48 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007555/23.84, allocations: 308.5 kB / 7.662 GB, free: 18.46 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/23.85, allocations: 210.8 kB / 7.662 GB, free: 18.46 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/23.85, allocations: 0.902 MB / 7.663 GB, free: 18.22 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009605/23.85, allocations: 0.9371 MB / 7.664 GB, free: 17.5 MB / 426.8 MB Notification: Performance of SimCode: time 1.273e-06/23.85, allocations: 3.5 kB / 7.664 GB, free: 17.5 MB / 426.8 MB