Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.077/2.077, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.85e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5463, allocations: 80.96 MB / 402.8 MB, free: 8.941 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003854/0.5468, allocations: 99.08 kB / 402.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0312/0.578, allocations: 6.74 MB / 409.6 MB, free: 2.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.578, allocations: 0 / 409.6 MB, free: 2.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.5781, allocations: 4 kB / 409.6 MB, free: 2.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006868/0.5788, allocations: 470.3 kB / 410.1 MB, free: 1.586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.5788, allocations: 8.031 kB / 410.1 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.761e-05/0.5789, allocations: 62.48 kB / 410.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.579, allocations: 23.72 kB / 410.2 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.5793, allocations: 210.7 kB / 410.4 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.5793, allocations: 12.44 kB / 410.4 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.5794, allocations: 20 kB / 410.4 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.5799, allocations: 211.3 kB / 410.6 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.58, allocations: 4 kB / 410.6 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.58, allocations: 12 kB / 410.7 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.58, allocations: 4 kB / 410.7 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.5805, allocations: 217.7 kB / 410.9 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.582, allocations: 0.6313 MB / 411.5 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.5824, allocations: 98.66 kB / 411.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.5826, allocations: 28.92 kB / 411.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.5826, allocations: 7.938 kB / 411.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.5827, allocations: 30.75 kB / 411.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 4.108e-06/0.5827, allocations: 0 / 411.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003896/0.5831, allocations: 109.3 kB / 411.8 MB, free: 15.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.5831, allocations: 59.41 kB / 411.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.5835, allocations: 235.3 kB / 412.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.5835, allocations: 29.64 kB / 412.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.5837, allocations: 221.8 kB / 412.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.5837, allocations: 31.55 kB / 412.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.5838, allocations: 4 kB / 412.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5839, allocations: 326.8 kB / 412.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.5841, allocations: 32 kB / 412.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.5843, allocations: 128.9 kB / 412.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.5845, allocations: 59.91 kB / 412.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.5845, allocations: 0 / 412.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005453/0.5851, allocations: 201.1 kB / 413.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5851, allocations: 8 kB / 413.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.5852, allocations: 4.438 kB / 413.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.5852, allocations: 8 kB / 413.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/0.5859, allocations: 83.89 kB / 413.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009221/0.5868, allocations: 1.215 MB / 414.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.5872, allocations: 43.89 kB / 414.4 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.5872, allocations: 19.94 kB / 414.5 MB, free: 12.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.5873, allocations: 112.9 kB / 414.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.5874, allocations: 19.72 kB / 414.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.5879, allocations: 159.2 kB / 414.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.588, allocations: 0 / 414.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.588, allocations: 0 / 414.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.588, allocations: 0 / 414.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.5888, allocations: 432.1 kB / 415.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.5888, allocations: 4 kB / 415.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.5893, allocations: 59.91 kB / 415.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5893, allocations: 0 / 415.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.5893, allocations: 4 kB / 415.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009397/0.5903, allocations: 1.219 MB / 416.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5903, allocations: 0 / 416.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.5907, allocations: 240.7 kB / 416.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5908, allocations: 104.7 kB / 416.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.5909, allocations: 7.984 kB / 416.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.5912, allocations: 4 kB / 416.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.5913, allocations: 11.98 kB / 416.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.5913, allocations: 8 kB / 416.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002509/0.5916, allocations: 183.3 kB / 417 MB, free: 10.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5916, allocations: 0 / 417 MB, free: 10.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005402/0.5921, allocations: 75.94 kB / 417.1 MB, free: 10.18 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/0.5932, allocations: 1.001 MB / 418.1 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006495/0.5939, allocations: 135.7 kB / 418.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5939, allocations: 0 / 418.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.5943, allocations: 64.91 kB / 418.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.5946, allocations: 20.89 kB / 418.3 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.5957, allocations: 320.2 kB / 418.6 MB, free: 8.566 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.5961, allocations: 0.7402 MB / 419.3 MB, free: 7.801 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.5962, allocations: 63.42 kB / 419.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5962, allocations: 0 / 419.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.741/3.337, allocations: 5.225 MB / 424.6 MB, free: 2.516 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat