Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestExamplesVariants_IncompressibleFluidNetwork_StandardWaterOnePhase",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.642/2.642, allocations: 235.1 MB / 242 MB, free: 9.738 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2149/2.857, allocations: 57.19 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/3.131, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.543/10.67, allocations: 2.783 GB / 3.129 GB, free: 82.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/10.67, allocations: 71.61 kB / 3.129 GB, free: 82.68 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 12.35/23.03, allocations: 2.11 GB / 5.239 GB, free: 26.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/23.03, allocations: 10.38 kB / 5.239 GB, free: 26.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02702/23.05, allocations: 2.02 MB / 5.241 GB, free: 25.83 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04217/23.09, allocations: 7.138 MB / 5.248 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007827/23.1, allocations: 240.3 kB / 5.248 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004999/23.1, allocations: 432.9 kB / 5.248 GB, free: 24.72 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04543/23.15, allocations: 11.7 MB / 5.26 GB, free: 24.69 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04646/23.19, allocations: 10.51 MB / 5.27 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000616/23.19, allocations: 40.94 kB / 5.27 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004171/23.2, allocations: 24.22 kB / 5.27 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001244/23.2, allocations: 0.6804 MB / 5.271 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.061/24.26, allocations: 125.7 MB / 5.393 GB, free: 88.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/24.27, allocations: 4.214 MB / 5.397 GB, free: 88.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01456/24.29, allocations: 4.251 MB / 5.402 GB, free: 88.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3034/24.59, allocations: 64.81 MB / 5.465 GB, free: 48.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/24.59, allocations: 101.8 kB / 5.465 GB, free: 48.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=573): time 1.127e-05/24.59, allocations: 0 / 5.465 GB, free: 48.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=695): time 0.3133/24.91, allocations: 38.86 MB / 5.503 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/24.91, allocations: 173.7 kB / 5.503 GB, free: 46.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/24.92, allocations: 3.353 MB / 5.506 GB, free: 46.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.002903/24.92, allocations: 33.08 kB / 5.506 GB, free: 46.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.003913/24.92, allocations: 2.509 MB / 5.509 GB, free: 45.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00534/24.93, allocations: 2.319 MB / 5.511 GB, free: 43.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002716/24.93, allocations: 0 / 5.511 GB, free: 43.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.001135/24.93, allocations: 0.6259 MB / 5.512 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01682/24.95, allocations: 4.631 MB / 5.516 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01893/24.97, allocations: 6.487 MB / 5.523 GB, free: 41.31 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.2936/25.26, allocations: 25.07 MB / 5.547 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.411e-05/25.26, allocations: 13.47 kB / 5.547 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.1272/25.39, allocations: 19.44 MB / 5.566 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.005511/25.4, allocations: 23.46 MB / 5.589 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003739/25.4, allocations: 50.34 kB / 5.589 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.169/25.57, allocations: 14.27 MB / 5.603 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01422/25.58, allocations: 1.062 MB / 5.604 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07686/25.66, allocations: 18.57 MB / 5.622 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01822/25.68, allocations: 0.7107 MB / 5.623 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003398/25.68, allocations: 396.5 kB / 5.623 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/25.68, allocations: 4 kB / 5.623 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5094/26.19, allocations: 16.67 MB / 5.64 GB, free: 91.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002529/26.19, allocations: 53.22 kB / 5.64 GB, free: 91.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1559/26.34, allocations: 13.75 MB / 5.653 GB, free: 91.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009834/26.35, allocations: 1.095 MB / 5.654 GB, free: 91.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05657/26.41, allocations: 16.83 MB / 5.671 GB, free: 90.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01767/26.43, allocations: 0.7056 MB / 5.671 GB, free: 90.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00374/26.43, allocations: 391.5 kB / 5.672 GB, free: 90.16 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.006269/26.44, allocations: 338.8 kB / 5.672 GB, free: 90.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01058/26.45, allocations: 1.698 MB / 5.674 GB, free: 90.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1437/26.59, allocations: 30.89 MB / 5.704 GB, free: 88.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004035/26.59, allocations: 224.5 kB / 5.704 GB, free: 88.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.515e-05/26.59, allocations: 0 / 5.704 GB, free: 88.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1158/26.71, allocations: 26.74 MB / 5.73 GB, free: 87.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1982/26.91, allocations: 49.38 MB / 5.778 GB, free: 84.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000168/26.91, allocations: 17.03 kB / 5.778 GB, free: 84.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009546/26.92, allocations: 0.8938 MB / 5.779 GB, free: 84.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05101/26.97, allocations: 6.706 MB / 5.786 GB, free: 84.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002422/26.97, allocations: 186.4 kB / 5.786 GB, free: 84.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03392/27.01, allocations: 16.47 MB / 5.802 GB, free: 75.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.659e-05/27.01, allocations: 28.16 kB / 5.802 GB, free: 75.45 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1433/27.15, allocations: 37.97 MB / 5.839 GB, free: 56.56 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.5865/27.74, allocations: 48.41 MB / 5.886 GB, free: 92.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01346/27.75, allocations: 1.875 MB / 5.888 GB, free: 92.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006358/27.76, allocations: 97.95 kB / 5.888 GB, free: 92.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01382/27.77, allocations: 424.2 kB / 5.889 GB, free: 92.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002828/27.77, allocations: 473.6 kB / 5.889 GB, free: 92.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00219/27.77, allocations: 288.4 kB / 5.889 GB, free: 92.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.008488/27.78, allocations: 2.351 MB / 5.892 GB, free: 91.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0503/27.83, allocations: 7.093 MB / 5.899 GB, free: 91.81 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.03902/27.87, allocations: 5.711 MB / 5.904 GB, free: 91.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.08305/27.96, allocations: 23.04 MB / 5.927 GB, free: 90.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.282e-05/27.96, allocations: 7 kB / 5.927 GB, free: 90.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.03161/27.99, allocations: 12 MB / 5.938 GB, free: 90.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03127/28.02, allocations: 2.425 MB / 5.941 GB, free: 90.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1644/28.18, allocations: 40.57 MB / 5.98 GB, free: 86.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02609/28.21, allocations: 6.646 MB / 5.987 GB, free: 85.87 MB / 0.6355 GB Notification: Performance of SimCode: time 2.134e-06/28.21, allocations: 0 / 5.987 GB, free: 85.87 MB / 0.6355 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase_res.mat does not exist to compare? outputFormat=mat