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.154/2.154, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.987e-05, allocations: 0 / 273.2 MB, free: 0.6016 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 48.7 MB / 321.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4246/0.5296, allocations: 79.23 MB / 401.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003897/0.53, allocations: 99.92 kB / 401.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05742/0.5875, allocations: 11.81 MB / 413 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5875, allocations: 0 / 413 MB, free: 14.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.5876, allocations: 8 kB / 413 MB, free: 14.56 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.0009855/0.5886, allocations: 498.6 kB / 413.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.5886, allocations: 8.031 kB / 413.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.5888, allocations: 66.53 kB / 413.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.5889, allocations: 27.62 kB / 413.6 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.5892, allocations: 246.6 kB / 413.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.5893, allocations: 16.56 kB / 413.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.5894, allocations: 28 kB / 413.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008428/0.5902, allocations: 344.9 kB / 414.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.5903, allocations: 7.984 kB / 414.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.5903, allocations: 12 kB / 414.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.88e-05/0.5904, allocations: 20.77 kB / 414.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008188/0.5912, allocations: 337.3 kB / 414.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.5934, allocations: 0.8625 MB / 415.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.5942, allocations: 234.3 kB / 415.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.5944, allocations: 84.81 kB / 415.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.5945, allocations: 7.984 kB / 415.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.5945, allocations: 38.5 kB / 415.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.256e-06/0.5946, allocations: 0 / 415.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007404/0.5953, allocations: 221.6 kB / 416 MB, free: 11.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.5954, allocations: 51.41 kB / 416.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.596, allocations: 307.3 kB / 416.4 MB, free: 11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.596, allocations: 25.7 kB / 416.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.5962, allocations: 222.4 kB / 416.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.54e-05/0.5963, allocations: 55.2 kB / 416.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.5963, allocations: 4 kB / 416.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5965, allocations: 322.8 kB / 417 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.5968, allocations: 80.41 kB / 417.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.5971, allocations: 171.8 kB / 417.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.5975, allocations: 112.5 kB / 417.4 MB, free: 9.973 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5975, allocations: 0 / 417.4 MB, free: 9.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008355/0.5984, allocations: 293.2 kB / 417.6 MB, free: 9.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.5984, allocations: 7.953 kB / 417.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.5984, allocations: 7.984 kB / 417.7 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.5985, allocations: 4 kB / 417.7 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.5996, allocations: 128.2 kB / 417.8 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.6026, allocations: 3.645 MB / 421.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.6031, allocations: 43.92 kB / 421.5 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.6032, allocations: 16 kB / 421.5 MB, free: 5.691 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.0001744/0.6033, allocations: 124.8 kB / 421.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.6034, allocations: 27.67 kB / 421.6 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000957/0.6044, allocations: 299.4 kB / 421.9 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.6044, allocations: 4 kB / 421.9 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6044, allocations: 0 / 421.9 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6044, allocations: 0 / 421.9 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.6051, allocations: 293.4 kB / 422.2 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.6051, allocations: 0 / 422.2 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009936/0.6061, allocations: 111.8 kB / 422.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.6061, allocations: 0 / 422.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.6061, allocations: 11.89 kB / 422.3 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/0.6088, allocations: 3.649 MB / 426 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6089, allocations: 0 / 426 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.6096, allocations: 323.7 kB / 426.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.6098, allocations: 96.83 kB / 426.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-05/0.6099, allocations: 7.953 kB / 426.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.6102, allocations: 11.98 kB / 426.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.6103, allocations: 23.89 kB / 426.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.6103, allocations: 8 kB / 426.5 MB, free: 496 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004373/0.6108, allocations: 239.1 kB / 426.7 MB, free: 256 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6108, allocations: 4 kB / 426.7 MB, free: 252 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006251/0.6114, allocations: 79.91 kB / 426.8 MB, free: 172 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.001284/0.6127, allocations: 0.9139 MB / 427.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.6141, allocations: 263.6 kB / 427.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6141, allocations: 0 / 427.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008979/0.615, allocations: 157.4 kB / 428.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.6156, allocations: 58.44 kB / 428.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.6173, allocations: 0.5002 MB / 428.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.6178, allocations: 0.7912 MB / 429.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.618, allocations: 75.41 kB / 429.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of SimCode: time 1.773e-06/0.618, allocations: 0 / 429.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.028/3.646, allocations: 11.78 MB / 441.3 MB, free: 1.555 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