Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.011/2.011, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.833e-05/5.855e-05, allocations: 8 kB / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1464, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5988, allocations: 86.12 MB / 408 MB, free: 3.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003907/0.5993, allocations: 95.03 kB / 408.1 MB, free: 3.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1305/0.7298, allocations: 20.23 MB / 428.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.7299, allocations: 0 / 428.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.7299, allocations: 12 kB / 428.3 MB, free: 15.23 MB / 362.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.002338/0.7323, allocations: 0.6584 MB / 429 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.591e-05/0.7324, allocations: 12.03 kB / 429 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000301/0.7327, allocations: 98.5 kB / 429.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.7329, allocations: 55.34 kB / 429.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009139/0.7339, allocations: 306 kB / 429.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.734, allocations: 41.31 kB / 429.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.7342, allocations: 51.98 kB / 429.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.7368, allocations: 0.6623 MB / 430.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.7369, allocations: 3.938 kB / 430.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.737, allocations: 20 kB / 430.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/0.7372, allocations: 45.28 kB / 430.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002789/0.74, allocations: 0.7077 MB / 431 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005978/0.746, allocations: 1.465 MB / 432.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.7481, allocations: 428.5 kB / 432.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.7488, allocations: 145.2 kB / 433 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-05/0.7489, allocations: 16.14 kB / 433 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.749, allocations: 38.8 kB / 433 MB, free: 10.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 5.149e-06/0.749, allocations: 0 / 433 MB, free: 10.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001855/0.7509, allocations: 374 kB / 433.4 MB, free: 9.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.751, allocations: 51.41 kB / 433.4 MB, free: 9.895 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.7524, allocations: 487 kB / 433.9 MB, free: 9.414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.389e-05/0.7525, allocations: 29.7 kB / 434 MB, free: 9.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.7528, allocations: 278.4 kB / 434.2 MB, free: 9.105 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.7531, allocations: 102.6 kB / 434.3 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.7531, allocations: 4 kB / 434.3 MB, free: 9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.7533, allocations: 330.8 kB / 434.7 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/0.754, allocations: 144.6 kB / 434.8 MB, free: 8.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008667/0.7549, allocations: 273.6 kB / 435.1 MB, free: 8.199 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008425/0.7558, allocations: 203.7 kB / 435.3 MB, free: 8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.7558, allocations: 0 / 435.3 MB, free: 8 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002111/0.7579, allocations: 484.9 kB / 435.7 MB, free: 7.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.758, allocations: 8 kB / 435.7 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.7581, allocations: 7.938 kB / 435.7 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.96e-05/0.7581, allocations: 8 kB / 435.8 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/0.7612, allocations: 219.7 kB / 436 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007636/0.7689, allocations: 7.306 MB / 443.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.77, allocations: 71.27 kB / 443.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.7701, allocations: 19.98 kB / 443.4 MB, free: 15.61 MB / 378.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.0003213/0.7704, allocations: 144.9 kB / 443.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.7707, allocations: 43.62 kB / 443.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.7732, allocations: 0.5137 MB / 444.1 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.7733, allocations: 0 / 444.1 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7733, allocations: 0 / 444.1 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.7733, allocations: 11.98 kB / 444.1 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.7747, allocations: 429.1 kB / 444.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.7748, allocations: 0 / 444.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002844/0.7776, allocations: 199.8 kB / 444.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/0.7777, allocations: 0 / 444.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.7778, allocations: 19.98 kB / 444.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007764/0.7856, allocations: 7.302 MB / 452 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7857, allocations: 0 / 452 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.7876, allocations: 487.2 kB / 452.5 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.7879, allocations: 124.5 kB / 452.6 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.7881, allocations: 4.188 kB / 452.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/0.7888, allocations: 19.98 kB / 452.6 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.789, allocations: 19.97 kB / 452.7 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.932e-05/0.7892, allocations: 23.92 kB / 452.7 MB, free: 5.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001119/0.7903, allocations: 377.1 kB / 453 MB, free: 5.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.272e-06/0.7903, allocations: 0 / 453 MB, free: 5.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001588/0.7919, allocations: 175.8 kB / 453.2 MB, free: 5.375 MB / 378.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.003232/0.7952, allocations: 1.17 MB / 454.4 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004001/0.7993, allocations: 484.5 kB / 454.9 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.7994, allocations: 0 / 454.9 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002815/0.8022, allocations: 287.6 kB / 455.1 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.8035, allocations: 93.95 kB / 455.2 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.8079, allocations: 0.8751 MB / 456.1 MB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009053/0.8089, allocations: 0.8974 MB / 457 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/0.8095, allocations: 147.4 kB / 457.1 MB, free: 1.348 MB / 378.7 MB Notification: Performance of SimCode: time 2.174e-06/0.8095, allocations: 0 / 457.1 MB, free: 1.348 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.538/4.348, allocations: 31.43 MB / 488.6 MB, free: 1.887 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat