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.131/2.131, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.893e-05, allocations: 4 kB / 273.2 MB, free: 0.6094 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 48.7 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4499/0.5615, allocations: 87.03 MB / 408.9 MB, free: 2.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003851/0.562, allocations: 95.92 kB / 409 MB, free: 2.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05584/0.6179, allocations: 11.09 MB / 420.1 MB, free: 7.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6179, allocations: 3.938 kB / 420.1 MB, free: 7.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.618, allocations: 4 kB / 420.1 MB, free: 7.535 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.0009742/0.6189, allocations: 0.5645 MB / 420.7 MB, free: 6.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.619, allocations: 12.03 kB / 420.7 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.6191, allocations: 74.53 kB / 420.7 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.6192, allocations: 39.53 kB / 420.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.6196, allocations: 250.2 kB / 421 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.6197, allocations: 32.77 kB / 421.1 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.6198, allocations: 28 kB / 421.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009454/0.6207, allocations: 0.5488 MB / 421.6 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.6208, allocations: 7.938 kB / 421.6 MB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.6208, allocations: 12 kB / 421.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.6209, allocations: 12 kB / 421.7 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006057/0.6215, allocations: 284.4 kB / 421.9 MB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.6253, allocations: 4.055 MB / 426 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.6258, allocations: 86.67 kB / 426.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.6259, allocations: 28.86 kB / 426.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.626, allocations: 3.984 kB / 426.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.6261, allocations: 34.56 kB / 426.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 5.46e-06/0.6261, allocations: 4 kB / 426.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000427/0.6265, allocations: 113.3 kB / 426.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.6266, allocations: 51.41 kB / 426.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005716/0.6271, allocations: 359 kB / 426.7 MB, free: 496 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.6272, allocations: 29.7 kB / 426.7 MB, free: 460 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.6274, allocations: 285.6 kB / 427 MB, free: 172 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.6275, allocations: 27.64 kB / 427 MB, free: 144 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.6275, allocations: 4 kB / 427 MB, free: 140 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6277, allocations: 326.8 kB / 427.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.6278, allocations: 44.66 kB / 427.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.6282, allocations: 250.2 kB / 427.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.6284, allocations: 87.83 kB / 427.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.6285, allocations: 7.938 kB / 427.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007801/0.6292, allocations: 281.8 kB / 428 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.6293, allocations: 8 kB / 428 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.6293, allocations: 8 kB / 428 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.6294, allocations: 8 kB / 428 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/0.6302, allocations: 115.8 kB / 428.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009853/0.6312, allocations: 1.219 MB / 429.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.6317, allocations: 59.34 kB / 429.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.6318, allocations: 24 kB / 429.4 MB, free: 13.55 MB / 362.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.632, allocations: 124.8 kB / 429.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.017e-05/0.6321, allocations: 35.61 kB / 429.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.6326, allocations: 153 kB / 429.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.6327, allocations: 4 kB / 429.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6327, allocations: 7.953 kB / 429.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6327, allocations: 0 / 429.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.6332, allocations: 273.5 kB / 430 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6332, allocations: 0 / 430 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.6337, allocations: 55.95 kB / 430.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.6337, allocations: 0 / 430.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.6338, allocations: 4 kB / 430.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009256/0.6347, allocations: 1.207 MB / 431.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6347, allocations: 0 / 431.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.6352, allocations: 207.1 kB / 431.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.6353, allocations: 108.6 kB / 431.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.6354, allocations: 8.188 kB / 431.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.6357, allocations: 11.98 kB / 431.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.6358, allocations: 7.984 kB / 431.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.6358, allocations: 7.938 kB / 431.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004561/0.6363, allocations: 265.2 kB / 431.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6363, allocations: 4 kB / 431.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009435/0.6373, allocations: 123.9 kB / 432 MB, free: 10.84 MB / 362.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.001498/0.6388, allocations: 0.9025 MB / 432.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008074/0.6396, allocations: 164.9 kB / 433.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6396, allocations: 3.938 kB / 433.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.64, allocations: 51.98 kB / 433.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.6406, allocations: 38.02 kB / 433.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.6423, allocations: 416.6 kB / 433.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.6428, allocations: 0.7836 MB / 434.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.6431, allocations: 99.41 kB / 434.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6431, allocations: 0 / 434.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.875/3.518, allocations: 8.215 MB / 442.7 MB, free: 112 kB / 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