Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.002e-05, allocations: 4 kB / 225.1 MB, free: 2.73 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2681, allocations: 38.77 MB / 263.8 MB, free: 9.77 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.4198, allocations: 71.31 MB / 335.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4201, allocations: 71.95 kB / 335.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08001/0.5002, allocations: 18.05 MB / 353.3 MB, free: 116 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5002, allocations: 4 kB / 353.3 MB, free: 112 kB / 298.7 MB Notification: Performance of Transformations before backend: time 9.314e-05/0.5003, allocations: 23.94 kB / 353.3 MB, free: 88 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003464/0.5038, allocations: 1.115 MB / 354.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.5039, allocations: 12.03 kB / 354.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003274/0.5042, allocations: 116.4 kB / 354.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.5046, allocations: 122.7 kB / 354.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.5062, allocations: 0.572 MB / 355.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.5066, allocations: 167 kB / 355.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.5068, allocations: 64 kB / 355.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.5089, allocations: 0.9121 MB / 356.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.509, allocations: 0 / 356.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.5092, allocations: 36 kB / 356.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.5092, allocations: 16 kB / 356.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.5109, allocations: 0.539 MB / 357 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006859/0.5178, allocations: 2.52 MB / 359.5 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004806/0.5227, allocations: 0.8711 MB / 360.4 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.5237, allocations: 325.6 kB / 360.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.075e-05/0.5238, allocations: 16.75 kB / 360.7 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.5239, allocations: 47.34 kB / 360.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.727e-06/0.5239, allocations: 0 / 360.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.002173/0.5261, allocations: 0.6791 MB / 361.4 MB, free: 7.527 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005102/0.5266, allocations: 0.9529 MB / 362.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.5281, allocations: 0.6565 MB / 363 MB, free: 5.684 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002383/0.5284, allocations: 45.7 kB / 363.1 MB, free: 5.633 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.5288, allocations: 403 kB / 363.5 MB, free: 5.234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.5292, allocations: 252.4 kB / 363.7 MB, free: 4.984 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.5293, allocations: 15.94 kB / 363.7 MB, free: 4.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5294, allocations: 334.8 kB / 364.1 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007623/0.5302, allocations: 229.5 kB / 364.3 MB, free: 4.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.5313, allocations: 0.5372 MB / 364.8 MB, free: 3.746 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008829/0.5323, allocations: 368.2 kB / 365.2 MB, free: 3.371 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.5323, allocations: 4 kB / 365.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002338/0.5346, allocations: 0.8214 MB / 366 MB, free: 2.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.867e-05/0.5347, allocations: 93.22 kB / 366.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5348, allocations: 0 / 366.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005231/0.5353, allocations: 124.2 kB / 366.2 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.5368, allocations: 163.8 kB / 366.4 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2266/0.7634, allocations: 6.899 MB / 373.3 MB, free: 81.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.7648, allocations: 116 kB / 373.4 MB, free: 81.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.765, allocations: 24.12 kB / 373.4 MB, free: 81.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002816/0.7653, allocations: 165.7 kB / 373.6 MB, free: 81.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.7655, allocations: 98.83 kB / 373.7 MB, free: 81.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.7659, allocations: 106.5 kB / 373.8 MB, free: 81.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.7659, allocations: 7.156 kB / 373.8 MB, free: 81.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.7659, allocations: 0.5312 kB / 373.8 MB, free: 81.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00173/0.7677, allocations: 0.924 MB / 374.7 MB, free: 80.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/0.7712, allocations: 1.67 MB / 376.4 MB, free: 80.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.7713, allocations: 0 / 376.4 MB, free: 80.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.7727, allocations: 164.2 kB / 376.5 MB, free: 80.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/0.7729, allocations: 30.64 kB / 376.6 MB, free: 80.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.09e-05/0.773, allocations: 18.44 kB / 376.6 MB, free: 80.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.7741, allocations: 1.439 MB / 378 MB, free: 78.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7742, allocations: 0.9844 kB / 378 MB, free: 78.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.7764, allocations: 0.9995 MB / 379 MB, free: 78.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.7768, allocations: 181.5 kB / 379.2 MB, free: 78.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.777, allocations: 17.25 kB / 379.2 MB, free: 78.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009213/0.7779, allocations: 46.59 kB / 379.3 MB, free: 78.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.7781, allocations: 46.86 kB / 379.3 MB, free: 78.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.7781, allocations: 20.69 kB / 379.3 MB, free: 78.42 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008821/0.779, allocations: 0.5084 MB / 379.8 MB, free: 78.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.242e-06/0.7791, allocations: 2.688 kB / 379.8 MB, free: 78.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001269/0.7803, allocations: 296.9 kB / 380.1 MB, free: 78.31 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002578/0.7829, allocations: 1.582 MB / 381.7 MB, free: 77.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.7854, allocations: 1.291 MB / 383 MB, free: 76.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.7854, allocations: 6 kB / 383 MB, free: 76.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008337/0.7863, allocations: 394.8 kB / 383.4 MB, free: 76.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.7879, allocations: 231 kB / 383.6 MB, free: 76.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/0.7926, allocations: 1.472 MB / 385.1 MB, free: 76.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.7931, allocations: 0.9877 MB / 386.1 MB, free: 75.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/0.7939, allocations: 347.7 kB / 386.4 MB, free: 75.26 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7939, allocations: 3.938 kB / 386.4 MB, free: 75.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.269/4.063, allocations: 25.78 MB / 412.2 MB, free: 55.73 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat