Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.431/2.431, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.302e-05, allocations: 8.938 kB / 305 MB, free: 5.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4117, allocations: 54.85 MB / 359.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.6079, allocations: 93.65 MB / 453.5 MB, free: 3.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/0.6083, allocations: 99.92 kB / 453.6 MB, free: 3.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05518/0.6635, allocations: 11.21 MB / 464.8 MB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.6636, allocations: 0 / 464.8 MB, free: 7.996 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.6636, allocations: 4.562 kB / 464.8 MB, free: 7.992 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001044/0.6646, allocations: 0.5684 MB / 465.4 MB, free: 7.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.6647, allocations: 11.97 kB / 465.4 MB, free: 7.367 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.6649, allocations: 78.52 kB / 465.5 MB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/0.665, allocations: 39.53 kB / 465.5 MB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.6654, allocations: 238.5 kB / 465.8 MB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.6654, allocations: 26.38 kB / 465.8 MB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.6655, allocations: 39.94 kB / 465.8 MB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009558/0.6665, allocations: 0.5449 MB / 466.4 MB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.6666, allocations: 3.938 kB / 466.4 MB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.6666, allocations: 23.95 kB / 466.4 MB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.6666, allocations: 12 kB / 466.4 MB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006345/0.6673, allocations: 280.4 kB / 466.7 MB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.6713, allocations: 4.047 MB / 470.7 MB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.6718, allocations: 86.55 kB / 470.8 MB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.6719, allocations: 24.98 kB / 470.8 MB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.672, allocations: 160 / 470.8 MB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.672, allocations: 38.56 kB / 470.9 MB, free: 1.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.672, allocations: 0 / 470.9 MB, free: 1.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004327/0.6725, allocations: 125.1 kB / 471 MB, free: 1.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.6725, allocations: 51.41 kB / 471.1 MB, free: 1.309 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000589/0.6731, allocations: 351 kB / 471.4 MB, free: 0.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.6732, allocations: 25.7 kB / 471.4 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.6734, allocations: 294.5 kB / 471.7 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.6735, allocations: 27.66 kB / 471.7 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.6735, allocations: 8 kB / 471.7 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6737, allocations: 326.8 kB / 472.1 MB, free: 280 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.6739, allocations: 44.64 kB / 472.1 MB, free: 232 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.6742, allocations: 250.3 kB / 472.3 MB, free: 15.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.6745, allocations: 87.83 kB / 472.4 MB, free: 15.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6745, allocations: 0 / 472.4 MB, free: 15.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007706/0.6753, allocations: 269.7 kB / 472.7 MB, free: 15.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.6754, allocations: 12.19 kB / 472.7 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.6754, allocations: 12.5 kB / 472.7 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.749e-05/0.6754, allocations: 15.98 kB / 472.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/0.6763, allocations: 107.8 kB / 472.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.6773, allocations: 1.223 MB / 474.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.6779, allocations: 67.27 kB / 474.1 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.678, allocations: 20 kB / 474.2 MB, free: 14.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0002019/0.6782, allocations: 129 kB / 474.3 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.6784, allocations: 35.58 kB / 474.3 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008191/0.6792, allocations: 157.8 kB / 474.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6792, allocations: 0 / 474.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.6792, allocations: 0 / 474.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6793, allocations: 7.938 kB / 474.5 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006698/0.68, allocations: 273.5 kB / 474.7 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.68, allocations: 0 / 474.7 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006668/0.6807, allocations: 63.91 kB / 474.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.6807, allocations: 0 / 474.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.6807, allocations: 0 / 474.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008986/0.6816, allocations: 1.203 MB / 476 MB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.6817, allocations: 3.953 kB / 476 MB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.682, allocations: 209.1 kB / 476.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.6822, allocations: 108.6 kB / 476.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/0.6823, allocations: 0 / 476.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.6826, allocations: 12.19 kB / 476.3 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.6827, allocations: 15.88 kB / 476.3 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.6827, allocations: 8 kB / 476.4 MB, free: 11.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004267/0.6831, allocations: 265.2 kB / 476.6 MB, free: 11.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6831, allocations: 0 / 476.6 MB, free: 11.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008574/0.684, allocations: 123.9 kB / 476.7 MB, free: 11.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.001307/0.6853, allocations: 0.8938 MB / 477.6 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007303/0.6861, allocations: 169.6 kB / 477.8 MB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6861, allocations: 0 / 477.8 MB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.6865, allocations: 47.98 kB / 477.8 MB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.6869, allocations: 49.91 kB / 477.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.6884, allocations: 408.4 kB / 478.3 MB, free: 9.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.6888, allocations: 0.7797 MB / 479.1 MB, free: 8.875 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.689, allocations: 107.4 kB / 479.2 MB, free: 8.77 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6891, allocations: 0 / 479.2 MB, free: 8.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.925/3.614, allocations: 8.241 MB / 487.4 MB, free: 0.5508 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat