Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.739/1.739, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.71e-05/4.728e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3204, allocations: 38.77 MB / 263.8 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4467, allocations: 70.3 MB / 334.1 MB, free: 3.355 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.447, allocations: 63.97 kB / 334.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03841/0.4854, allocations: 8.973 MB / 343.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4855, allocations: 0 / 343.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.111e-05/0.4855, allocations: 15.98 kB / 343.2 MB, free: 10.25 MB / 298.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.001455/0.487, allocations: 0.6674 MB / 343.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.487, allocations: 8.031 kB / 343.9 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.4872, allocations: 79.22 kB / 344 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.4874, allocations: 59.44 kB / 344 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000742/0.4881, allocations: 360.3 kB / 344.4 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.4883, allocations: 62.81 kB / 344.4 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-05/0.4884, allocations: 35.95 kB / 344.5 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009564/0.4893, allocations: 436.3 kB / 344.9 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.4894, allocations: 0 / 344.9 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.4894, allocations: 20 kB / 344.9 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4895, allocations: 12 kB / 344.9 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007456/0.4902, allocations: 257.5 kB / 345.2 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/0.4934, allocations: 1.241 MB / 346.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.4953, allocations: 433.2 kB / 346.8 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.4958, allocations: 133.4 kB / 347 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.111e-05/0.4958, allocations: 12.22 kB / 347 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.4959, allocations: 38.84 kB / 347 MB, free: 6.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/0.4959, allocations: 0 / 347 MB, free: 6.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001003/0.4969, allocations: 317.2 kB / 347.3 MB, free: 5.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.4972, allocations: 452.9 kB / 347.8 MB, free: 5.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.4979, allocations: 379.2 kB / 348.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.4979, allocations: 37.64 kB / 348.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.4982, allocations: 270.8 kB / 348.4 MB, free: 4.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.4983, allocations: 114.3 kB / 348.5 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.4983, allocations: 8 kB / 348.6 MB, free: 4.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4985, allocations: 330.8 kB / 348.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.4988, allocations: 95.98 kB / 349 MB, free: 4.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.4993, allocations: 238.5 kB / 349.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.4997, allocations: 151.2 kB / 349.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4997, allocations: 4 kB / 349.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00098/0.5007, allocations: 370.8 kB / 349.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.5007, allocations: 33.7 kB / 349.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.5008, allocations: 0 / 349.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.501, allocations: 45.7 kB / 349.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/0.5016, allocations: 71.89 kB / 349.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.5048, allocations: 2.74 MB / 352.6 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.5054, allocations: 51.62 kB / 352.7 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.5055, allocations: 12.03 kB / 352.7 MB, free: 15.99 MB / 314.7 MB 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.5057, allocations: 132.9 kB / 352.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.5059, allocations: 51.44 kB / 352.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.5061, allocations: 48.61 kB / 352.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.5061, allocations: 4 kB / 352.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5062, allocations: 0 / 352.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008351/0.507, allocations: 0.6336 MB / 353.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.5089, allocations: 0.8839 MB / 354.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5089, allocations: 0 / 354.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006862/0.5096, allocations: 71.89 kB / 354.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.5096, allocations: 4 kB / 354.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.5097, allocations: 7.953 kB / 354.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.5097, allocations: 7.938 kB / 354.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5097, allocations: 0 / 354.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.5108, allocations: 0.5025 MB / 355 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.511, allocations: 128.5 kB / 355.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/0.5111, allocations: 8.094 kB / 355.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.5115, allocations: 23.88 kB / 355.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.5116, allocations: 19.97 kB / 355.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.5117, allocations: 8 kB / 355.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000551/0.5122, allocations: 301.2 kB / 355.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5122, allocations: 4.062 kB / 355.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006834/0.5129, allocations: 131.8 kB / 355.6 MB, free: 12.83 MB / 314.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.001518/0.5145, allocations: 1.052 MB / 356.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.5158, allocations: 0.5378 MB / 357.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.5158, allocations: 0 / 357.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.5161, allocations: 123.9 kB / 357.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009222/0.5171, allocations: 119.1 kB / 357.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.5197, allocations: 0.7472 MB / 358.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.5202, allocations: 0.8276 MB / 359 MB, free: 9.301 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.5206, allocations: 151.4 kB / 359.2 MB, free: 9.152 MB / 314.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5206, allocations: 4 kB / 359.2 MB, free: 9.148 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.041/3.562, allocations: 9.518 MB / 368.7 MB, free: 91.6 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat