Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.019/2.019, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.803e-05, allocations: 4 kB / 273.2 MB, free: 0.6094 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 48.7 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.5163, allocations: 79.22 MB / 401.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/0.5168, allocations: 91.94 kB / 401.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05846/0.5753, allocations: 11.81 MB / 413 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5753, allocations: 0 / 413 MB, free: 14.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.5754, allocations: 8 kB / 413 MB, free: 14.69 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001017/0.5764, allocations: 0.4908 MB / 413.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.5765, allocations: 8.031 kB / 413.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.5766, allocations: 70.53 kB / 413.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/0.5767, allocations: 31.62 kB / 413.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.5771, allocations: 234.6 kB / 413.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.5771, allocations: 24.55 kB / 413.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/0.5772, allocations: 24 kB / 413.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008596/0.5781, allocations: 346.1 kB / 414.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.5781, allocations: 3.938 kB / 414.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.5782, allocations: 16 kB / 414.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.5782, allocations: 20.77 kB / 414.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007995/0.5791, allocations: 346.8 kB / 414.6 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.5813, allocations: 0.8586 MB / 415.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.582, allocations: 242.3 kB / 415.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.5823, allocations: 84.81 kB / 415.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.5823, allocations: 0 / 415.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.5824, allocations: 34.56 kB / 415.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.5824, allocations: 0 / 415.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.000708/0.5831, allocations: 217.6 kB / 416 MB, free: 11.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.5832, allocations: 55.41 kB / 416.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.5837, allocations: 311.2 kB / 416.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.5838, allocations: 25.7 kB / 416.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.584, allocations: 222.4 kB / 416.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.5841, allocations: 55.2 kB / 416.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.5841, allocations: 4 kB / 416.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5843, allocations: 322.8 kB / 417 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.5845, allocations: 80.41 kB / 417 MB, free: 10.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.5849, allocations: 172 kB / 417.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.5852, allocations: 112.6 kB / 417.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5853, allocations: 7.984 kB / 417.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008626/0.5861, allocations: 293.1 kB / 417.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.5862, allocations: 15.89 kB / 417.6 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5862, allocations: 4 kB / 417.6 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.5862, allocations: 7.984 kB / 417.6 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.5874, allocations: 116.2 kB / 417.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.5904, allocations: 3.653 MB / 421.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.5909, allocations: 43.86 kB / 421.5 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.591, allocations: 16 kB / 421.5 MB, free: 5.801 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.5912, allocations: 132.8 kB / 421.6 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.66e-05/0.5913, allocations: 27.67 kB / 421.6 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.5924, allocations: 291.4 kB / 421.9 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.5924, allocations: 8 kB / 421.9 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5924, allocations: 0 / 421.9 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5925, allocations: 0 / 421.9 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.5931, allocations: 297.4 kB / 422.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5931, allocations: 0 / 422.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.5942, allocations: 103.9 kB / 422.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.5942, allocations: 3.938 kB / 422.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.5943, allocations: 11.95 kB / 422.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002677/0.5969, allocations: 3.649 MB / 426 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.597, allocations: 3.938 kB / 426 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.5977, allocations: 327.7 kB / 426.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.5979, allocations: 104.8 kB / 426.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.598, allocations: 7.953 kB / 426.4 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.5983, allocations: 15.98 kB / 426.4 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.5984, allocations: 11.97 kB / 426.4 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.5984, allocations: 8 kB / 426.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000401/0.5988, allocations: 239.1 kB / 426.7 MB, free: 356 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5988, allocations: 0 / 426.7 MB, free: 356 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005782/0.5994, allocations: 83.91 kB / 426.8 MB, free: 272 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001317/0.6008, allocations: 0.9037 MB / 427.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.6021, allocations: 271.6 kB / 427.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6022, allocations: 0.75 kB / 427.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009/0.6031, allocations: 151.8 kB / 428.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.6037, allocations: 64.75 kB / 428.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.6054, allocations: 0.5002 MB / 428.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.6059, allocations: 0.799 MB / 429.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.6062, allocations: 71.41 kB / 429.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6062, allocations: 0 / 429.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.156/3.762, allocations: 11.81 MB / 441.3 MB, free: 1.609 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat