Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.525/2.525, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.807e-05, allocations: 4 kB / 305 MB, free: 5.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4322, allocations: 54.85 MB / 359.9 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/0.6642, allocations: 94.11 MB / 454 MB, free: 2.754 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004098/0.6646, allocations: 91.94 kB / 454.1 MB, free: 2.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1304/0.795, allocations: 24.03 MB / 478.1 MB, free: 10.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7951, allocations: 0 / 478.1 MB, free: 10.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.019e-05/0.7951, allocations: 12 kB / 478.1 MB, free: 10.48 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002297/0.7974, allocations: 0.7285 MB / 478.8 MB, free: 9.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/0.7975, allocations: 11.97 kB / 478.9 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002736/0.7978, allocations: 110.5 kB / 479 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.798, allocations: 51.34 kB / 479 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006527/0.7987, allocations: 311.6 kB / 479.3 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.7988, allocations: 41.31 kB / 479.4 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.7989, allocations: 52 kB / 479.4 MB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.8007, allocations: 0.7242 MB / 480.1 MB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.8008, allocations: 7.875 kB / 480.1 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-05/0.8009, allocations: 28 kB / 480.2 MB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.547e-05/0.801, allocations: 25.31 kB / 480.2 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.8023, allocations: 490.3 kB / 480.7 MB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00394/0.8062, allocations: 1.696 MB / 482.4 MB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/0.807, allocations: 271.6 kB / 482.6 MB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.8074, allocations: 126.5 kB / 482.8 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.93e-05/0.8075, allocations: 7.953 kB / 482.8 MB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.8075, allocations: 38.56 kB / 482.8 MB, free: 5.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.306e-06/0.8076, allocations: 0 / 482.8 MB, free: 5.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001135/0.8087, allocations: 318.3 kB / 483.1 MB, free: 5.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.8088, allocations: 110.9 kB / 483.2 MB, free: 5.109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.8099, allocations: 0.5707 MB / 483.8 MB, free: 4.531 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/0.81, allocations: 25.7 kB / 483.8 MB, free: 4.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.8103, allocations: 321.8 kB / 484.1 MB, free: 4.184 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.8104, allocations: 78.94 kB / 484.2 MB, free: 4.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.8105, allocations: 4 kB / 484.2 MB, free: 4.102 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8106, allocations: 334.8 kB / 484.5 MB, free: 3.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.8111, allocations: 161 kB / 484.7 MB, free: 3.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.8118, allocations: 428.2 kB / 485.1 MB, free: 3.059 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/0.8125, allocations: 244.6 kB / 485.4 MB, free: 2.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.8125, allocations: 4 kB / 485.4 MB, free: 2.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001657/0.8142, allocations: 0.5734 MB / 485.9 MB, free: 2.238 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.8142, allocations: 12 kB / 485.9 MB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/0.8144, allocations: 47.95 kB / 486 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.97e-05/0.8145, allocations: 16 kB / 486 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.815, allocations: 80.36 kB / 486.1 MB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-05/0.8151, allocations: 19.92 kB / 486.1 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/0.8159, allocations: 79.27 kB / 486.2 MB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-05/0.816, allocations: 39.98 kB / 486.2 MB, free: 1.949 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002194/0.8162, allocations: 151.9 kB / 486.4 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.8164, allocations: 55.28 kB / 486.4 MB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.8179, allocations: 457.2 kB / 486.9 MB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.818, allocations: 4 kB / 486.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.818, allocations: 0 / 486.9 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.818, allocations: 4 kB / 486.9 MB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.8191, allocations: 413.2 kB / 487.3 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001278/0.8192, allocations: 39.97 kB / 487.3 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.8196, allocations: 27.97 kB / 487.3 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.8196, allocations: 11.89 kB / 487.4 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.8197, allocations: 19.98 kB / 487.4 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.8197, allocations: 0 / 487.4 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8197, allocations: 0 / 487.4 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.8208, allocations: 0.5834 MB / 488 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.8211, allocations: 136.4 kB / 488.1 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.8212, allocations: 11.94 kB / 488.1 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.8218, allocations: 23.94 kB / 488.1 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.8219, allocations: 23.97 kB / 488.2 MB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.822, allocations: 15.98 kB / 488.2 MB, free: 15.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008745/0.8229, allocations: 433.5 kB / 488.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8229, allocations: 4 kB / 488.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001344/0.8243, allocations: 199.9 kB / 488.8 MB, free: 15.27 MB / 426.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.002281/0.8266, allocations: 1.445 MB / 490.2 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.8281, allocations: 0.6743 MB / 490.9 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.8281, allocations: 0 / 490.9 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006694/0.8288, allocations: 456.3 kB / 491.4 MB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.8298, allocations: 113.6 kB / 491.5 MB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.8334, allocations: 0.9433 MB / 492.4 MB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006022/0.8341, allocations: 0.8973 MB / 493.3 MB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.8344, allocations: 147.4 kB / 493.4 MB, free: 10.36 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8344, allocations: 0 / 493.4 MB, free: 10.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.801/3.636, allocations: 12.44 MB / 0.494 GB, free: 13.96 MB / 442.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_overall_res.mat does not exist to compare? outputFormat=mat