Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",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.813/1.813, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2565/2.07, allocations: 46.84 MB / 249.4 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/2.159, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4535/2.613, allocations: 184.9 MB / 478.8 MB, free: 5.984 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/2.613, allocations: 91.17 kB / 478.9 MB, free: 5.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 1.23/3.843, allocations: 300.9 MB / 0.7615 GB, free: 31.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/3.843, allocations: 15.98 kB / 0.7615 GB, free: 31.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/3.844, allocations: 39.62 kB / 0.7615 GB, free: 31.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/3.844, allocations: 306.4 kB / 0.7618 GB, free: 31.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/3.844, allocations: 11.98 kB / 0.7618 GB, free: 31.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/3.844, allocations: 16 kB / 0.7618 GB, free: 31.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004821/3.845, allocations: 177.2 kB / 0.762 GB, free: 31.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/3.845, allocations: 306.2 kB / 0.7623 GB, free: 31.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/3.845, allocations: 3.938 kB / 0.7623 GB, free: 31.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.669e-05/3.845, allocations: 0 / 0.7623 GB, free: 31.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/3.845, allocations: 11.98 kB / 0.7623 GB, free: 31.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/3.848, allocations: 2.069 MB / 0.7643 GB, free: 28.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/3.848, allocations: 141.7 kB / 0.7645 GB, free: 28.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/3.849, allocations: 80.78 kB / 0.7645 GB, free: 28.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/3.849, allocations: 284.2 kB / 0.7648 GB, free: 28.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/3.849, allocations: 30.56 kB / 0.7648 GB, free: 28.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.765e-06/3.849, allocations: 0 / 0.7648 GB, free: 28.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.005051/3.854, allocations: 0.9768 MB / 0.7658 GB, free: 27.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/3.854, allocations: 55.41 kB / 0.7658 GB, free: 27.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/3.855, allocations: 200 kB / 0.766 GB, free: 26.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/3.855, allocations: 29.7 kB / 0.7661 GB, free: 26.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/3.855, allocations: 168.1 kB / 0.7662 GB, free: 26.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/3.855, allocations: 110.4 kB / 0.7663 GB, free: 26.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/3.855, allocations: 0 / 0.7663 GB, free: 26.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/3.855, allocations: 334.8 kB / 0.7666 GB, free: 26.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/3.856, allocations: 76.75 kB / 0.7667 GB, free: 26.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/3.856, allocations: 166.2 kB / 0.7669 GB, free: 25.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/3.859, allocations: 147.9 kB / 0.767 GB, free: 25.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/3.859, allocations: 0 / 0.767 GB, free: 25.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003342/3.862, allocations: 405.5 kB / 0.7674 GB, free: 25.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/3.862, allocations: 10.03 kB / 0.7674 GB, free: 25.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/3.862, allocations: 0 / 0.7674 GB, free: 25.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006786/3.863, allocations: 93.06 kB / 0.7675 GB, free: 25.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/3.864, allocations: 79.89 kB / 0.7676 GB, free: 25.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/3.865, allocations: 0.6966 MB / 0.7683 GB, free: 24.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/3.866, allocations: 8 kB / 0.7683 GB, free: 24.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/3.866, allocations: 39.98 kB / 0.7683 GB, free: 24.42 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002235/3.866, allocations: 125.6 kB / 0.7684 GB, free: 24.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/3.866, allocations: 31.66 kB / 0.7685 GB, free: 24.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003354/3.87, allocations: 0.7432 MB / 0.7692 GB, free: 23.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.984e-05/3.87, allocations: 19.92 kB / 0.7692 GB, free: 23.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/3.87, allocations: 0 / 0.7692 GB, free: 23.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001484/3.871, allocations: 0.7426 MB / 0.7699 GB, free: 22.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/3.874, allocations: 0.9256 MB / 0.7708 GB, free: 21.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/3.874, allocations: 0 / 0.7708 GB, free: 21.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/3.874, allocations: 39.97 kB / 0.7709 GB, free: 21.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/3.875, allocations: 84.75 kB / 0.7709 GB, free: 21.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/3.875, allocations: 11.98 kB / 0.771 GB, free: 21.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008338/3.875, allocations: 0.6732 MB / 0.7716 GB, free: 20.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/3.875, allocations: 8.031 kB / 0.7716 GB, free: 20.84 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001852/3.877, allocations: 0.7443 MB / 0.7723 GB, free: 20.07 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002551/3.88, allocations: 1.368 MB / 0.7737 GB, free: 18.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/3.88, allocations: 104.7 kB / 0.7738 GB, free: 18.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/3.88, allocations: 0 / 0.7738 GB, free: 18.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/3.881, allocations: 23.95 kB / 0.7738 GB, free: 18.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/3.881, allocations: 19.97 kB / 0.7738 GB, free: 18.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-05/3.881, allocations: 39.98 kB / 0.7739 GB, free: 18.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001891/3.881, allocations: 152.5 kB / 0.774 GB, free: 18.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002169/3.883, allocations: 275.7 kB / 0.7743 GB, free: 18.06 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 21 * Array equations: 6 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/3.884, allocations: 347.5 kB / 0.7746 GB, free: 17.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009998/3.885, allocations: 327.4 kB / 0.7749 GB, free: 17.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/3.885, allocations: 0 / 0.7749 GB, free: 17.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006293/3.886, allocations: 215 kB / 0.7751 GB, free: 17.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/3.887, allocations: 133.1 kB / 0.7752 GB, free: 17.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04768/3.935, allocations: 16 MB / 0.7909 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008225/3.936, allocations: 0.8951 MB / 0.7918 GB, free: 40 kB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/3.936, allocations: 0 / 0.7918 GB, free: 40 kB / 394.7 MB