Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.52/2.52, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.901e-05/4.913e-05, allocations: 4 kB / 305 MB, free: 5.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4257, allocations: 54.86 MB / 359.9 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.6093, allocations: 85.61 MB / 445.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/0.6097, allocations: 91.94 kB / 445.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05702/0.6668, allocations: 11.82 MB / 457.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6668, allocations: 0 / 457.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.6669, allocations: 8 kB / 457.4 MB, free: 15.3 MB / 394.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.0009492/0.6678, allocations: 0.4908 MB / 457.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.6679, allocations: 11.97 kB / 457.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.668, allocations: 70.53 kB / 458 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.027e-05/0.6681, allocations: 31.58 kB / 458 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.6685, allocations: 240.3 kB / 458.2 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.6685, allocations: 20.56 kB / 458.3 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.6686, allocations: 20 kB / 458.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.6695, allocations: 348.9 kB / 458.6 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.6695, allocations: 4 kB / 458.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.6696, allocations: 11.95 kB / 458.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/0.6696, allocations: 17.44 kB / 458.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/0.6705, allocations: 349.3 kB / 459 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.6726, allocations: 0.8508 MB / 459.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.6733, allocations: 239.1 kB / 460.1 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.6736, allocations: 80.86 kB / 460.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.6736, allocations: 15.91 kB / 460.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.6737, allocations: 38.5 kB / 460.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 2.995e-06/0.6737, allocations: 1.031 kB / 460.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007541/0.6745, allocations: 214.9 kB / 460.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.6745, allocations: 51.41 kB / 460.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.6751, allocations: 307.3 kB / 460.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.6751, allocations: 29.7 kB / 460.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.6753, allocations: 222.4 kB / 461 MB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.729e-05/0.6754, allocations: 59.19 kB / 461.1 MB, free: 11.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.6754, allocations: 4 kB / 461.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6756, allocations: 322.8 kB / 461.4 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.6759, allocations: 84.39 kB / 461.5 MB, free: 11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.6762, allocations: 167.8 kB / 461.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.6766, allocations: 118.2 kB / 461.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.6766, allocations: 4 kB / 461.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008033/0.6774, allocations: 291 kB / 462 MB, free: 10.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.6774, allocations: 4 kB / 462 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.6775, allocations: 4 kB / 462.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.6775, allocations: 4 kB / 462.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.6786, allocations: 127.8 kB / 462.2 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.6813, allocations: 3.649 MB / 465.8 MB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.6817, allocations: 35.59 kB / 465.9 MB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.6818, allocations: 15.98 kB / 465.9 MB, free: 6.418 MB / 394.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.0001649/0.682, allocations: 136.1 kB / 466 MB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.6821, allocations: 23.72 kB / 466 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009204/0.683, allocations: 293.1 kB / 466.3 MB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.683, allocations: 7.938 kB / 466.3 MB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.683, allocations: 0 / 466.3 MB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.6831, allocations: 7.984 kB / 466.3 MB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.6836, allocations: 297.4 kB / 466.6 MB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6836, allocations: 0 / 466.6 MB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009643/0.6846, allocations: 103.9 kB / 466.7 MB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.6846, allocations: 0 / 466.7 MB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.6847, allocations: 11.98 kB / 466.7 MB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.6872, allocations: 3.645 MB / 470.4 MB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.6873, allocations: 0 / 470.4 MB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006765/0.688, allocations: 324.8 kB / 470.7 MB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.6881, allocations: 105 kB / 470.8 MB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.6882, allocations: 8 kB / 470.8 MB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.6885, allocations: 11.98 kB / 470.8 MB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/0.6886, allocations: 15.92 kB / 470.8 MB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.6887, allocations: 7.984 kB / 470.8 MB, free: 1.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003914/0.6891, allocations: 243.1 kB / 471.1 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6891, allocations: 0 / 471.1 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006018/0.6897, allocations: 79.91 kB / 471.2 MB, free: 0.8984 MB / 394.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.001271/0.691, allocations: 0.9 MB / 472.1 MB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.6923, allocations: 267.6 kB / 472.3 MB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6923, allocations: 0 / 472.3 MB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008792/0.6932, allocations: 156.6 kB / 472.5 MB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.6938, allocations: 68.77 kB / 472.5 MB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.6954, allocations: 0.4975 MB / 473 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.6959, allocations: 0.7917 MB / 473.8 MB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.6961, allocations: 75.41 kB / 473.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6961, allocations: 0 / 473.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.076/3.772, allocations: 11.8 MB / 485.7 MB, free: 2.273 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat