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 1.946/1.946, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.156e-05/5.186e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 48.69 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4111/0.5168, allocations: 81.23 MB / 403.1 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003739/0.5172, allocations: 87.94 kB / 403.2 MB, free: 8.598 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06254/0.5798, allocations: 13.33 MB / 416.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.5798, allocations: 0 / 416.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.5798, allocations: 4 kB / 416.5 MB, free: 11.17 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.001212/0.5811, allocations: 0.5722 MB / 417.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5811, allocations: 11.97 kB / 417.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.5812, allocations: 70.48 kB / 417.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.193e-05/0.5814, allocations: 35.58 kB / 417.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.5818, allocations: 250.6 kB / 417.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.5818, allocations: 16.56 kB / 417.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.5819, allocations: 31.98 kB / 417.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.5828, allocations: 390.8 kB / 417.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5829, allocations: 0 / 417.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.5829, allocations: 12 kB / 417.9 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/0.583, allocations: 16.55 kB / 417.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006908/0.5837, allocations: 270 kB / 418.2 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.586, allocations: 1.116 MB / 419.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.5866, allocations: 211.8 kB / 419.5 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.5868, allocations: 82.53 kB / 419.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.141e-05/0.5869, allocations: 11.97 kB / 419.6 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.5869, allocations: 38.59 kB / 419.6 MB, free: 7.844 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/0.5869, allocations: 0 / 419.6 MB, free: 7.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007123/0.5877, allocations: 205.1 kB / 419.8 MB, free: 7.637 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.5877, allocations: 102.8 kB / 419.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/0.5884, allocations: 359.5 kB / 420.3 MB, free: 7.152 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.5884, allocations: 29.88 kB / 420.3 MB, free: 7.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.5886, allocations: 250.1 kB / 420.5 MB, free: 6.871 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/0.5887, allocations: 47.36 kB / 420.6 MB, free: 6.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.5888, allocations: 4 kB / 420.6 MB, free: 6.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5889, allocations: 326.8 kB / 420.9 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.5892, allocations: 84.17 kB / 421 MB, free: 6.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.5896, allocations: 203.9 kB / 421.2 MB, free: 6.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.59, allocations: 123.8 kB / 421.3 MB, free: 6.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.59, allocations: 0 / 421.3 MB, free: 6.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008994/0.5909, allocations: 325.5 kB / 421.6 MB, free: 5.707 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.591, allocations: 4 kB / 421.6 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-05/0.591, allocations: 27.92 kB / 421.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.5911, allocations: 7.984 kB / 421.7 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.5915, allocations: 47.97 kB / 421.7 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.5916, allocations: 7.938 kB / 421.7 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.5921, allocations: 67.53 kB / 421.8 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.5922, allocations: 19.98 kB / 421.8 MB, free: 5.527 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.0001527/0.5923, allocations: 128.8 kB / 421.9 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.5925, allocations: 27.81 kB / 422 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008883/0.5934, allocations: 268.1 kB / 422.2 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5934, allocations: 4 kB / 422.2 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5934, allocations: 0 / 422.2 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5934, allocations: 4 kB / 422.2 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006699/0.5941, allocations: 305.3 kB / 422.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.014e-05/0.5942, allocations: 15.98 kB / 422.5 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.5945, allocations: 35.97 kB / 422.6 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.5945, allocations: 0 / 422.6 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.5946, allocations: 11.98 kB / 422.6 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.5946, allocations: 4 kB / 422.6 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5946, allocations: 0 / 422.6 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.5953, allocations: 481 kB / 423.1 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.5956, allocations: 140.7 kB / 423.2 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.5957, allocations: 7.938 kB / 423.2 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.5961, allocations: 23.98 kB / 423.2 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.5963, allocations: 19.92 kB / 423.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.5963, allocations: 12 kB / 423.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004836/0.5968, allocations: 282 kB / 423.5 MB, free: 3.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5968, allocations: 0 / 423.5 MB, free: 3.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007804/0.5976, allocations: 103.9 kB / 423.6 MB, free: 3.582 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.001475/0.5991, allocations: 1.226 MB / 424.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008334/0.6, allocations: 369.9 kB / 425.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6, allocations: 0 / 425.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.6004, allocations: 246.1 kB / 425.5 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007391/0.6011, allocations: 78.11 kB / 425.5 MB, free: 1.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.6031, allocations: 0.5589 MB / 426.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.6037, allocations: 0.7989 MB / 426.9 MB, free: 140 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.6039, allocations: 87.41 kB / 427 MB, free: 52 kB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6039, allocations: 0 / 427 MB, free: 52 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.826/3.429, allocations: 6.922 MB / 433.9 MB, free: 9.141 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