Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.146/2.146, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.702e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3102, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4496, allocations: 75.97 MB / 370.2 MB, free: 6.004 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4499, allocations: 75.95 kB / 370.2 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0778/0.5278, allocations: 17.92 MB / 388.2 MB, free: 3.902 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5278, allocations: 0 / 388.2 MB, free: 3.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.294e-05/0.5279, allocations: 19.94 kB / 388.2 MB, free: 3.883 MB / 330.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.002936/0.5309, allocations: 1.115 MB / 389.3 MB, free: 2.703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.5309, allocations: 8.031 kB / 389.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.5313, allocations: 119.5 kB / 389.4 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5327, allocations: 0.5784 MB / 390 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.533, allocations: 130.4 kB / 390.1 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.5332, allocations: 40 kB / 390.2 MB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001571/0.5348, allocations: 0.5141 MB / 390.7 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.5366, allocations: 0.7869 MB / 391.5 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.5366, allocations: 0 / 391.5 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.163e-05/0.5367, allocations: 4 kB / 391.5 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.5367, allocations: 16 kB / 391.5 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006187/0.5429, allocations: 2.374 MB / 393.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/0.5476, allocations: 0.8445 MB / 394.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009157/0.5485, allocations: 299.2 kB / 395 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.5486, allocations: 16.77 kB / 395 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.5487, allocations: 51.34 kB / 395.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 3.827e-06/0.5487, allocations: 0 / 395.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.002237/0.551, allocations: 0.6596 MB / 395.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004969/0.5515, allocations: 0.949 MB / 396.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.5527, allocations: 0.5583 MB / 397.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002089/0.5529, allocations: 25.7 kB / 397.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.5533, allocations: 414.6 kB / 397.7 MB, free: 9.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/0.5537, allocations: 232.4 kB / 397.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.5538, allocations: 4 kB / 397.9 MB, free: 9.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5539, allocations: 342.8 kB / 398.2 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.5546, allocations: 209.6 kB / 398.4 MB, free: 8.949 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.5556, allocations: 0.5178 MB / 398.9 MB, free: 8.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/0.5564, allocations: 261.5 kB / 399.2 MB, free: 8.051 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.5564, allocations: 0 / 399.2 MB, free: 8.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002326/0.5587, allocations: 0.7266 MB / 399.9 MB, free: 7.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.493e-05/0.5588, allocations: 93.03 kB / 400 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5589, allocations: 4 kB / 400 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009867/0.5599, allocations: 164.2 kB / 400.2 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.5613, allocations: 163.7 kB / 400.3 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008409/0.5698, allocations: 6.687 MB / 407 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.5712, allocations: 83.36 kB / 407.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/0.5713, allocations: 31.94 kB / 407.1 MB, free: 15.47 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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.0003776/0.5717, allocations: 144.6 kB / 407.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002115/0.5738, allocations: 0.6634 MB / 407.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.5741, allocations: 94.95 kB / 408 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.5744, allocations: 83.94 kB / 408.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5745, allocations: 4 kB / 408.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.5745, allocations: 4 kB / 408.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001713/0.5762, allocations: 0.8753 MB / 409 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004032/0.5803, allocations: 1.543 MB / 410.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5803, allocations: 0 / 410.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.5819, allocations: 159.8 kB / 410.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.5821, allocations: 36.84 kB / 410.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/0.5822, allocations: 4 kB / 410.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.5837, allocations: 1.389 MB / 412.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.5838, allocations: 3.953 kB / 412.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.5863, allocations: 0.9398 MB / 413.1 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.5867, allocations: 172 kB / 413.2 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.5869, allocations: 12.02 kB / 413.2 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008655/0.5878, allocations: 27.97 kB / 413.3 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.588, allocations: 44.72 kB / 413.3 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-05/0.588, allocations: 20 kB / 413.3 MB, free: 8.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008663/0.5889, allocations: 431.2 kB / 413.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5889, allocations: 0 / 413.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001504/0.5905, allocations: 285.5 kB / 414 MB, free: 8.211 MB / 362.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.003084/0.5936, allocations: 1.504 MB / 415.5 MB, free: 6.672 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003642/0.5973, allocations: 1.286 MB / 416.8 MB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.5973, allocations: 4.25 kB / 416.8 MB, free: 5.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009492/0.5983, allocations: 380.6 kB / 417.2 MB, free: 4.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.6004, allocations: 215.2 kB / 417.4 MB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006397/0.6068, allocations: 1.343 MB / 418.8 MB, free: 3.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009568/0.6078, allocations: 0.9836 MB / 419.7 MB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/0.6091, allocations: 343.3 kB / 420.1 MB, free: 1.973 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6091, allocations: 0 / 420.1 MB, free: 1.973 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.368/3.977, allocations: 25.4 MB / 445.5 MB, free: 96.07 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat