Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,fileNamePrefix="ModelicaTest_3_2_1_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.136/2.136, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2582/2.394, allocations: 51.04 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/2.526, allocations: 48.68 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.285/9.811, allocations: 2.672 GB / 2.981 GB, free: 91.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/9.812, allocations: 80.95 kB / 2.981 GB, free: 91.17 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: 1894 * Number of variables: 1894 Notification: Performance of Generate backend data structure: time 11.76/21.57, allocations: 2.059 GB / 5.04 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/21.57, allocations: 13.09 kB / 5.04 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02453/21.59, allocations: 1.974 MB / 5.042 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04032/21.63, allocations: 7.146 MB / 5.049 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007139/21.63, allocations: 234.3 kB / 5.05 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004614/21.64, allocations: 430.5 kB / 5.05 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03892/21.68, allocations: 11.7 MB / 5.061 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05171/21.73, allocations: 10.51 MB / 5.072 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009625/21.73, allocations: 39.88 kB / 5.072 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004876/21.73, allocations: 25.47 kB / 5.072 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001676/21.74, allocations: 0.6822 MB / 5.072 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.829/22.57, allocations: 125.6 MB / 5.195 GB, free: 39.54 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/22.58, allocations: 4.207 MB / 5.199 GB, free: 39.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01189/22.59, allocations: 4.257 MB / 5.203 GB, free: 39.47 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2446/22.83, allocations: 64.73 MB / 5.266 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/22.84, allocations: 100.9 kB / 5.267 GB, free: 29.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=573): time 1.023e-05/22.84, allocations: 0 / 5.267 GB, free: 29.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=695): time 0.27/23.11, allocations: 38.87 MB / 5.304 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/23.11, allocations: 174 kB / 5.305 GB, free: 27.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/23.12, allocations: 3.362 MB / 5.308 GB, free: 26.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.002336/23.12, allocations: 29.14 kB / 5.308 GB, free: 26.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00274/23.12, allocations: 2.509 MB / 5.31 GB, free: 25.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.004559/23.13, allocations: 2.315 MB / 5.313 GB, free: 24.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/23.13, allocations: 4 kB / 5.313 GB, free: 24.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0007727/23.13, allocations: 0.6298 MB / 5.313 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01759/23.15, allocations: 4.63 MB / 5.318 GB, free: 23.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01693/23.16, allocations: 6.485 MB / 5.324 GB, free: 21.86 MB / 0.6042 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.2247/23.39, allocations: 25.07 MB / 5.349 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.624e-05/23.39, allocations: 16 kB / 5.349 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.1129/23.5, allocations: 19.44 MB / 5.368 GB, free: 1.141 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.3682/23.87, allocations: 23.46 MB / 5.391 GB, free: 90.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003321/23.87, allocations: 52.44 kB / 5.391 GB, free: 90.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1426/24.01, allocations: 14.26 MB / 5.405 GB, free: 90.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008488/24.02, allocations: 1.061 MB / 5.406 GB, free: 90.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06547/24.09, allocations: 18.57 MB / 5.424 GB, free: 89.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01602/24.1, allocations: 0.7139 MB / 5.424 GB, free: 89.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003279/24.1, allocations: 393.2 kB / 5.425 GB, free: 89.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/24.1, allocations: 7.156 kB / 5.425 GB, free: 89.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09225/24.2, allocations: 16.67 MB / 5.441 GB, free: 89.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000242/24.2, allocations: 53.5 kB / 5.441 GB, free: 89.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1389/24.34, allocations: 13.75 MB / 5.455 GB, free: 89.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01088/24.35, allocations: 1.095 MB / 5.456 GB, free: 89.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05452/24.4, allocations: 16.83 MB / 5.472 GB, free: 87.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01487/24.42, allocations: 0.6986 MB / 5.473 GB, free: 87.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003068/24.42, allocations: 389.3 kB / 5.473 GB, free: 87.91 MB / 0.6042 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.005859/24.43, allocations: 336.5 kB / 5.473 GB, free: 87.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008941/24.43, allocations: 1.693 MB / 5.475 GB, free: 87.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1323/24.57, allocations: 30.91 MB / 5.505 GB, free: 86.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004895/24.57, allocations: 222.5 kB / 5.505 GB, free: 86.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.219e-05/24.57, allocations: 0 / 5.505 GB, free: 86.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1262/24.69, allocations: 26.74 MB / 5.532 GB, free: 85.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5811/25.27, allocations: 49.6 MB / 5.58 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001605/25.28, allocations: 17.38 kB / 5.58 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01176/25.29, allocations: 0.8864 MB / 5.581 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04279/25.33, allocations: 6.717 MB / 5.587 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002528/25.33, allocations: 188.7 kB / 5.588 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03592/25.37, allocations: 16.47 MB / 5.604 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-05/25.37, allocations: 28.53 kB / 5.604 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.128/25.5, allocations: 37.97 MB / 5.641 GB, free: 95.86 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1483/25.64, allocations: 48.4 MB / 5.688 GB, free: 90.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008413/25.65, allocations: 1.876 MB / 5.69 GB, free: 89.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003906/25.66, allocations: 100.3 kB / 5.69 GB, free: 89.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01161/25.67, allocations: 424 kB / 5.69 GB, free: 89.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00262/25.67, allocations: 479.2 kB / 5.691 GB, free: 89.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002033/25.67, allocations: 275.2 kB / 5.691 GB, free: 89.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.007862/25.68, allocations: 2.353 MB / 5.693 GB, free: 89.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.04237/25.72, allocations: 7.055 MB / 5.7 GB, free: 89.58 MB / 0.6042 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.0283/25.75, allocations: 5.68 MB / 5.706 GB, free: 88.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.06859/25.82, allocations: 23.05 MB / 5.728 GB, free: 83.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.018e-05/25.82, allocations: 4.438 kB / 5.728 GB, free: 83.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02687/25.85, allocations: 11.99 MB / 5.74 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02667/25.87, allocations: 2.433 MB / 5.742 GB, free: 78.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5492/26.42, allocations: 40.37 MB / 5.782 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01829/26.44, allocations: 6.652 MB / 5.788 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.973e-06/26.44, allocations: 6.047 kB / 5.788 GB, free: 104.9 MB / 0.6042 GB