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.142/2.142, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.703e-05, allocations: 0 / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.558, allocations: 80.97 MB / 402.8 MB, free: 8.844 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003895/0.5585, allocations: 99.16 kB / 402.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03158/0.5901, allocations: 6.733 MB / 409.7 MB, free: 2.004 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5902, allocations: 0 / 409.7 MB, free: 2.004 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.5902, allocations: 4 kB / 409.7 MB, free: 2 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.0007342/0.5909, allocations: 474.2 kB / 410.1 MB, free: 1.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.591, allocations: 8.031 kB / 410.1 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.48e-05/0.5911, allocations: 58.55 kB / 410.2 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.5912, allocations: 23.72 kB / 410.2 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.5915, allocations: 210.7 kB / 410.4 MB, free: 1.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.5915, allocations: 12.44 kB / 410.4 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.5916, allocations: 24 kB / 410.5 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.5921, allocations: 206.4 kB / 410.7 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5921, allocations: 8 kB / 410.7 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.5922, allocations: 12 kB / 410.7 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5922, allocations: 7.984 kB / 410.7 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.5927, allocations: 216.8 kB / 410.9 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.5943, allocations: 0.6235 MB / 411.5 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.5948, allocations: 94.67 kB / 411.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.595, allocations: 32.86 kB / 411.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.595, allocations: 4 kB / 411.7 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.595, allocations: 30.56 kB / 411.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.466e-06/0.5951, allocations: 0 / 411.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004264/0.5955, allocations: 109.5 kB / 411.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.5956, allocations: 59.41 kB / 411.9 MB, free: 15.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.5959, allocations: 235.3 kB / 412.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.596, allocations: 25.7 kB / 412.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.5962, allocations: 233.8 kB / 412.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.5962, allocations: 35.48 kB / 412.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.5963, allocations: 4 kB / 412.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5964, allocations: 322.8 kB / 412.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.5966, allocations: 35.98 kB / 412.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.5968, allocations: 124.9 kB / 412.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.5971, allocations: 55.92 kB / 412.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5971, allocations: 4 kB / 412.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000559/0.5976, allocations: 189.2 kB / 413.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.5977, allocations: 8 kB / 413.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.5977, allocations: 4.438 kB / 413.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.5978, allocations: 8 kB / 413.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.5985, allocations: 91.88 kB / 413.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.5995, allocations: 1.207 MB / 414.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.6, allocations: 47.8 kB / 414.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.6, allocations: 12 kB / 414.5 MB, free: 12.9 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.000131/0.6002, allocations: 112.9 kB / 414.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.6002, allocations: 23.72 kB / 414.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005653/0.6008, allocations: 155.2 kB / 414.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.6009, allocations: 0 / 414.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.6009, allocations: 0 / 414.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6009, allocations: 0 / 414.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008594/0.6018, allocations: 428.1 kB / 415.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.6018, allocations: 0 / 415.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.6023, allocations: 55.97 kB / 415.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.487e-06/0.6023, allocations: 0 / 415.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.6024, allocations: 7.984 kB / 415.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009746/0.6034, allocations: 1.215 MB / 416.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6034, allocations: 3.938 kB / 416.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.6039, allocations: 240.7 kB / 416.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.604, allocations: 104.7 kB / 416.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.6041, allocations: 8 kB / 416.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.6044, allocations: 7.984 kB / 416.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.6044, allocations: 8 kB / 416.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.6045, allocations: 4 kB / 416.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002974/0.6048, allocations: 183.1 kB / 417 MB, free: 10.19 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6048, allocations: 0 / 417 MB, free: 10.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000642/0.6055, allocations: 72 kB / 417.1 MB, free: 10.12 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.00125/0.6067, allocations: 1.012 MB / 418.1 MB, free: 9.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000697/0.6074, allocations: 123.8 kB / 418.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6075, allocations: 0 / 418.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.6079, allocations: 63.91 kB / 418.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.6083, allocations: 30 kB / 418.3 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.6096, allocations: 308.3 kB / 418.6 MB, free: 8.508 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.61, allocations: 0.7402 MB / 419.3 MB, free: 7.742 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.6102, allocations: 63.42 kB / 419.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of SimCode: time 1.432e-06/0.6102, allocations: 0 / 419.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.804/3.414, allocations: 5.237 MB / 424.6 MB, free: 2.453 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