Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_2_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.65/1.65, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2103/1.86, allocations: 46.83 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/1.95, allocations: 44.51 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.99/15.94, allocations: 6.529 GB / 6.816 GB, free: 33.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/15.94, allocations: 76.7 kB / 6.816 GB, free: 33.47 MB / 410.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.356/19.3, allocations: 0.6665 GB / 7.482 GB, free: 22.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/19.3, allocations: 10.25 kB / 7.482 GB, free: 22.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00071/19.3, allocations: 80.28 kB / 7.482 GB, free: 22.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009947/19.3, allocations: 448.3 kB / 7.483 GB, free: 22.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/19.3, allocations: 22.41 kB / 7.483 GB, free: 22.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/19.3, allocations: 36.44 kB / 7.483 GB, free: 22.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001962/19.3, allocations: 0.808 MB / 7.484 GB, free: 22.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/19.3, allocations: 0.5816 MB / 7.484 GB, free: 22.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/19.3, allocations: 0 / 7.484 GB, free: 22.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/19.3, allocations: 1.312 kB / 7.484 GB, free: 22.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/19.3, allocations: 17.09 kB / 7.484 GB, free: 22.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02268/19.32, allocations: 12.57 MB / 7.497 GB, free: 26.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/19.33, allocations: 439.1 kB / 7.497 GB, free: 26.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/19.33, allocations: 401.5 kB / 7.497 GB, free: 26.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05532/19.38, allocations: 30.26 MB / 7.527 GB, free: 28.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.593e-05/19.38, allocations: 46.41 kB / 7.527 GB, free: 28.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.958e-06/19.38, allocations: 0 / 7.527 GB, free: 28.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.01224/19.4, allocations: 2.36 MB / 7.529 GB, free: 28.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/19.4, allocations: 62.5 kB / 7.529 GB, free: 28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008014/19.4, allocations: 254.4 kB / 7.53 GB, free: 27.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003816/19.4, allocations: 30.17 kB / 7.53 GB, free: 27.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/19.4, allocations: 215 kB / 7.53 GB, free: 27.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/19.4, allocations: 305.6 kB / 7.53 GB, free: 27.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/19.4, allocations: 0 / 7.53 GB, free: 27.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/19.4, allocations: 358 kB / 7.53 GB, free: 27.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/19.4, allocations: 316.9 kB / 7.531 GB, free: 27.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/19.4, allocations: 422.1 kB / 7.531 GB, free: 27.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/19.4, allocations: 0.4985 MB / 7.532 GB, free: 27.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/19.4, allocations: 0 / 7.532 GB, free: 27.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.005879/19.41, allocations: 1.092 MB / 7.533 GB, free: 27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/19.41, allocations: 7.5 kB / 7.533 GB, free: 27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/19.41, allocations: 3.406 kB / 7.533 GB, free: 27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/19.41, allocations: 118.7 kB / 7.533 GB, free: 26.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/19.41, allocations: 188.5 kB / 7.533 GB, free: 26.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004134/19.42, allocations: 3.864 MB / 7.537 GB, free: 23.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/19.42, allocations: 50.03 kB / 7.537 GB, free: 23.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/19.42, allocations: 44.14 kB / 7.537 GB, free: 23.41 MB / 490.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.0003999/19.42, allocations: 128 kB / 7.537 GB, free: 23.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/19.42, allocations: 55.34 kB / 7.537 GB, free: 23.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/19.42, allocations: 1.161 MB / 7.538 GB, free: 23.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/19.42, allocations: 7.812 kB / 7.538 GB, free: 23.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/19.42, allocations: 0 / 7.538 GB, free: 23.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003345/19.43, allocations: 1.384 MB / 7.54 GB, free: 22.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006198/19.43, allocations: 2.049 MB / 7.542 GB, free: 22.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/19.43, allocations: 3.156 kB / 7.542 GB, free: 22.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/19.43, allocations: 187.4 kB / 7.542 GB, free: 22.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/19.44, allocations: 139.9 kB / 7.542 GB, free: 22.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/19.44, allocations: 20.3 kB / 7.542 GB, free: 22.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/19.44, allocations: 1.369 MB / 7.543 GB, free: 20.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/19.44, allocations: 6.719 kB / 7.543 GB, free: 20.92 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004809/19.44, allocations: 1.592 MB / 7.545 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006829/19.45, allocations: 2.568 MB / 7.547 GB, free: 19.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/19.45, allocations: 135.7 kB / 7.547 GB, free: 19.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/19.45, allocations: 9.594 kB / 7.547 GB, free: 19.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/19.45, allocations: 42.33 kB / 7.547 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/19.45, allocations: 53.48 kB / 7.548 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/19.45, allocations: 56.41 kB / 7.548 GB, free: 19.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003509/19.45, allocations: 213.4 kB / 7.548 GB, free: 19.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0139/19.47, allocations: 2.639 MB / 7.55 GB, free: 19.12 MB / 490.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.02074/19.49, allocations: 3.612 MB / 7.554 GB, free: 18.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002706/19.49, allocations: 1.073 MB / 7.555 GB, free: 18.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/19.49, allocations: 3.438 kB / 7.555 GB, free: 18.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/19.49, allocations: 0.4923 MB / 7.555 GB, free: 18.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/19.49, allocations: 314 kB / 7.556 GB, free: 18.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/19.5, allocations: 1.423 MB / 7.557 GB, free: 17.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/19.5, allocations: 1.057 MB / 7.558 GB, free: 17.19 MB / 490.7 MB Notification: Performance of SimCode: time 1.793e-06/19.5, allocations: 0 / 7.558 GB, free: 17.19 MB / 490.7 MB