Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.721e-05/4.721e-05, allocations: 8 kB / 305 MB, free: 5.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4263, allocations: 54.85 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/0.5954, allocations: 87.57 MB / 447.5 MB, free: 9.301 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003977/0.5958, allocations: 91.94 kB / 447.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06448/0.6603, allocations: 13.32 MB / 460.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.6604, allocations: 0 / 460.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.6604, allocations: 4 kB / 460.9 MB, free: 11.82 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001276/0.6617, allocations: 0.5567 MB / 461.4 MB, free: 11.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.6618, allocations: 15.97 kB / 461.4 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.6619, allocations: 66.53 kB / 461.5 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.137e-05/0.662, allocations: 27.62 kB / 461.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.6625, allocations: 255.8 kB / 461.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.6625, allocations: 20.56 kB / 461.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.6626, allocations: 24 kB / 461.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009472/0.6636, allocations: 401.6 kB / 462.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.6636, allocations: 0 / 462.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.6637, allocations: 15.98 kB / 462.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/0.6638, allocations: 24.55 kB / 462.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.6645, allocations: 256.9 kB / 462.5 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.6671, allocations: 1.108 MB / 463.6 MB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.6678, allocations: 207.8 kB / 463.8 MB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.6681, allocations: 86.52 kB / 463.9 MB, free: 8.574 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.6681, allocations: 4 kB / 463.9 MB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.6682, allocations: 42.55 kB / 463.9 MB, free: 8.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.837e-06/0.6682, allocations: 0 / 463.9 MB, free: 8.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007611/0.669, allocations: 205.1 kB / 464.1 MB, free: 8.312 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.669, allocations: 102.8 kB / 464.2 MB, free: 8.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/0.6697, allocations: 355.5 kB / 464.6 MB, free: 7.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.6698, allocations: 30.64 kB / 464.6 MB, free: 7.797 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.67, allocations: 242.3 kB / 464.9 MB, free: 7.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.6701, allocations: 47.27 kB / 464.9 MB, free: 7.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.6701, allocations: 8.109 kB / 464.9 MB, free: 7.504 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6703, allocations: 330.8 kB / 465.2 MB, free: 7.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.6706, allocations: 88.11 kB / 465.3 MB, free: 7.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.671, allocations: 197.3 kB / 465.5 MB, free: 6.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.6713, allocations: 127.8 kB / 465.6 MB, free: 6.711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6714, allocations: 0 / 465.6 MB, free: 6.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009679/0.6723, allocations: 309.8 kB / 465.9 MB, free: 6.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.6724, allocations: 8 kB / 466 MB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.973e-05/0.6725, allocations: 23.98 kB / 466 MB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.6725, allocations: 11.94 kB / 466 MB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.673, allocations: 56.44 kB / 466 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.6731, allocations: 8.844 kB / 466.1 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/0.6736, allocations: 59.52 kB / 466.1 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.6737, allocations: 19.98 kB / 466.1 MB, free: 6.219 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 prepare postOptimizeDAE: time 0.0001596/0.6739, allocations: 125.9 kB / 466.3 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.674, allocations: 27.62 kB / 466.3 MB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009032/0.6749, allocations: 269 kB / 466.5 MB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.675, allocations: 7.953 kB / 466.5 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.675, allocations: 0 / 466.5 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.675, allocations: 4 kB / 466.6 MB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.6757, allocations: 305.4 kB / 466.9 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-05/0.6758, allocations: 15.98 kB / 466.9 MB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.6762, allocations: 35.97 kB / 466.9 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.6762, allocations: 0 / 466.9 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.6762, allocations: 11.98 kB / 466.9 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.6763, allocations: 0 / 466.9 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.6763, allocations: 11.89 kB / 466.9 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007768/0.6771, allocations: 469.1 kB / 467.4 MB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.6773, allocations: 112.7 kB / 467.5 MB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.668e-05/0.6773, allocations: 7.953 kB / 467.5 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.6778, allocations: 31.97 kB / 467.5 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.678, allocations: 11.98 kB / 467.5 MB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.678, allocations: 8 kB / 467.6 MB, free: 4.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005205/0.6785, allocations: 278.1 kB / 467.8 MB, free: 4.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6785, allocations: 0 / 467.8 MB, free: 4.418 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008604/0.6794, allocations: 103.9 kB / 467.9 MB, free: 4.316 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001578/0.681, allocations: 1.228 MB / 469.2 MB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008332/0.6819, allocations: 366.9 kB / 469.5 MB, free: 2.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6819, allocations: 288 / 469.5 MB, free: 2.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.6823, allocations: 250.2 kB / 469.8 MB, free: 2.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.6831, allocations: 62.11 kB / 469.8 MB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.6853, allocations: 0.5523 MB / 470.4 MB, free: 1.715 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.6859, allocations: 0.7989 MB / 471.2 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.6861, allocations: 84.25 kB / 471.3 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of SimCode: time 1.153e-06/0.6861, allocations: 3.938 kB / 471.3 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.693/3.379, allocations: 6.928 MB / 478.2 MB, free: 9.914 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_res.mat does not exist to compare? outputFormat=mat