Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",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 1.949/1.949, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2435/2.193, allocations: 51.04 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/2.312, allocations: 48.69 MB / 316 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.468/8.78, allocations: 2.515 GB / 2.824 GB, free: 73.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004083/8.78, allocations: 97 kB / 2.824 GB, free: 73.01 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 2.547/11.33, allocations: 488 MB / 3.301 GB, free: 40.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/11.33, allocations: 6.938 kB / 3.301 GB, free: 40.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/11.33, allocations: 325.9 kB / 3.301 GB, free: 40.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/11.33, allocations: 0.6117 MB / 3.302 GB, free: 40.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/11.33, allocations: 94 kB / 3.302 GB, free: 40.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/11.33, allocations: 33.53 kB / 3.302 GB, free: 40.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00208/11.34, allocations: 0.7125 MB / 3.302 GB, free: 40.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/11.34, allocations: 0.9009 MB / 3.303 GB, free: 39.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/11.34, allocations: 9.281 kB / 3.303 GB, free: 39.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/11.34, allocations: 3.375 kB / 3.303 GB, free: 39.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-05/11.34, allocations: 44.08 kB / 3.303 GB, free: 39.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2442/11.58, allocations: 52.77 MB / 3.355 GB, free: 22.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/11.58, allocations: 257.8 kB / 3.355 GB, free: 22.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005099/11.58, allocations: 188.5 kB / 3.355 GB, free: 22.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0159/11.6, allocations: 3.662 MB / 3.359 GB, free: 19.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.593e-05/11.6, allocations: 42.75 kB / 3.359 GB, free: 19.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 4.769e-06/11.6, allocations: 0 / 3.359 GB, free: 19.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.009607/11.61, allocations: 1.43 MB / 3.36 GB, free: 19.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/11.61, allocations: 132.4 kB / 3.36 GB, free: 19.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/11.61, allocations: 0.4918 MB / 3.361 GB, free: 19.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/11.61, allocations: 25.7 kB / 3.361 GB, free: 19.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/11.61, allocations: 362.7 kB / 3.361 GB, free: 18.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/11.61, allocations: 144.7 kB / 3.361 GB, free: 18.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/11.61, allocations: 0 / 3.361 GB, free: 18.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/11.61, allocations: 377.7 kB / 3.362 GB, free: 18.42 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000703/11.61, allocations: 245.8 kB / 3.362 GB, free: 18.42 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008638/11.61, allocations: 0.581 MB / 3.363 GB, free: 17.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/11.61, allocations: 348.9 kB / 3.363 GB, free: 17.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/11.61, allocations: 2.969 kB / 3.363 GB, free: 17.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004115/11.62, allocations: 1.124 MB / 3.364 GB, free: 17.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/11.62, allocations: 5.156 kB / 3.364 GB, free: 17.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/11.62, allocations: 13.19 kB / 3.364 GB, free: 17.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/11.62, allocations: 67.11 kB / 3.364 GB, free: 17.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/11.62, allocations: 314.4 kB / 3.364 GB, free: 17.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003818/11.63, allocations: 1.983 MB / 3.366 GB, free: 16.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/11.63, allocations: 93.84 kB / 3.366 GB, free: 16.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/11.63, allocations: 43.64 kB / 3.367 GB, free: 16.06 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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: 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004572/11.63, allocations: 137.3 kB / 3.367 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00262/11.63, allocations: 269.9 kB / 3.367 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/11.64, allocations: 1.804 MB / 3.369 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-05/11.64, allocations: 25.03 kB / 3.369 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/11.64, allocations: 1.312 kB / 3.369 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/11.64, allocations: 0 / 3.369 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/11.64, allocations: 2.765 MB / 3.371 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/11.64, allocations: 3.531 kB / 3.371 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/11.65, allocations: 195.9 kB / 3.372 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/11.65, allocations: 84.47 kB / 3.372 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/11.65, allocations: 7.562 kB / 3.372 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/11.65, allocations: 2.025 MB / 3.374 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/11.65, allocations: 0 / 3.374 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004637/11.65, allocations: 2.17 MB / 3.376 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005976/11.66, allocations: 3.128 MB / 3.379 GB, free: 27.33 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006282/11.66, allocations: 230.8 kB / 3.379 GB, free: 27.15 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/11.66, allocations: 2.844 kB / 3.379 GB, free: 27.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009652/11.66, allocations: 49.64 kB / 3.379 GB, free: 27.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/11.66, allocations: 38.52 kB / 3.379 GB, free: 27.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.29e-05/11.66, allocations: 21.66 kB / 3.379 GB, free: 27.13 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007458/11.66, allocations: 359.6 kB / 3.379 GB, free: 26.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007398/11.67, allocations: 1.236 MB / 3.381 GB, free: 26.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01118/11.68, allocations: 1.725 MB / 3.382 GB, free: 25.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005581/11.69, allocations: 1.163 MB / 3.384 GB, free: 24.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/11.69, allocations: 0 / 3.384 GB, free: 24.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004684/11.69, allocations: 0.9398 MB / 3.384 GB, free: 23.94 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004098/11.69, allocations: 255.8 kB / 3.385 GB, free: 23.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/11.7, allocations: 1.655 MB / 3.386 GB, free: 22.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/11.7, allocations: 1.156 MB / 3.387 GB, free: 21.21 MB / 474.7 MB Notification: Performance of SimCode: time 2.144e-06/11.7, allocations: 0 / 3.387 GB, free: 21.21 MB / 474.7 MB