Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_IncompressibleFluidNetwork",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(Modelica): time 1.61/1.61, allocations: 171.2 MB / 178.1 MB, free: 8.297 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1725/1.782, allocations: 41.1 MB / 219.2 MB, free: 11.21 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/1.871, allocations: 38.76 MB / 258 MB, free: 4.379 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7082/2.579, allocations: 271.5 MB / 0.5171 GB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/2.579, allocations: 71.22 kB / 0.5172 GB, free: 14.87 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 9.337/11.92, allocations: 1.636 GB / 2.154 GB, free: 17.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/11.92, allocations: 9.656 kB / 2.154 GB, free: 17.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/11.93, allocations: 1.263 MB / 2.155 GB, free: 17.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03292/11.97, allocations: 6.374 MB / 2.161 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005822/11.97, allocations: 189.5 kB / 2.161 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003557/11.97, allocations: 319.6 kB / 2.162 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02665/12, allocations: 7.743 MB / 2.169 GB, free: 15.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0357/12.03, allocations: 8.653 MB / 2.178 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00025/12.03, allocations: 14.94 kB / 2.178 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003498/12.04, allocations: 20.97 kB / 2.178 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001014/12.04, allocations: 0.6351 MB / 2.178 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1057/12.14, allocations: 33.76 MB / 2.211 GB, free: 10.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01812/12.16, allocations: 5.543 MB / 2.217 GB, free: 5.625 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01193/12.17, allocations: 3.601 MB / 2.22 GB, free: 2.422 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3321/12.51, allocations: 5.527 MB / 2.226 GB, free: 50.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/12.51, allocations: 108.5 kB / 2.226 GB, free: 50.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 8.426e-06/12.51, allocations: 3.188 kB / 2.226 GB, free: 50.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.2691/12.78, allocations: 36.54 MB / 2.261 GB, free: 49.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/12.78, allocations: 168 kB / 2.261 GB, free: 49.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/12.79, allocations: 3.238 MB / 2.265 GB, free: 48.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002773/12.79, allocations: 29.83 kB / 2.265 GB, free: 48.72 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00303/12.79, allocations: 2.122 MB / 2.267 GB, free: 47.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005412/12.8, allocations: 2.081 MB / 2.269 GB, free: 46.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002331/12.8, allocations: 2.375 kB / 2.269 GB, free: 46.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008169/12.8, allocations: 0.5917 MB / 2.269 GB, free: 46.42 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01294/12.81, allocations: 3.883 MB / 2.273 GB, free: 46.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01572/12.83, allocations: 5.529 MB / 2.279 GB, free: 44.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06958/12.9, allocations: 8.505 MB / 2.287 GB, free: 44.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/12.9, allocations: 11.84 kB / 2.287 GB, free: 44.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.1045/13, allocations: 15.72 MB / 2.302 GB, free: 43.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004973/13.01, allocations: 20.62 MB / 2.322 GB, free: 22.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003147/13.01, allocations: 44.22 kB / 2.322 GB, free: 22.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01851/13.03, allocations: 3.375 MB / 2.326 GB, free: 22.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/13.04, allocations: 1.364 MB / 2.327 GB, free: 22.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0346/13.08, allocations: 18.75 MB / 2.345 GB, free: 26.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01487/13.09, allocations: 360.8 kB / 2.346 GB, free: 26.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003541/13.09, allocations: 420.2 kB / 2.346 GB, free: 26.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/13.09, allocations: 3.5 kB / 2.346 GB, free: 26.15 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09859/13.19, allocations: 14.63 MB / 2.36 GB, free: 25.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000244/13.19, allocations: 45.19 kB / 2.36 GB, free: 25.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01657/13.21, allocations: 3.031 MB / 2.363 GB, free: 25.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/13.22, allocations: 1.386 MB / 2.365 GB, free: 25.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04272/13.27, allocations: 21.84 MB / 2.386 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01381/13.28, allocations: 354.1 kB / 2.386 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003545/13.28, allocations: 415.4 kB / 2.387 GB, free: 9.336 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe7.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe5.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe11.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe5.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe10.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe9.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe8.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe7.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe6.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe6.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe4.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe4.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe3.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe2.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe3.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe2.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe1.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe1.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 734 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.006126/13.29, allocations: 323.7 kB / 2.387 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004238/13.29, allocations: 0.587 MB / 2.388 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1132/13.41, allocations: 17.9 MB / 2.405 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001988/13.41, allocations: 64.75 kB / 2.405 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.314e-05/13.41, allocations: 1.281 kB / 2.405 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4151/13.82, allocations: 12.57 MB / 2.417 GB, free: 63.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1354/13.96, allocations: 27.28 MB / 2.444 GB, free: 61.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001274/13.96, allocations: 14.97 kB / 2.444 GB, free: 61.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009137/13.97, allocations: 0.8627 MB / 2.445 GB, free: 61.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03444/14, allocations: 4.259 MB / 2.449 GB, free: 61.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002415/14, allocations: 150 kB / 2.449 GB, free: 61.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0314/14.04, allocations: 18.56 MB / 2.467 GB, free: 49.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.609e-05/14.04, allocations: 25.5 kB / 2.467 GB, free: 49.21 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1034/14.14, allocations: 21.93 MB / 2.489 GB, free: 45.17 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1241/14.26, allocations: 28.71 MB / 2.517 GB, free: 40.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008266/14.27, allocations: 1.64 MB / 2.518 GB, free: 40.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003762/14.27, allocations: 63.3 kB / 2.519 GB, free: 40.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01173/14.29, allocations: 198.4 kB / 2.519 GB, free: 40.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002911/14.29, allocations: 427.4 kB / 2.519 GB, free: 40.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002564/14.29, allocations: 317.9 kB / 2.519 GB, free: 39.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.008891/14.3, allocations: 2.344 MB / 2.522 GB, free: 39.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.04208/14.34, allocations: 6.323 MB / 2.528 GB, free: 38.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,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].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,12 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.02077/14.36, allocations: 3.659 MB / 2.531 GB, free: 37.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.05341/14.42, allocations: 15.42 MB / 2.547 GB, free: 33.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.215e-05/14.42, allocations: 8.312 kB / 2.547 GB, free: 33.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01842/14.44, allocations: 4.756 MB / 2.551 GB, free: 31.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02343/14.46, allocations: 2.094 MB / 2.553 GB, free: 31.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05878/14.52, allocations: 14.77 MB / 2.568 GB, free: 24.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3573/14.88, allocations: 5.465 MB / 2.573 GB, free: 60.63 MB / 490.7 MB Notification: Performance of SimCode: time 1.813e-06/14.88, allocations: 3.281 kB / 2.573 GB, free: 60.63 MB / 490.7 MB