Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.686e-05, allocations: 4 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09828, allocations: 44.5 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.521, allocations: 75.63 MB / 375.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.5213, allocations: 72.5 kB / 375.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03862/0.5599, allocations: 9 MB / 384.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.56, allocations: 0 / 384.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.991e-05/0.56, allocations: 13.62 kB / 384.7 MB, free: 11.42 MB / 314.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.001525/0.5616, allocations: 0.6685 MB / 385.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.5617, allocations: 9.125 kB / 385.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.5618, allocations: 76.95 kB / 385.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.562, allocations: 59.5 kB / 385.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.5628, allocations: 370.4 kB / 385.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.563, allocations: 61.02 kB / 385.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.5631, allocations: 34.12 kB / 385.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009774/0.564, allocations: 438.3 kB / 386.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.5641, allocations: 0 / 386.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.5642, allocations: 16.44 kB / 386.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.5642, allocations: 8.031 kB / 386.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000754/0.565, allocations: 259.1 kB / 386.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.5681, allocations: 1.242 MB / 387.9 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.57, allocations: 431.6 kB / 388.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.5703, allocations: 131.7 kB / 388.4 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.102e-05/0.5704, allocations: 13.36 kB / 388.4 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.5705, allocations: 47.55 kB / 388.5 MB, free: 9.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.507e-06/0.5705, allocations: 96 / 388.5 MB, free: 9.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009629/0.5714, allocations: 326.5 kB / 388.8 MB, free: 9.633 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.5716, allocations: 446.1 kB / 389.2 MB, free: 9.102 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.5723, allocations: 382.3 kB / 389.6 MB, free: 8.992 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.5724, allocations: 33.42 kB / 389.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.5725, allocations: 261.4 kB / 389.9 MB, free: 8.785 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.5727, allocations: 118.2 kB / 390 MB, free: 8.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.5727, allocations: 7.156 kB / 390 MB, free: 8.707 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.5728, allocations: 325.6 kB / 390.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.5731, allocations: 93.16 kB / 390.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.5735, allocations: 242.6 kB / 390.7 MB, free: 8.246 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.5739, allocations: 145.6 kB / 390.8 MB, free: 8.211 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5739, allocations: 3.688 kB / 390.8 MB, free: 8.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008965/0.5748, allocations: 374.8 kB / 391.2 MB, free: 8.109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.5749, allocations: 31.81 kB / 391.2 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.5749, allocations: 7.797 kB / 391.2 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.5751, allocations: 49.47 kB / 391.3 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.5758, allocations: 74.33 kB / 391.3 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.5785, allocations: 2.744 MB / 394.1 MB, free: 21.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007211/0.5793, allocations: 41.64 kB / 394.1 MB, free: 21.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.5794, allocations: 11.28 kB / 394.1 MB, free: 21.49 MB / 330.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.000198/0.5796, allocations: 133.9 kB / 394.3 MB, free: 21.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5797, allocations: 54.64 kB / 394.3 MB, free: 21.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.5799, allocations: 47.03 kB / 394.4 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.5799, allocations: 3.875 kB / 394.4 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.5799, allocations: 0 / 394.4 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008833/0.5808, allocations: 0.6332 MB / 395 MB, free: 20.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.5827, allocations: 0.8939 MB / 395.9 MB, free: 20.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.5828, allocations: 0 / 395.9 MB, free: 20.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.5835, allocations: 74.5 kB / 396 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.5835, allocations: 0 / 396 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.5836, allocations: 10.5 kB / 396 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-06/0.5836, allocations: 0 / 396 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5836, allocations: 0 / 396 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.5847, allocations: 0.5021 MB / 396.5 MB, free: 20.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.585, allocations: 129.1 kB / 396.6 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.5852, allocations: 10.69 kB / 396.6 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.5856, allocations: 14.27 kB / 396.6 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.5857, allocations: 21.42 kB / 396.7 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.5857, allocations: 14.3 kB / 396.7 MB, free: 20.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005284/0.5863, allocations: 298.3 kB / 397 MB, free: 20.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5863, allocations: 3.875 kB / 397 MB, free: 20.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007392/0.587, allocations: 137.8 kB / 397.1 MB, free: 20.04 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.001477/0.5885, allocations: 1.06 MB / 398.2 MB, free: 19.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.5898, allocations: 0.5311 MB / 398.7 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5899, allocations: 0 / 398.7 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.5902, allocations: 122.8 kB / 398.8 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.5912, allocations: 116.2 kB / 398.9 MB, free: 19.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.5937, allocations: 0.7192 MB / 399.6 MB, free: 18.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.5942, allocations: 0.8233 MB / 400.5 MB, free: 17.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/0.5946, allocations: 156.6 kB / 400.6 MB, free: 17.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5946, allocations: 0 / 400.6 MB, free: 17.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.855/3.45, allocations: 9.588 MB / 410.2 MB, free: 15.73 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat