Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.753e-05, allocations: 4 kB / 305 MB, free: 5.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.41, allocations: 54.85 MB / 359.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.5965, allocations: 92.55 MB / 452.4 MB, free: 4.328 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/0.5969, allocations: 96.92 kB / 452.5 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09267/0.6896, allocations: 20.24 MB / 472.8 MB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6896, allocations: 0 / 472.8 MB, free: 15.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.6897, allocations: 8 kB / 472.8 MB, free: 15.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001629/0.6913, allocations: 0.6623 MB / 473.4 MB, free: 15.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.6914, allocations: 11.97 kB / 473.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/0.6916, allocations: 102.5 kB / 473.5 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.6917, allocations: 55.3 kB / 473.6 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.6923, allocations: 306.9 kB / 473.9 MB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.6924, allocations: 33.31 kB / 473.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.6926, allocations: 52 kB / 474 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.6942, allocations: 0.6598 MB / 474.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.6943, allocations: 0 / 474.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/0.6944, allocations: 23.98 kB / 474.7 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.532e-05/0.6945, allocations: 41.25 kB / 474.7 MB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.6963, allocations: 0.7052 MB / 475.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003852/0.7002, allocations: 1.465 MB / 476.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.7015, allocations: 431.7 kB / 477.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.702, allocations: 141.2 kB / 477.4 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.735e-05/0.7021, allocations: 12.22 kB / 477.4 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.7021, allocations: 34.8 kB / 477.5 MB, free: 10.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.286e-06/0.7021, allocations: 0 / 477.5 MB, free: 10.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001236/0.7034, allocations: 378.6 kB / 477.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.7034, allocations: 59.41 kB / 477.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.7044, allocations: 475 kB / 478.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.435e-05/0.7045, allocations: 37.7 kB / 478.4 MB, free: 9.969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.7048, allocations: 278.4 kB / 478.7 MB, free: 9.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.7049, allocations: 106.5 kB / 478.8 MB, free: 9.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.705, allocations: 4 kB / 478.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7051, allocations: 330.8 kB / 479.1 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.7056, allocations: 148.6 kB / 479.2 MB, free: 9.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.7062, allocations: 273.3 kB / 479.5 MB, free: 8.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/0.7068, allocations: 191.8 kB / 479.7 MB, free: 8.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.7068, allocations: 0 / 479.7 MB, free: 8.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001511/0.7084, allocations: 477.4 kB / 480.2 MB, free: 8.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.7084, allocations: 4 kB / 480.2 MB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.7084, allocations: 4 kB / 480.2 MB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.7085, allocations: 8 kB / 480.2 MB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.7104, allocations: 219.7 kB / 480.4 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00561/0.716, allocations: 7.306 MB / 487.7 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/0.7168, allocations: 63.27 kB / 487.8 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/0.7168, allocations: 31.97 kB / 487.8 MB, free: 216 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000212/0.7171, allocations: 137.2 kB / 487.9 MB, free: 72 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.7172, allocations: 43.53 kB / 488 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.7189, allocations: 0.5094 MB / 488.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.719, allocations: 4 kB / 488.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.719, allocations: 112 / 488.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.719, allocations: 7.891 kB / 488.5 MB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/0.72, allocations: 425.2 kB / 488.9 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.72, allocations: 3.984 kB / 488.9 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.7218, allocations: 199.8 kB / 489.1 MB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.7218, allocations: 4 kB / 489.1 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.7219, allocations: 11.98 kB / 489.1 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005657/0.7276, allocations: 7.298 MB / 496.4 MB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.7276, allocations: 3.953 kB / 496.4 MB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.7289, allocations: 471.4 kB / 496.9 MB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.7291, allocations: 132.5 kB / 497 MB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.7292, allocations: 4 kB / 497 MB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.7297, allocations: 16.19 kB / 497 MB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.7298, allocations: 27.95 kB / 497.1 MB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.7299, allocations: 15.94 kB / 497.1 MB, free: 6.543 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007494/0.7306, allocations: 377.1 kB / 497.4 MB, free: 6.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7307, allocations: 0 / 497.4 MB, free: 6.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001052/0.7317, allocations: 175.8 kB / 497.6 MB, free: 6.008 MB / 426.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002153/0.7339, allocations: 1.182 MB / 498.8 MB, free: 4.801 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002421/0.7364, allocations: 476.5 kB / 499.3 MB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.7364, allocations: 4 kB / 499.3 MB, free: 4.332 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.7381, allocations: 283.6 kB / 499.5 MB, free: 4.055 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.7389, allocations: 95.44 kB / 499.6 MB, free: 3.965 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.7417, allocations: 0.8686 MB / 0.4888 GB, free: 3.055 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.7424, allocations: 0.8936 MB / 0.4897 GB, free: 2.137 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.7428, allocations: 151.4 kB / 0.4898 GB, free: 1.988 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7428, allocations: 3.938 kB / 0.4898 GB, free: 1.984 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.675/4.418, allocations: 31.39 MB / 0.5205 GB, free: 2.59 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat