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.025/2.025, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.602e-05, allocations: 4 kB / 273.2 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5266, allocations: 86.13 MB / 408 MB, free: 3.652 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/0.527, allocations: 95.92 kB / 408.1 MB, free: 3.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09534/0.6223, allocations: 20.22 MB / 428.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6224, allocations: 0 / 428.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.6224, allocations: 4 kB / 428.3 MB, free: 15.12 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.001663/0.6241, allocations: 0.6661 MB / 429 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.6242, allocations: 8.031 kB / 429 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002057/0.6244, allocations: 106.5 kB / 429.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.6246, allocations: 55.34 kB / 429.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.6252, allocations: 294.9 kB / 429.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.6252, allocations: 45.3 kB / 429.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.6254, allocations: 55.92 kB / 429.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.6271, allocations: 0.6558 MB / 430.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.6271, allocations: 4 kB / 430.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.67e-05/0.6272, allocations: 16 kB / 430.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.6273, allocations: 45.28 kB / 430.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.6291, allocations: 0.6974 MB / 431 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/0.6329, allocations: 1.461 MB / 432.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.6342, allocations: 431.7 kB / 432.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.6347, allocations: 149.2 kB / 433 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.6348, allocations: 8.219 kB / 433 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.6348, allocations: 34.8 kB / 433 MB, free: 10.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.617e-06/0.6348, allocations: 4 kB / 433 MB, free: 10.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001207/0.6361, allocations: 378.7 kB / 433.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.6361, allocations: 55.41 kB / 433.5 MB, free: 9.789 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009435/0.6371, allocations: 482.9 kB / 433.9 MB, free: 9.312 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.6372, allocations: 33.7 kB / 434 MB, free: 9.273 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.6374, allocations: 274.4 kB / 434.2 MB, free: 9.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.6376, allocations: 102.6 kB / 434.3 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.6376, allocations: 4 kB / 434.3 MB, free: 8.898 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6378, allocations: 326.8 kB / 434.7 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/0.6383, allocations: 148.6 kB / 434.8 MB, free: 8.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.6388, allocations: 269.3 kB / 435.1 MB, free: 8.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.6394, allocations: 204 kB / 435.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6394, allocations: 0 / 435.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001351/0.6408, allocations: 476.8 kB / 435.7 MB, free: 7.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.6409, allocations: 7.984 kB / 435.7 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.6409, allocations: 4 kB / 435.7 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.6409, allocations: 8 kB / 435.8 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.6429, allocations: 220.3 kB / 436 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005353/0.6483, allocations: 7.306 MB / 443.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.649, allocations: 63.55 kB / 443.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.6491, allocations: 24.11 kB / 443.4 MB, free: 15.52 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.0002289/0.6494, allocations: 148.7 kB / 443.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.6495, allocations: 43.47 kB / 443.5 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.6512, allocations: 0.5136 MB / 444.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.6513, allocations: 0 / 444.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6513, allocations: 4 kB / 444.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6513, allocations: 0 / 444.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009627/0.6523, allocations: 429.1 kB / 444.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6523, allocations: 0 / 444.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/0.6542, allocations: 195.8 kB / 444.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.6543, allocations: 0 / 444.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/0.6543, allocations: 19.98 kB / 444.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00532/0.6597, allocations: 7.298 MB / 452 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6597, allocations: 0 / 452 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.6609, allocations: 487.8 kB / 452.5 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.6612, allocations: 128.5 kB / 452.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.6613, allocations: 4 kB / 452.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.6617, allocations: 15.98 kB / 452.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.6619, allocations: 23.95 kB / 452.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.662, allocations: 12 kB / 452.6 MB, free: 5.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007242/0.6627, allocations: 377.1 kB / 453 MB, free: 5.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6627, allocations: 0 / 453 MB, free: 5.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001001/0.6637, allocations: 179.8 kB / 453.2 MB, free: 5.309 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.002177/0.6659, allocations: 1.172 MB / 454.4 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.6684, allocations: 488.9 kB / 454.8 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6684, allocations: 4 kB / 454.8 MB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.6702, allocations: 279.7 kB / 455.1 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007647/0.671, allocations: 85.91 kB / 455.2 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.6738, allocations: 0.8751 MB / 456.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.6745, allocations: 0.8975 MB / 457 MB, free: 1.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.6749, allocations: 143.4 kB / 457.1 MB, free: 1.297 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6749, allocations: 0 / 457.1 MB, free: 1.297 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.622/4.297, allocations: 31.4 MB / 488.5 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