Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.098/2.098, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.483e-05, allocations: 0 / 267.6 MB, free: 5.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 48.69 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4538/0.574, allocations: 86.61 MB / 402.9 MB, free: 5.684 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003593/0.5744, allocations: 95.84 kB / 403 MB, free: 5.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05204/0.6265, allocations: 10.87 MB / 413.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6266, allocations: 0 / 413.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.6266, allocations: 8 kB / 413.9 MB, free: 12.79 MB / 346.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.0008836/0.6275, allocations: 0.5621 MB / 414.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.6275, allocations: 8.031 kB / 414.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.505e-05/0.6276, allocations: 39.53 kB / 414.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.628, allocations: 249.6 kB / 414.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.6281, allocations: 12 kB / 414.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.6281, allocations: 20 kB / 414.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005214/0.6287, allocations: 220.8 kB / 415 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.6294, allocations: 0.5043 MB / 415.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.6295, allocations: 7.938 kB / 415.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.6295, allocations: 7.938 kB / 415.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.6296, allocations: 12 kB / 415.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.633, allocations: 3.934 MB / 419.5 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.6334, allocations: 85.36 kB / 419.6 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.6335, allocations: 34.86 kB / 419.6 MB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.6336, allocations: 3.938 kB / 419.6 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.6336, allocations: 34.5 kB / 419.6 MB, free: 6.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 3.356e-06/0.6336, allocations: 0 / 419.6 MB, free: 6.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003733/0.634, allocations: 96.05 kB / 419.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.6341, allocations: 51.41 kB / 419.8 MB, free: 6.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.6344, allocations: 234.8 kB / 420 MB, free: 6.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.6344, allocations: 25.7 kB / 420 MB, free: 6.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.6346, allocations: 319.1 kB / 420.3 MB, free: 6.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.6347, allocations: 31.11 kB / 420.4 MB, free: 6.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.6347, allocations: 0 / 420.4 MB, free: 6.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6349, allocations: 329.8 kB / 420.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.635, allocations: 34.84 kB / 420.7 MB, free: 5.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.6353, allocations: 240.2 kB / 421 MB, free: 5.629 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.6355, allocations: 77.59 kB / 421 MB, free: 5.566 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.6355, allocations: 0 / 421 MB, free: 5.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006757/0.6362, allocations: 250 kB / 421.3 MB, free: 5.336 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.6363, allocations: 14.3 kB / 421.3 MB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.6363, allocations: 8 kB / 421.3 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/0.6363, allocations: 12 kB / 421.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007802/0.6371, allocations: 111.1 kB / 421.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009481/0.6381, allocations: 1.218 MB / 422.6 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.6385, allocations: 47.53 kB / 422.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/0.6386, allocations: 16 kB / 422.7 MB, free: 3.891 MB / 346.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.000146/0.6388, allocations: 132.9 kB / 422.8 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002823/0.6391, allocations: 92.73 kB / 422.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.6391, allocations: 27.7 kB / 422.9 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.6396, allocations: 135.8 kB / 423.1 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.6396, allocations: 3.953 kB / 423.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6396, allocations: 4 kB / 423.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6396, allocations: 0 / 423.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.6401, allocations: 239.9 kB / 423.3 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6401, allocations: 0 / 423.3 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005319/0.6407, allocations: 59.94 kB / 423.4 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.6407, allocations: 3.938 kB / 423.4 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.6407, allocations: 4 kB / 423.4 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.6419, allocations: 1.208 MB / 424.6 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/0.6419, allocations: 3.984 kB / 424.6 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.6423, allocations: 201 kB / 424.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.6424, allocations: 92.83 kB / 424.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.6425, allocations: 3.984 kB / 424.9 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.6427, allocations: 8 kB / 424.9 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.6428, allocations: 10.98 kB / 424.9 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.6428, allocations: 0 / 424.9 MB, free: 1.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002151/0.643, allocations: 167.1 kB / 425.1 MB, free: 1.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.936e-06/0.6431, allocations: 4 kB / 425.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009479/0.644, allocations: 126.3 kB / 425.2 MB, free: 1.363 MB / 346.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.001276/0.6453, allocations: 0.8825 MB / 426.1 MB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00071/0.646, allocations: 146.7 kB / 426.2 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6461, allocations: 2 kB / 426.2 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.6464, allocations: 51.47 kB / 426.3 MB, free: 304 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.6467, allocations: 22.52 kB / 426.3 MB, free: 288 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.6482, allocations: 395.4 kB / 426.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.6487, allocations: 0.775 MB / 427.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.6489, allocations: 99.59 kB / 427.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6489, allocations: 0 / 427.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.786/3.435, allocations: 7.597 MB / 435.2 MB, free: 7.457 MB / 362.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_roundTube_KC_res.mat does not exist to compare? outputFormat=mat