Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",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(ModelicaTest): time 2.272/2.272, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2094/2.481, allocations: 57.22 MB / 299.1 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/2.789, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.706/10.5, allocations: 2.951 GB / 3.297 GB, free: 91.06 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/10.5, allocations: 92.81 kB / 3.297 GB, free: 91.01 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 5.078/15.57, allocations: 1.131 GB / 4.428 GB, free: 56.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/15.57, allocations: 8 kB / 4.428 GB, free: 56.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009546/15.58, allocations: 95.92 kB / 4.428 GB, free: 56.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/15.58, allocations: 0.5394 MB / 4.429 GB, free: 56.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/15.58, allocations: 91.3 kB / 4.429 GB, free: 56.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/15.58, allocations: 28 kB / 4.429 GB, free: 56.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002164/15.58, allocations: 0.5627 MB / 4.43 GB, free: 55.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/15.58, allocations: 0.7331 MB / 4.43 GB, free: 54.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/15.58, allocations: 7.938 kB / 4.43 GB, free: 54.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/15.58, allocations: 4 kB / 4.43 GB, free: 54.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-05/15.58, allocations: 40.56 kB / 4.43 GB, free: 54.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008842/15.59, allocations: 3.986 MB / 4.434 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007376/15.59, allocations: 229.1 kB / 4.435 GB, free: 50.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/15.59, allocations: 157 kB / 4.435 GB, free: 50.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005994/15.59, allocations: 352.2 kB / 4.435 GB, free: 50.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/15.59, allocations: 42.84 kB / 4.435 GB, free: 50.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.018e-06/15.59, allocations: 0 / 4.435 GB, free: 50.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.007083/15.6, allocations: 1.253 MB / 4.436 GB, free: 49.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/15.6, allocations: 139.6 kB / 4.436 GB, free: 49.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/15.6, allocations: 453.8 kB / 4.437 GB, free: 48.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/15.6, allocations: 25.7 kB / 4.437 GB, free: 48.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/15.6, allocations: 325.2 kB / 4.437 GB, free: 48.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/15.6, allocations: 141 kB / 4.437 GB, free: 48.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/15.6, allocations: 4 kB / 4.437 GB, free: 48.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/15.6, allocations: 373.9 kB / 4.438 GB, free: 47.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/15.6, allocations: 204.6 kB / 4.438 GB, free: 47.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/15.6, allocations: 0.5135 MB / 4.438 GB, free: 46.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/15.61, allocations: 339.6 kB / 4.439 GB, free: 46.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/15.61, allocations: 4 kB / 4.439 GB, free: 46.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004954/15.61, allocations: 0.8912 MB / 4.44 GB, free: 45.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/15.61, allocations: 4 kB / 4.44 GB, free: 45.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/15.61, allocations: 12 kB / 4.44 GB, free: 45.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/15.61, allocations: 225.8 kB / 4.44 GB, free: 45.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/15.62, allocations: 134.6 kB / 4.44 GB, free: 45.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/15.62, allocations: 0.8849 MB / 4.441 GB, free: 44.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/15.62, allocations: 39.75 kB / 4.441 GB, free: 44.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/15.62, allocations: 36 kB / 4.441 GB, free: 44.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003078/15.62, allocations: 136.5 kB / 4.441 GB, free: 44.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/15.62, allocations: 59.25 kB / 4.441 GB, free: 44.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/15.62, allocations: 0.6166 MB / 4.442 GB, free: 43.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/15.62, allocations: 12 kB / 4.442 GB, free: 43.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/15.62, allocations: 0 / 4.442 GB, free: 43.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/15.62, allocations: 0 / 4.442 GB, free: 43.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/15.63, allocations: 1.49 MB / 4.443 GB, free: 42.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/15.63, allocations: 4 kB / 4.443 GB, free: 42.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003019/15.63, allocations: 174.4 kB / 4.443 GB, free: 42.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000638/15.63, allocations: 59.7 kB / 4.443 GB, free: 42.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/15.63, allocations: 8 kB / 4.443 GB, free: 42.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004027/15.64, allocations: 2.673 MB / 4.446 GB, free: 39.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/15.64, allocations: 4 kB / 4.446 GB, free: 39.57 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003821/15.64, allocations: 0.9768 MB / 4.447 GB, free: 38.62 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005124/15.65, allocations: 1.678 MB / 4.449 GB, free: 36.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/15.65, allocations: 190.7 kB / 4.449 GB, free: 36.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/15.65, allocations: 9.297 kB / 4.449 GB, free: 36.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/15.65, allocations: 19.58 kB / 4.449 GB, free: 36.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/15.65, allocations: 27.16 kB / 4.449 GB, free: 36.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/15.65, allocations: 19.75 kB / 4.449 GB, free: 36.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008553/15.65, allocations: 328.3 kB / 4.449 GB, free: 36.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00385/15.65, allocations: 259.3 kB / 4.449 GB, free: 36.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001464/15.66, allocations: 424.7 kB / 4.45 GB, free: 35.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002429/15.66, allocations: 0.5518 MB / 4.45 GB, free: 35.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/15.66, allocations: 0 / 4.45 GB, free: 35.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003546/15.66, allocations: 475.5 kB / 4.451 GB, free: 34.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/15.67, allocations: 244.7 kB / 4.451 GB, free: 34.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/15.67, allocations: 0.972 MB / 4.452 GB, free: 33.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000839/15.67, allocations: 1.019 MB / 4.453 GB, free: 32.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.823e-06/15.67, allocations: 14.67 kB / 4.453 GB, free: 32.9 MB / 490.7 MB