Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.946/1.946, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.036e-05, allocations: 4 kB / 267.6 MB, free: 5.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 48.7 MB / 316.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5419, allocations: 78.07 MB / 394.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.5423, allocations: 91.16 kB / 394.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03006/0.5724, allocations: 6.593 MB / 401.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.5724, allocations: 0 / 401.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.5724, allocations: 0 / 401.1 MB, free: 8.609 MB / 330.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.0006799/0.5731, allocations: 412.8 kB / 401.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.089e-05/0.5732, allocations: 8.031 kB / 401.5 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.5733, allocations: 18.75 kB / 401.5 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.5736, allocations: 206.2 kB / 401.7 MB, free: 7.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.5736, allocations: 4 kB / 401.7 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.5736, allocations: 7.938 kB / 401.7 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003031/0.574, allocations: 127 kB / 401.8 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.5743, allocations: 143.5 kB / 402 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5743, allocations: 0 / 402 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.5743, allocations: 0 / 402 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.5744, allocations: 8 kB / 402 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.5754, allocations: 457 kB / 402.4 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.5759, allocations: 130.5 kB / 402.6 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.576, allocations: 43.06 kB / 402.6 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.5761, allocations: 4 kB / 402.6 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.5761, allocations: 30.56 kB / 402.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.5761, allocations: 0 / 402.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003756/0.5765, allocations: 119.5 kB / 402.8 MB, free: 6.906 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.5766, allocations: 55.41 kB / 402.8 MB, free: 6.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.5767, allocations: 126.5 kB / 402.9 MB, free: 6.719 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.5768, allocations: 29.7 kB / 403 MB, free: 6.684 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.5769, allocations: 187.7 kB / 403.2 MB, free: 6.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.5769, allocations: 30.77 kB / 403.2 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.577, allocations: 3.938 kB / 403.2 MB, free: 6.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5771, allocations: 314.8 kB / 403.5 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.5772, allocations: 38.41 kB / 403.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.5774, allocations: 61.17 kB / 403.6 MB, free: 6.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.5775, allocations: 54.53 kB / 403.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5775, allocations: 0 / 403.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003315/0.5779, allocations: 119.5 kB / 403.8 MB, free: 5.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5779, allocations: 4 kB / 403.8 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5779, allocations: 0 / 403.8 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.578, allocations: 7.984 kB / 403.8 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.5785, allocations: 44.03 kB / 403.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009435/0.5794, allocations: 1.226 MB / 405 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.5796, allocations: 20.11 kB / 405.1 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.5796, allocations: 7.938 kB / 405.1 MB, free: 4.566 MB / 330.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.000117/0.5798, allocations: 101 kB / 405.2 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003134/0.5801, allocations: 125.2 kB / 405.3 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.5802, allocations: 11.86 kB / 405.3 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.5806, allocations: 151 kB / 405.4 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5806, allocations: 4 kB / 405.5 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5806, allocations: 0 / 405.5 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5806, allocations: 4 kB / 405.5 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.581, allocations: 191.5 kB / 405.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.581, allocations: 0 / 405.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.5815, allocations: 47.95 kB / 405.7 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.5815, allocations: 96 / 405.7 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.5815, allocations: 7.891 kB / 405.7 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008931/0.5824, allocations: 1.225 MB / 406.9 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5824, allocations: 0 / 406.9 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.5828, allocations: 219.6 kB / 407.1 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.5829, allocations: 88.95 kB / 407.2 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.5829, allocations: 0 / 407.2 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.5831, allocations: 16.17 kB / 407.2 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.5832, allocations: 10.61 kB / 407.3 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.5832, allocations: 0 / 407.3 MB, free: 2.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.674e-05/0.5833, allocations: 108.3 kB / 407.4 MB, free: 2.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5833, allocations: 0 / 407.4 MB, free: 2.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004554/0.5838, allocations: 47.31 kB / 407.4 MB, free: 2.18 MB / 330.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.0008386/0.5846, allocations: 0.7874 MB / 408.2 MB, free: 1.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005269/0.5852, allocations: 107.9 kB / 408.3 MB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5852, allocations: 384 / 408.3 MB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.5856, allocations: 63.14 kB / 408.4 MB, free: 1.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.5859, allocations: 27.94 kB / 408.4 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008732/0.5868, allocations: 286.2 kB / 408.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.5871, allocations: 0.7236 MB / 409.4 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.5873, allocations: 39.92 kB / 409.4 MB, free: 124 kB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5873, allocations: 4 kB / 409.4 MB, free: 120 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.753/3.34, allocations: 3.835 MB / 413.3 MB, free: 12.29 MB / 346.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_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat