Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.623/2.623, allocations: 235 MB / 247.6 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.698e-05/4.693e-05, allocations: 4 kB / 305 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5608, allocations: 54.85 MB / 359.9 MB, free: 2.262 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2302/0.7911, allocations: 84.87 MB / 444.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000538/0.7917, allocations: 95.94 kB / 444.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04833/0.84, allocations: 6.655 MB / 451.5 MB, free: 5.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.8401, allocations: 0 / 451.5 MB, free: 5.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.8401, allocations: 4 kB / 451.5 MB, free: 5.281 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009908/0.8411, allocations: 415.6 kB / 451.9 MB, free: 4.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.8412, allocations: 11.97 kB / 451.9 MB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.906e-05/0.8413, allocations: 42.55 kB / 452 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.8414, allocations: 19.77 kB / 452 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.8418, allocations: 204.5 kB / 452.2 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.8419, allocations: 8 kB / 452.2 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.8419, allocations: 16.56 kB / 452.2 MB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/0.8425, allocations: 145.6 kB / 452.3 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.8426, allocations: 3.984 kB / 452.3 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.8426, allocations: 15.92 kB / 452.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-05/0.8427, allocations: 8.5 kB / 452.4 MB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005736/0.8433, allocations: 144.3 kB / 452.5 MB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.8446, allocations: 0.4938 MB / 453 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.8452, allocations: 134.7 kB / 453.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.8454, allocations: 48.77 kB / 453.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.8454, allocations: 0 / 453.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.8454, allocations: 38.56 kB / 453.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.325e-06/0.8455, allocations: 4 kB / 453.2 MB, free: 3.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004303/0.8459, allocations: 121.4 kB / 453.3 MB, free: 3.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.846, allocations: 55.36 kB / 453.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.8462, allocations: 184.1 kB / 453.6 MB, free: 3.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.8463, allocations: 25.7 kB / 453.6 MB, free: 2.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/0.8464, allocations: 170.5 kB / 453.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.8464, allocations: 31.55 kB / 453.8 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.8465, allocations: 0 / 453.8 MB, free: 2.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8466, allocations: 318.8 kB / 454.1 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.8467, allocations: 35.97 kB / 454.1 MB, free: 2.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.8469, allocations: 58.55 kB / 454.2 MB, free: 2.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.8471, allocations: 49.2 kB / 454.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.8471, allocations: 0 / 454.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003728/0.8475, allocations: 129.6 kB / 454.4 MB, free: 2.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.8475, allocations: 8.062 kB / 454.4 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.8475, allocations: 0 / 454.4 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.8475, allocations: 4 kB / 454.4 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.8481, allocations: 47.95 kB / 454.4 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009464/0.849, allocations: 1.219 MB / 455.7 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.8493, allocations: 19.88 kB / 455.7 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.8493, allocations: 7.938 kB / 455.7 MB, free: 0.8203 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * 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.0001273/0.8495, allocations: 116.9 kB / 455.8 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.8495, allocations: 15.81 kB / 455.8 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.85, allocations: 160.2 kB / 456 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.85, allocations: 4.094 kB / 456 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.8501, allocations: 0 / 456 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8501, allocations: 0 / 456 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.8505, allocations: 225.6 kB / 456.2 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.8505, allocations: 0 / 456.2 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.851, allocations: 47.91 kB / 456.2 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.851, allocations: 0 / 456.2 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.851, allocations: 4 kB / 456.2 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009279/0.8519, allocations: 1.223 MB / 457.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.852, allocations: 0 / 457.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.8524, allocations: 223.6 kB / 457.7 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.8525, allocations: 101 kB / 457.8 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.8525, allocations: 4 kB / 457.8 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.8528, allocations: 11.95 kB / 457.8 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.8528, allocations: 7.984 kB / 457.8 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.8529, allocations: 4 kB / 457.8 MB, free: 14.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001969/0.8531, allocations: 153.1 kB / 458 MB, free: 14.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.8531, allocations: 0 / 458 MB, free: 14.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.8535, allocations: 40 kB / 458 MB, free: 14.36 MB / 394.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 (9): * Single equations (assignments): 7 * 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.0009484/0.8545, allocations: 0.8138 MB / 458.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005842/0.8551, allocations: 115.9 kB / 458.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8551, allocations: 0 / 458.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.8555, allocations: 63.95 kB / 459 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.8559, allocations: 35.3 kB / 459 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009276/0.8568, allocations: 306.6 kB / 459.3 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.8572, allocations: 0.7279 MB / 460 MB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.8574, allocations: 40.27 kB / 460.1 MB, free: 12.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8574, allocations: 0 / 460.1 MB, free: 12.18 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.877/3.734, allocations: 4.149 MB / 464.2 MB, free: 8.043 MB / 394.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_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat