Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_1_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.979/1.979, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2413/2.22, allocations: 41.12 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/2.314, allocations: 38.76 MB / 258 MB, free: 4.348 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6278/2.942, allocations: 179.8 MB / 437.9 MB, free: 93.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/2.943, allocations: 83.05 kB / 437.9 MB, free: 93.15 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.9696/3.912, allocations: 206.2 MB / 0.6291 GB, free: 41.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/3.912, allocations: 16 kB / 0.6291 GB, free: 41.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/3.913, allocations: 51.55 kB / 0.6291 GB, free: 41.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/3.913, allocations: 295.2 kB / 0.6294 GB, free: 41.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/3.913, allocations: 8 kB / 0.6294 GB, free: 41.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/3.913, allocations: 19.91 kB / 0.6294 GB, free: 41.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004656/3.914, allocations: 157.3 kB / 0.6296 GB, free: 41.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/3.914, allocations: 294.1 kB / 0.6299 GB, free: 40.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/3.914, allocations: 0 / 0.6299 GB, free: 40.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.766e-05/3.915, allocations: 4 kB / 0.6299 GB, free: 40.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/3.915, allocations: 8 kB / 0.6299 GB, free: 40.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/3.917, allocations: 2.003 MB / 0.6318 GB, free: 38.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/3.918, allocations: 135.4 kB / 0.632 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/3.918, allocations: 84.83 kB / 0.632 GB, free: 38.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/3.918, allocations: 253.7 kB / 0.6323 GB, free: 38.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/3.918, allocations: 34.56 kB / 0.6323 GB, free: 38.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 3.156e-06/3.918, allocations: 0 / 0.6323 GB, free: 38.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.003859/3.922, allocations: 0.8141 MB / 0.6331 GB, free: 37.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/3.922, allocations: 55.41 kB / 0.6332 GB, free: 37.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/3.922, allocations: 196.1 kB / 0.6333 GB, free: 37.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/3.922, allocations: 29.7 kB / 0.6334 GB, free: 36.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/3.922, allocations: 168 kB / 0.6335 GB, free: 36.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/3.923, allocations: 102.5 kB / 0.6336 GB, free: 36.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/3.923, allocations: 4 kB / 0.6336 GB, free: 36.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/3.923, allocations: 338.8 kB / 0.634 GB, free: 36.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/3.923, allocations: 68.75 kB / 0.634 GB, free: 36.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/3.923, allocations: 150.5 kB / 0.6342 GB, free: 36.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008614/3.924, allocations: 135.9 kB / 0.6343 GB, free: 35.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/3.924, allocations: 0 / 0.6343 GB, free: 35.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001352/3.925, allocations: 361.7 kB / 0.6346 GB, free: 35.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/3.925, allocations: 8 kB / 0.6347 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/3.925, allocations: 0 / 0.6347 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/3.926, allocations: 92.97 kB / 0.6347 GB, free: 35.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/3.926, allocations: 71.89 kB / 0.6348 GB, free: 35.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009317/3.927, allocations: 0.6896 MB / 0.6355 GB, free: 34.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/3.928, allocations: 15.84 kB / 0.6355 GB, free: 34.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/3.928, allocations: 23.98 kB / 0.6355 GB, free: 34.7 MB / 346.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.0002715/3.928, allocations: 110.2 kB / 0.6356 GB, free: 34.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.3e-05/3.928, allocations: 27.72 kB / 0.6357 GB, free: 34.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/3.93, allocations: 390.8 kB / 0.636 GB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/3.93, allocations: 7.984 kB / 0.636 GB, free: 34.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/3.93, allocations: 4 kB / 0.636 GB, free: 34.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/3.931, allocations: 0.5674 MB / 0.6366 GB, free: 33.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/3.933, allocations: 0.6912 MB / 0.6373 GB, free: 32.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/3.933, allocations: 0 / 0.6373 GB, free: 32.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/3.933, allocations: 35.92 kB / 0.6373 GB, free: 32.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004006/3.934, allocations: 80.83 kB / 0.6374 GB, free: 32.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/3.934, allocations: 8.062 kB / 0.6374 GB, free: 32.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008098/3.935, allocations: 0.6577 MB / 0.638 GB, free: 31.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/3.935, allocations: 7.891 kB / 0.638 GB, free: 31.93 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001386/3.936, allocations: 491 kB / 0.6385 GB, free: 31.41 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001877/3.938, allocations: 1.008 MB / 0.6395 GB, free: 30.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/3.938, allocations: 104.8 kB / 0.6396 GB, free: 30.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/3.938, allocations: 3.984 kB / 0.6396 GB, free: 30.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/3.939, allocations: 19.91 kB / 0.6396 GB, free: 30.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/3.939, allocations: 11.97 kB / 0.6396 GB, free: 30.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/3.939, allocations: 16 kB / 0.6396 GB, free: 30.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002169/3.939, allocations: 168.5 kB / 0.6398 GB, free: 30.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001966/3.941, allocations: 163.9 kB / 0.64 GB, free: 29.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006424/3.942, allocations: 232.5 kB / 0.6402 GB, free: 29.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008906/3.943, allocations: 249.3 kB / 0.6404 GB, free: 29.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/3.943, allocations: 4 kB / 0.6404 GB, free: 29.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000381/3.943, allocations: 111.8 kB / 0.6405 GB, free: 29.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/3.945, allocations: 120.4 kB / 0.6406 GB, free: 29.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/3.946, allocations: 416.2 kB / 0.641 GB, free: 28.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/3.946, allocations: 0.8166 MB / 0.6418 GB, free: 27.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/3.947, allocations: 0 / 0.6418 GB, free: 27.89 MB / 346.7 MB