Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.032/2.032, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.386e-05, allocations: 0 / 267.6 MB, free: 5.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 48.7 MB / 316.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4659/0.5734, allocations: 82.61 MB / 398.9 MB, free: 9.984 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/0.5738, allocations: 102.8 kB / 399 MB, free: 9.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03343/0.6072, allocations: 7.611 MB / 406.6 MB, free: 3.812 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.449e-06/0.6073, allocations: 4 kB / 406.7 MB, free: 3.809 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.6073, allocations: 7.938 kB / 406.7 MB, free: 3.801 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007358/0.608, allocations: 462.6 kB / 407.1 MB, free: 3.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.6081, allocations: 8.031 kB / 407.1 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.6082, allocations: 23.72 kB / 407.1 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.6085, allocations: 221.6 kB / 407.4 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.6085, allocations: 4 kB / 407.4 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.6086, allocations: 16 kB / 407.4 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002915/0.6089, allocations: 103.7 kB / 407.5 MB, free: 2.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.6092, allocations: 165.8 kB / 407.6 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6092, allocations: 0 / 407.6 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.6093, allocations: 0 / 407.6 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.6093, allocations: 4 kB / 407.6 MB, free: 2.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.6104, allocations: 0.5241 MB / 408.2 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.6106, allocations: 41.39 kB / 408.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.358e-05/0.6107, allocations: 31.14 kB / 408.2 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.6107, allocations: 0 / 408.2 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.6108, allocations: 30.56 kB / 408.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.894e-06/0.6108, allocations: 0 / 408.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003056/0.6111, allocations: 83.56 kB / 408.4 MB, free: 2.152 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.6111, allocations: 55.34 kB / 408.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.6113, allocations: 156 kB / 408.6 MB, free: 1.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.6114, allocations: 25.7 kB / 408.6 MB, free: 1.914 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.6115, allocations: 236.3 kB / 408.8 MB, free: 1.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.6116, allocations: 22.98 kB / 408.8 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.6116, allocations: 0 / 408.8 MB, free: 1.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6118, allocations: 318 kB / 409.1 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.6118, allocations: 26.69 kB / 409.2 MB, free: 1.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.612, allocations: 110.5 kB / 409.3 MB, free: 1.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.6122, allocations: 43.11 kB / 409.3 MB, free: 1.164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.6122, allocations: 4 kB / 409.3 MB, free: 1.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003771/0.6126, allocations: 143.3 kB / 409.5 MB, free: 1.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.6126, allocations: 8 kB / 409.5 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/0.6127, allocations: 8 kB / 409.5 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.6127, allocations: 8.438 kB / 409.5 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.613, allocations: 39.91 kB / 409.5 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.613, allocations: 4 kB / 409.5 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.6132, allocations: 22.97 kB / 409.6 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.6133, allocations: 11.98 kB / 409.6 MB, free: 0.9297 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.6134, allocations: 112.9 kB / 409.7 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002238/0.6136, allocations: 80.5 kB / 409.8 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.6137, allocations: 7.906 kB / 409.8 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.6141, allocations: 117.6 kB / 409.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6141, allocations: 0 / 409.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6141, allocations: 4 kB / 409.9 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6141, allocations: 4 kB / 409.9 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.6144, allocations: 190.8 kB / 410.1 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.351e-05/0.6145, allocations: 11.94 kB / 410.1 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.6146, allocations: 11.98 kB / 410.1 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6146, allocations: 0 / 410.1 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.6146, allocations: 4 kB / 410.1 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6147, allocations: 0 / 410.1 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6147, allocations: 0 / 410.1 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.615, allocations: 189.1 kB / 410.3 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-05/0.6151, allocations: 88.92 kB / 410.4 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.6151, allocations: 0 / 410.4 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.6153, allocations: 15.92 kB / 410.4 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.6154, allocations: 240 / 410.4 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.6154, allocations: 7.688 kB / 410.4 MB, free: 60 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.6156, allocations: 120.3 kB / 410.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6156, allocations: 0 / 410.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006665/0.6162, allocations: 83.78 kB / 410.6 MB, free: 15.87 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/0.6173, allocations: 0.8118 MB / 411.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004647/0.6178, allocations: 142.3 kB / 411.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6178, allocations: 0 / 411.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.618, allocations: 90.62 kB / 411.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.6183, allocations: 19.06 kB / 411.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.6194, allocations: 291.1 kB / 411.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.6198, allocations: 0.7318 MB / 412.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.62, allocations: 53.48 kB / 412.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.62, allocations: 4 kB / 412.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.741/3.361, allocations: 5.03 MB / 417.8 MB, free: 8.688 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_res.mat does not exist to compare? outputFormat=mat