Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.098/2.098, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.252e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4433, allocations: 44.5 MB / 294.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.6069, allocations: 74.96 MB / 369.2 MB, free: 6.883 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.6072, allocations: 75.95 kB / 369.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03837/0.6456, allocations: 8.889 MB / 378.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6457, allocations: 4 kB / 378.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.365e-05/0.6457, allocations: 15.94 kB / 378.2 MB, free: 13.85 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001634/0.6474, allocations: 0.6597 MB / 378.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.6474, allocations: 8.031 kB / 378.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.6477, allocations: 63.34 kB / 378.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.6485, allocations: 368.6 kB / 379.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.6486, allocations: 46.47 kB / 379.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/0.6487, allocations: 20 kB / 379.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007359/0.6495, allocations: 237.5 kB / 379.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/0.6503, allocations: 385.3 kB / 379.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.6504, allocations: 3.984 kB / 379.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.6504, allocations: 7.984 kB / 379.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.6504, allocations: 12 kB / 380 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/0.6535, allocations: 1.152 MB / 381.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.6554, allocations: 413.2 kB / 381.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.6557, allocations: 117.4 kB / 381.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.212e-05/0.6558, allocations: 4.281 kB / 381.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.6559, allocations: 46.84 kB / 381.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 6.022e-06/0.6559, allocations: 0 / 381.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001103/0.657, allocations: 317.2 kB / 382 MB, free: 9.762 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002215/0.6572, allocations: 444.9 kB / 382.4 MB, free: 9.223 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.6579, allocations: 326.2 kB / 382.7 MB, free: 8.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.6579, allocations: 25.7 kB / 382.8 MB, free: 8.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.6582, allocations: 220.5 kB / 383 MB, free: 8.641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.6583, allocations: 118.3 kB / 383.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.6584, allocations: 0 / 383.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6585, allocations: 350.8 kB / 383.4 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.6588, allocations: 92 kB / 383.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.6593, allocations: 224.8 kB / 383.7 MB, free: 7.809 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.6596, allocations: 122.2 kB / 383.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6596, allocations: 4 kB / 383.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001103/0.6607, allocations: 360.7 kB / 384.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.6608, allocations: 29.7 kB / 384.2 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6608, allocations: 4 kB / 384.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/0.6613, allocations: 77.62 kB / 384.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.662, allocations: 71.89 kB / 384.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/0.6654, allocations: 2.646 MB / 387 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/0.6661, allocations: 43.81 kB / 387.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.6661, allocations: 8 kB / 387.1 MB, free: 4.211 MB / 330.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: pipe.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: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.6664, allocations: 121 kB / 387.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009814/0.6674, allocations: 318.9 kB / 387.5 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.6675, allocations: 43.53 kB / 387.6 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.6677, allocations: 40.69 kB / 387.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.6677, allocations: 8 kB / 387.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6677, allocations: 0 / 387.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008251/0.6686, allocations: 0.614 MB / 388.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.6704, allocations: 0.8059 MB / 389 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.6705, allocations: 4 kB / 389 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/0.6712, allocations: 71.89 kB / 389.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.6712, allocations: 4 kB / 389.1 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.6713, allocations: 4 kB / 389.1 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.6713, allocations: 0 / 389.1 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.6713, allocations: 3.984 kB / 389.1 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.6724, allocations: 483.6 kB / 389.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.6726, allocations: 124.7 kB / 389.7 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.6728, allocations: 7.984 kB / 389.7 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.6732, allocations: 8 kB / 389.7 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.6733, allocations: 19.97 kB / 389.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.6733, allocations: 8 kB / 389.8 MB, free: 1.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004374/0.6738, allocations: 248.6 kB / 390 MB, free: 1.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6738, allocations: 0 / 390 MB, free: 1.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007217/0.6745, allocations: 131.6 kB / 390.1 MB, free: 0.9609 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/0.676, allocations: 1.02 MB / 391.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.6776, allocations: 0.5229 MB / 391.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6776, allocations: 4 kB / 391.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.6779, allocations: 119.8 kB / 391.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/0.6788, allocations: 97.27 kB / 391.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.6812, allocations: 0.6449 MB / 392.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.6817, allocations: 0.8235 MB / 393.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003962/0.6821, allocations: 51.3 kB / 393.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.6825, allocations: 147.4 kB / 393.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6825, allocations: 0 / 393.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05705/0.7396, allocations: 9.666 MB / 403.2 MB, free: 3.762 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.74, allocations: 145.3 kB / 403.4 MB, free: 3.566 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/3.725, allocations: 8.031 kB / 403.4 MB, free: 3.559 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat