Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.116/2.116, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.879e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4088/0.5154, allocations: 81.24 MB / 403.1 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004034/0.5159, allocations: 91.92 kB / 403.2 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06518/0.5811, allocations: 13.33 MB / 416.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5811, allocations: 0 / 416.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.5812, allocations: 4 kB / 416.5 MB, free: 11.14 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001414/0.5826, allocations: 0.5683 MB / 417.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.5827, allocations: 8.031 kB / 417.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.5828, allocations: 70.47 kB / 417.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.5829, allocations: 39.58 kB / 417.2 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.5834, allocations: 246.6 kB / 417.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.5834, allocations: 16.56 kB / 417.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/0.5835, allocations: 28 kB / 417.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.5844, allocations: 397.7 kB / 417.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5845, allocations: 0 / 417.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.5845, allocations: 8 kB / 417.9 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.5846, allocations: 16.56 kB / 417.9 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.5853, allocations: 264.9 kB / 418.2 MB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.5878, allocations: 1.112 MB / 419.3 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005756/0.5884, allocations: 215.8 kB / 419.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.5887, allocations: 78.53 kB / 419.6 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-05/0.5888, allocations: 15.97 kB / 419.6 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.5888, allocations: 30.56 kB / 419.6 MB, free: 7.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.286e-06/0.5888, allocations: 0 / 419.6 MB, free: 7.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007628/0.5896, allocations: 205.2 kB / 419.8 MB, free: 7.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.5897, allocations: 110.8 kB / 419.9 MB, free: 7.492 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.5903, allocations: 359.5 kB / 420.3 MB, free: 7.133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.5904, allocations: 33.88 kB / 420.3 MB, free: 7.094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.5906, allocations: 238.1 kB / 420.5 MB, free: 6.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.728e-05/0.5907, allocations: 47.36 kB / 420.6 MB, free: 6.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.5907, allocations: 4 kB / 420.6 MB, free: 6.809 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5908, allocations: 326.8 kB / 420.9 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.5911, allocations: 84.17 kB / 421 MB, free: 6.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.5915, allocations: 211.5 kB / 421.2 MB, free: 6.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.5919, allocations: 123.8 kB / 421.3 MB, free: 6.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.592, allocations: 4 kB / 421.3 MB, free: 6.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000914/0.5929, allocations: 297.7 kB / 421.6 MB, free: 5.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5929, allocations: 15.94 kB / 421.6 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-05/0.593, allocations: 19.98 kB / 421.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.314e-05/0.5931, allocations: 8.188 kB / 421.7 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.5936, allocations: 55.89 kB / 421.7 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.5936, allocations: 11.94 kB / 421.7 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.5942, allocations: 63.5 kB / 421.8 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.5942, allocations: 16 kB / 421.8 MB, free: 5.523 MB / 346.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.0001508/0.5944, allocations: 124.8 kB / 421.9 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.5945, allocations: 31.62 kB / 422 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008615/0.5954, allocations: 260.2 kB / 422.2 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.5954, allocations: 4 kB / 422.2 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5954, allocations: 4 kB / 422.2 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5955, allocations: 3.984 kB / 422.2 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007613/0.5962, allocations: 305.4 kB / 422.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.896e-05/0.5963, allocations: 23.97 kB / 422.6 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.5967, allocations: 32.06 kB / 422.6 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.5967, allocations: 7.938 kB / 422.6 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.5967, allocations: 4 kB / 422.6 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.5967, allocations: 0 / 422.6 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5967, allocations: 0 / 422.6 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.5975, allocations: 488.9 kB / 423.1 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.5978, allocations: 140.6 kB / 423.2 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-05/0.5979, allocations: 0 / 423.2 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.5984, allocations: 23.97 kB / 423.2 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5985, allocations: 19.94 kB / 423.3 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.5985, allocations: 11.98 kB / 423.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000494/0.599, allocations: 290 kB / 423.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5991, allocations: 0 / 423.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008646/0.5999, allocations: 99.94 kB / 423.6 MB, free: 3.578 MB / 346.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.001503/0.6014, allocations: 1.226 MB / 424.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008409/0.6023, allocations: 365.9 kB / 425.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.6024, allocations: 0 / 425.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.6027, allocations: 242.2 kB / 425.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/0.6035, allocations: 76.66 kB / 425.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.6057, allocations: 0.5508 MB / 426.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.6062, allocations: 0.8067 MB / 426.9 MB, free: 144 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.6064, allocations: 87.41 kB / 427 MB, free: 56 kB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6064, allocations: 0 / 427 MB, free: 56 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.548/3.154, allocations: 6.908 MB / 433.9 MB, free: 9.172 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_res.mat does not exist to compare? outputFormat=mat