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.761/1.761, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.155e-05/4.179e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3062, allocations: 38.76 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.4479, allocations: 71.3 MB / 335.1 MB, free: 2.355 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.4482, allocations: 71.97 kB / 335.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07896/0.5272, allocations: 18.05 MB / 353.2 MB, free: 116 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5273, allocations: 0 / 353.2 MB, free: 116 kB / 298.7 MB Notification: Performance of Transformations before backend: time 9.143e-05/0.5274, allocations: 19.94 kB / 353.3 MB, free: 96 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.004112/0.5315, allocations: 1.127 MB / 354.4 MB, free: 14.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.465e-05/0.5316, allocations: 8.031 kB / 354.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003885/0.532, allocations: 120.4 kB / 354.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.5325, allocations: 122.6 kB / 354.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.5347, allocations: 0.5759 MB / 355.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000448/0.5352, allocations: 163 kB / 355.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/0.5355, allocations: 68 kB / 355.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.5385, allocations: 0.9199 MB / 356.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.5385, allocations: 0 / 356.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.5387, allocations: 36 kB / 356.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.5388, allocations: 16 kB / 356.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.5412, allocations: 0.5468 MB / 357 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00953/0.5508, allocations: 2.516 MB / 359.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006523/0.5574, allocations: 0.8882 MB / 360.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.5588, allocations: 318.3 kB / 360.7 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.559, allocations: 20.77 kB / 360.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.974e-05/0.5591, allocations: 47.34 kB / 360.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 4.729e-06/0.5591, allocations: 0 / 360.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.003515/0.5626, allocations: 0.7257 MB / 361.5 MB, free: 7.449 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005837/0.5633, allocations: 0.9529 MB / 362.4 MB, free: 6.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.5653, allocations: 0.6487 MB / 363.1 MB, free: 5.613 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002238/0.5655, allocations: 45.7 kB / 363.1 MB, free: 5.562 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005206/0.5661, allocations: 406.9 kB / 363.5 MB, free: 5.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004077/0.5665, allocations: 252.4 kB / 363.8 MB, free: 4.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.5666, allocations: 16 kB / 363.8 MB, free: 4.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.5668, allocations: 338.8 kB / 364.1 MB, free: 4.555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.5679, allocations: 221.6 kB / 364.3 MB, free: 4.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.5695, allocations: 0.5428 MB / 364.9 MB, free: 3.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.5707, allocations: 360.2 kB / 365.2 MB, free: 3.305 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.5708, allocations: 0 / 365.2 MB, free: 3.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003715/0.5745, allocations: 0.8682 MB / 366.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.5747, allocations: 89.05 kB / 366.2 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.5747, allocations: 0 / 366.2 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.5761, allocations: 176.2 kB / 366.3 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.5781, allocations: 163.8 kB / 366.5 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2344/0.8125, allocations: 6.895 MB / 373.4 MB, free: 81.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.814, allocations: 116.4 kB / 373.5 MB, free: 81.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.8142, allocations: 29.98 kB / 373.5 MB, free: 81.29 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 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003154/0.8145, allocations: 160.8 kB / 373.7 MB, free: 81.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/0.8149, allocations: 98.47 kB / 373.8 MB, free: 81.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.8152, allocations: 98.3 kB / 373.9 MB, free: 81.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.8152, allocations: 7.094 kB / 373.9 MB, free: 81.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.8153, allocations: 1.188 kB / 373.9 MB, free: 81.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001684/0.817, allocations: 0.9252 MB / 374.8 MB, free: 80.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/0.8207, allocations: 1.671 MB / 376.5 MB, free: 80.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.8207, allocations: 0 / 376.5 MB, free: 80.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.8222, allocations: 158.2 kB / 376.6 MB, free: 80.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001716/0.8224, allocations: 37.53 kB / 376.7 MB, free: 80.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-05/0.8225, allocations: 18.3 kB / 376.7 MB, free: 80.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.8237, allocations: 1.446 MB / 378.1 MB, free: 78.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8237, allocations: 2.688 kB / 378.1 MB, free: 78.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.8261, allocations: 0.9965 MB / 379.1 MB, free: 78.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.8265, allocations: 182.3 kB / 379.3 MB, free: 78.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.8267, allocations: 20.56 kB / 379.3 MB, free: 78.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008964/0.8276, allocations: 42.98 kB / 379.4 MB, free: 78.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.8278, allocations: 47.09 kB / 379.4 MB, free: 78.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.8279, allocations: 17.88 kB / 379.4 MB, free: 78.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009174/0.8288, allocations: 0.5136 MB / 380 MB, free: 78.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8288, allocations: 3.969 kB / 380 MB, free: 78.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001301/0.8301, allocations: 290.7 kB / 380.3 MB, free: 78.39 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.002721/0.8329, allocations: 1.582 MB / 381.8 MB, free: 77.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003385/0.8363, allocations: 1.361 MB / 383.2 MB, free: 76.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.8364, allocations: 3.969 kB / 383.2 MB, free: 76.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008714/0.8372, allocations: 391.3 kB / 383.6 MB, free: 76.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.839, allocations: 233.9 kB / 383.8 MB, free: 76.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.8438, allocations: 1.483 MB / 385.3 MB, free: 76.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.8444, allocations: 0.9826 MB / 386.3 MB, free: 75.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/0.8451, allocations: 354.7 kB / 386.6 MB, free: 75.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8452, allocations: 0 / 386.6 MB, free: 75.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.358/4.204, allocations: 25.91 MB / 412.5 MB, free: 55.56 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