Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_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 2.047/2.047, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1637/2.211, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/2.513, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.759/9.272, allocations: 2.626 GB / 2.972 GB, free: 68.19 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/9.273, allocations: 96.69 kB / 2.972 GB, free: 68.13 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 2.646/11.92, allocations: 0.4886 GB / 3.46 GB, free: 50.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/11.92, allocations: 11.19 kB / 3.46 GB, free: 50.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003968/11.92, allocations: 344.7 kB / 3.461 GB, free: 50.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/11.92, allocations: 0.604 MB / 3.461 GB, free: 50.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/11.92, allocations: 100.2 kB / 3.461 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/11.92, allocations: 37.41 kB / 3.461 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002028/11.93, allocations: 0.7056 MB / 3.462 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/11.93, allocations: 0.905 MB / 3.463 GB, free: 49.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/11.93, allocations: 9.266 kB / 3.463 GB, free: 49.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/11.93, allocations: 3.406 kB / 3.463 GB, free: 49.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.747e-05/11.93, allocations: 44.11 kB / 3.463 GB, free: 49.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.228/12.16, allocations: 52.85 MB / 3.515 GB, free: 32.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/12.16, allocations: 262.8 kB / 3.515 GB, free: 32.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/12.16, allocations: 185.9 kB / 3.515 GB, free: 32.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/12.17, allocations: 3.693 MB / 3.519 GB, free: 30.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/12.17, allocations: 41.72 kB / 3.519 GB, free: 29.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 2.655e-06/12.17, allocations: 0 / 3.519 GB, free: 29.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.006139/12.18, allocations: 1.44 MB / 3.52 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/12.18, allocations: 147.6 kB / 3.52 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/12.18, allocations: 489.2 kB / 3.521 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/12.18, allocations: 29.55 kB / 3.521 GB, free: 29.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/12.18, allocations: 375.8 kB / 3.521 GB, free: 29.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/12.18, allocations: 144.2 kB / 3.521 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/12.18, allocations: 0 / 3.521 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002001/12.18, allocations: 369.1 kB / 3.522 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/12.18, allocations: 247.1 kB / 3.522 GB, free: 28.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008063/12.18, allocations: 0.5863 MB / 3.522 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/12.18, allocations: 342.4 kB / 3.523 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/12.18, allocations: 5.969 kB / 3.523 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004098/12.18, allocations: 1.124 MB / 3.524 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/12.18, allocations: 3.906 kB / 3.524 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/12.18, allocations: 10.44 kB / 3.524 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/12.19, allocations: 68.62 kB / 3.524 GB, free: 28.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/12.19, allocations: 318.9 kB / 3.524 GB, free: 28.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/12.19, allocations: 1.979 MB / 3.526 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/12.19, allocations: 90.09 kB / 3.526 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/12.19, allocations: 49.64 kB / 3.526 GB, free: 26.24 MB / 0.4948 GB 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.0003126/12.19, allocations: 143.1 kB / 3.526 GB, free: 26.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/12.19, allocations: 278.8 kB / 3.527 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003508/12.2, allocations: 1.803 MB / 3.528 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.112e-05/12.2, allocations: 17.69 kB / 3.528 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/12.2, allocations: 3.75 kB / 3.528 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/12.2, allocations: 0 / 3.528 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/12.2, allocations: 2.756 MB / 3.531 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/12.2, allocations: 3.844 kB / 3.531 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/12.21, allocations: 192.8 kB / 3.531 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/12.21, allocations: 78.53 kB / 3.531 GB, free: 25.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/12.21, allocations: 9.156 kB / 3.531 GB, free: 25.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/12.21, allocations: 2.016 MB / 3.533 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/12.21, allocations: 4.828 kB / 3.533 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00434/12.21, allocations: 2.169 MB / 3.535 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005574/12.22, allocations: 3.132 MB / 3.539 GB, free: 22.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000613/12.22, allocations: 230.5 kB / 3.539 GB, free: 22.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/12.22, allocations: 9.75 kB / 3.539 GB, free: 22.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009801/12.22, allocations: 47.64 kB / 3.539 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/12.22, allocations: 46.22 kB / 3.539 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/12.22, allocations: 19.61 kB / 3.539 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006677/12.22, allocations: 356.9 kB / 3.539 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00714/12.23, allocations: 1.244 MB / 3.54 GB, free: 22.36 MB / 0.4948 GB 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.01147/12.24, allocations: 1.711 MB / 3.542 GB, free: 22.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004469/12.24, allocations: 1.166 MB / 3.543 GB, free: 22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/12.24, allocations: 0 / 3.543 GB, free: 22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00312/12.25, allocations: 0.9315 MB / 3.544 GB, free: 21.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/12.25, allocations: 263.4 kB / 3.544 GB, free: 21.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/12.25, allocations: 1.656 MB / 3.546 GB, free: 21.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/12.26, allocations: 1.16 MB / 3.547 GB, free: 20.87 MB / 0.4948 GB Notification: Performance of SimCode: time 2.194e-06/12.26, allocations: 0 / 3.547 GB, free: 20.87 MB / 0.4948 GB