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 1.964/1.964, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.913e-05, allocations: 0 / 267.6 MB, free: 5.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.133, allocations: 48.69 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5129/0.646, allocations: 80.56 MB / 396.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/0.6464, allocations: 97.3 kB / 397 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03008/0.6765, allocations: 6.617 MB / 403.6 MB, free: 6.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6766, allocations: 0 / 403.6 MB, free: 6.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.6766, allocations: 8 kB / 403.6 MB, free: 6.277 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.0006618/0.6773, allocations: 467.9 kB / 404.1 MB, free: 5.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.6773, allocations: 8.031 kB / 404.1 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.6774, allocations: 23.72 kB / 404.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.6777, allocations: 211.9 kB / 404.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.6778, allocations: 8 kB / 404.3 MB, free: 5.508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.6778, allocations: 12 kB / 404.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005087/0.6783, allocations: 213.4 kB / 404.5 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.6788, allocations: 181.7 kB / 404.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.6788, allocations: 0 / 404.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.6788, allocations: 3.938 kB / 404.7 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.6788, allocations: 4 kB / 404.7 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.6802, allocations: 0.5679 MB / 405.3 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.6806, allocations: 96.72 kB / 405.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.6807, allocations: 27.55 kB / 405.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.6808, allocations: 3.938 kB / 405.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.6808, allocations: 30.56 kB / 405.4 MB, free: 4.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.6808, allocations: 4 kB / 405.4 MB, free: 4.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003501/0.6812, allocations: 103.4 kB / 405.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.6812, allocations: 56.56 kB / 405.6 MB, free: 4.379 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.6814, allocations: 167.6 kB / 405.8 MB, free: 4.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.6815, allocations: 25.7 kB / 405.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.6816, allocations: 243.9 kB / 406 MB, free: 3.973 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.6817, allocations: 34.98 kB / 406.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.6817, allocations: 3.938 kB / 406.1 MB, free: 3.941 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6819, allocations: 318.4 kB / 406.4 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.682, allocations: 38.23 kB / 406.4 MB, free: 3.594 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.6822, allocations: 122.4 kB / 406.5 MB, free: 3.441 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.6824, allocations: 50.05 kB / 406.6 MB, free: 3.402 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6824, allocations: 0 / 406.6 MB, free: 3.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004603/0.6829, allocations: 183.6 kB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6829, allocations: 8 kB / 406.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.6829, allocations: 4 kB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.6829, allocations: 4.438 kB / 406.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.6836, allocations: 91.2 kB / 406.9 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009412/0.6846, allocations: 1.214 MB / 408.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.6849, allocations: 35.86 kB / 408.1 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.6849, allocations: 15.31 kB / 408.1 MB, free: 1.844 MB / 330.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.0001191/0.6851, allocations: 111.7 kB / 408.2 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002901/0.6854, allocations: 99.8 kB / 408.3 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.6855, allocations: 19.77 kB / 408.3 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.6859, allocations: 131.5 kB / 408.5 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.6859, allocations: 0 / 408.5 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.686, allocations: 3.938 kB / 408.5 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.686, allocations: 0 / 408.5 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.6867, allocations: 390.6 kB / 408.9 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.6867, allocations: 3.953 kB / 408.9 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/0.6872, allocations: 59.22 kB / 408.9 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.6872, allocations: 4 kB / 408.9 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.6872, allocations: 3.984 kB / 408.9 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009023/0.6882, allocations: 1.22 MB / 410.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6882, allocations: 0 / 410.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.6885, allocations: 233.2 kB / 410.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.6886, allocations: 104.8 kB / 410.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.6887, allocations: 0 / 410.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.689, allocations: 8 kB / 410.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.689, allocations: 7.984 kB / 410.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.6891, allocations: 4 kB / 410.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.6892, allocations: 130.3 kB / 410.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6892, allocations: 0 / 410.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005671/0.6898, allocations: 67.84 kB / 410.7 MB, free: 15.21 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.001029/0.6908, allocations: 0.9919 MB / 411.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005944/0.6914, allocations: 119 kB / 411.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6915, allocations: 0 / 411.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.6918, allocations: 58.47 kB / 411.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.6921, allocations: 12 kB / 411.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.6931, allocations: 298.7 kB / 412.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.6935, allocations: 0.7358 MB / 412.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.6937, allocations: 66.47 kB / 413 MB, free: 12.92 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6937, allocations: 0 / 413 MB, free: 12.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.747/3.441, allocations: 4.886 MB / 417.8 MB, free: 8.043 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