Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_IncompressibleFluidNetwork_StandardWaterOnePhase",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.2/2.2, allocations: 235 MB / 241.9 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1974/2.397, allocations: 57.21 MB / 299.1 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/2.677, allocations: 54.83 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.947/9.624, allocations: 2.783 GB / 3.129 GB, free: 82.98 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/9.624, allocations: 82.11 kB / 3.129 GB, free: 82.97 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1894 * Number of variables: 1894 Notification: Performance of Generate backend data structure: time 10.74/20.36, allocations: 2.11 GB / 5.238 GB, free: 26.74 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/20.36, allocations: 9.891 kB / 5.238 GB, free: 26.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02344/20.39, allocations: 2.024 MB / 5.24 GB, free: 26.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04065/20.43, allocations: 7.146 MB / 5.247 GB, free: 25.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007308/20.43, allocations: 233.5 kB / 5.248 GB, free: 25.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004652/20.43, allocations: 428.1 kB / 5.248 GB, free: 25.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0402/20.47, allocations: 11.71 MB / 5.259 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04008/20.51, allocations: 10.51 MB / 5.27 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004513/20.51, allocations: 35.72 kB / 5.27 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003871/20.52, allocations: 22.22 kB / 5.27 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00124/20.52, allocations: 0.69 MB / 5.27 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8766/21.4, allocations: 125.6 MB / 5.393 GB, free: 89.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/21.41, allocations: 4.211 MB / 5.397 GB, free: 89.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01187/21.42, allocations: 4.251 MB / 5.401 GB, free: 89.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2395/21.66, allocations: 64.81 MB / 5.465 GB, free: 49.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/21.66, allocations: 95.56 kB / 5.465 GB, free: 49.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=573): time 9.348e-06/21.66, allocations: 2.062 kB / 5.465 GB, free: 49.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=695): time 0.2788/21.94, allocations: 38.85 MB / 5.503 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/21.94, allocations: 176.2 kB / 5.503 GB, free: 47.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01305/21.95, allocations: 3.363 MB / 5.506 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.003226/21.96, allocations: 29.17 kB / 5.506 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.004621/21.96, allocations: 2.515 MB / 5.509 GB, free: 45.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.007539/21.97, allocations: 2.32 MB / 5.511 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003379/21.97, allocations: 0 / 5.511 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.001319/21.97, allocations: 0.6189 MB / 5.512 GB, free: 44.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01488/21.99, allocations: 4.635 MB / 5.516 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01718/22, allocations: 6.485 MB / 5.522 GB, free: 42.06 MB / 0.6355 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe1.mediums[2].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe3.mediums[1].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe7.mediums[2].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe9.mediums[1].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe10.mediums[1].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe4.mediums[2].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe5.mediums[1].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe8.mediums[2].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe10.mediums[2].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe11.mediums[1].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe5.mediums[2].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe9.mediums[2].p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.2575/22.26, allocations: 25.08 MB / 5.547 GB, free: 39.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/22.26, allocations: 14 kB / 5.547 GB, free: 39.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.1131/22.38, allocations: 19.44 MB / 5.566 GB, free: 38.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.005472/22.38, allocations: 23.45 MB / 5.589 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004094/22.38, allocations: 51.16 kB / 5.589 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1483/22.53, allocations: 14.25 MB / 5.603 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008506/22.54, allocations: 1.065 MB / 5.604 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07805/22.62, allocations: 18.57 MB / 5.622 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02305/22.64, allocations: 0.7139 MB / 5.623 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003369/22.64, allocations: 397.5 kB / 5.623 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/22.64, allocations: 4 kB / 5.623 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5231/23.17, allocations: 16.68 MB / 5.639 GB, free: 92.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003357/23.17, allocations: 50 kB / 5.639 GB, free: 92.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.196/23.36, allocations: 13.75 MB / 5.653 GB, free: 92.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01215/23.37, allocations: 1.097 MB / 5.654 GB, free: 92.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05327/23.43, allocations: 16.84 MB / 5.67 GB, free: 91.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0153/23.44, allocations: 0.6974 MB / 5.671 GB, free: 91.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003197/23.45, allocations: 389.9 kB / 5.671 GB, free: 91.57 MB / 0.6355 GB Warning: Assuming redundant initial conditions for the following 13 initial equations: 0.0 = 0.0 $DER.pipe1.mediums[2].p = 0.0 $DER.pipe3.mediums[1].p = 0.0 $DER.pipe7.mediums[2].p = 0.0 $DER.pipe9.mediums[1].p = 0.0 $DER.pipe10.mediums[1].p = 0.0 $DER.pipe4.mediums[2].p = 0.0 $DER.pipe5.mediums[1].p = 0.0 $DER.pipe8.mediums[2].p = 0.0 $DER.pipe10.mediums[2].p = 0.0 $DER.pipe11.mediums[1].p = 0.0 $DER.pipe5.mediums[2].p = 0.0 $DER.pipe9.mediums[2].p = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 52 (valve3.state_b.phase,valve3.state_a.phase,valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,pipe11.mediums[2].phase,pipe11.mediums[1].phase,pipe11.state_b.phase,pipe11.state_a.phase,pipe5.mediums[2].phase,pipe5.mediums[1].phase,pipe5.state_b.phase,pipe5.state_a.phase,pipe10.mediums[2].phase,pipe10.mediums[1].phase,pipe10.state_b.phase,pipe10.state_a.phase,pipe9.mediums[2].phase,pipe9.mediums[1].phase,pipe9.state_b.phase,pipe9.state_a.phase,pipe8.mediums[2].phase,pipe8.mediums[1].phase,pipe8.state_b.phase,pipe8.state_a.phase,sink.medium.phase,pipe7.mediums[2].phase,pipe7.mediums[1].phase,pipe7.state_b.phase,pipe7.state_a.phase,pipe6.mediums[2].phase,pipe6.mediums[1].phase,pipe6.state_b.phase,pipe6.state_a.phase,pipe4.mediums[2].phase,pipe4.mediums[1].phase,pipe4.state_b.phase,pipe4.state_a.phase,pipe3.mediums[2].phase,pipe3.mediums[1].phase,pipe3.state_b.phase,pipe3.state_a.phase,pipe2.mediums[2].phase,pipe2.mediums[1].phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.mediums[2].phase,pipe1.mediums[1].phase,pipe1.state_b.phase,pipe1.state_a.phase,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (606): * Single equations (assignments): 604 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,30 380} Notification: Performance of prepare postOptimizeDAE: time 0.005647/23.45, allocations: 335.1 kB / 5.672 GB, free: 91.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008927/23.46, allocations: 1.698 MB / 5.673 GB, free: 91.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1256/23.59, allocations: 30.9 MB / 5.703 GB, free: 90.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003565/23.59, allocations: 225.3 kB / 5.704 GB, free: 90.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.309e-05/23.59, allocations: 0 / 5.704 GB, free: 90.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1019/23.69, allocations: 26.74 MB / 5.73 GB, free: 88.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1767/23.87, allocations: 49.38 MB / 5.778 GB, free: 85.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001505/23.87, allocations: 17.03 kB / 5.778 GB, free: 85.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008195/23.87, allocations: 0.893 MB / 5.779 GB, free: 85.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04353/23.92, allocations: 6.704 MB / 5.785 GB, free: 85.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002462/23.92, allocations: 189.7 kB / 5.786 GB, free: 85.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02996/23.95, allocations: 16.46 MB / 5.802 GB, free: 76.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.683e-05/23.95, allocations: 29.91 kB / 5.802 GB, free: 76.53 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1333/24.08, allocations: 37.97 MB / 5.839 GB, free: 56.66 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.5799/24.66, allocations: 48.4 MB / 5.886 GB, free: 92.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008949/24.67, allocations: 1.878 MB / 5.888 GB, free: 92.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004121/24.68, allocations: 98.72 kB / 5.888 GB, free: 92.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01193/24.69, allocations: 433.7 kB / 5.888 GB, free: 92.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00261/24.69, allocations: 468.1 kB / 5.889 GB, free: 92.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001942/24.69, allocations: 278.5 kB / 5.889 GB, free: 92.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.007272/24.7, allocations: 2.353 MB / 5.891 GB, free: 92.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0412/24.74, allocations: 7.096 MB / 5.898 GB, free: 92.61 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 31 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].T,pipe4.mediums[1].p,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].p,pipe6.mediums[1].T,pipe6.mediums[2].p,pipe6.mediums[2].T,pipe7.mediums[1].p,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].p,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].p,pipe11.mediums[2].T) * Number of discrete variables: 98 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse42.phase,$cse42.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,$cse56.phase,$cse56.region,$cse64.phase,$cse64.region,$cse66.phase,$cse66.region,$cse68.phase,$cse68.region,$cse69.phase,$cse69.region,$cse70.phase,$cse70.region,$cse72.phase,$cse72.region,$cse74.phase,$cse74.region,$cse75.phase,$cse75.region,$cse76.phase,$cse76.region,$cse78.phase,$cse78.region,$cse79.phase,$cse79.region,$cse81.phase,$cse81.region,$cse82.phase,$cse82.region,$cse84.phase,$cse84.region,$cse85.phase,$cse85.region,$cse86.phase,$cse86.region,$cse87.phase,$cse87.region,$cse89.phase,$cse89.region,$cse90.phase,$cse90.region,$cse91.phase,$cse91.region,$cse92.phase,$cse92.region,$cse94.phase,$cse94.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (546): * Single equations (assignments): 487 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 10,6 36,2 1,2 1,2 1,2 1,6 64,6 64,6 36,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02742/24.77, allocations: 5.706 MB / 5.904 GB, free: 91.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.06626/24.84, allocations: 23.05 MB / 5.926 GB, free: 91.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.861e-05/24.84, allocations: 8.594 kB / 5.926 GB, free: 91.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.02739/24.86, allocations: 11.99 MB / 5.938 GB, free: 91.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02698/24.89, allocations: 2.42 MB / 5.941 GB, free: 91.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1492/25.04, allocations: 40.56 MB / 5.98 GB, free: 87.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02045/25.06, allocations: 6.645 MB / 5.987 GB, free: 86.66 MB / 0.6355 GB Notification: Performance of SimCode: time 2.184e-06/25.06, allocations: 0 / 5.987 GB, free: 86.66 MB / 0.6355 GB