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 2.078/2.078, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.905e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5258, allocations: 78.49 MB / 400.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/0.5262, allocations: 91.94 kB / 400.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03181/0.558, allocations: 6.654 MB / 407.1 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5581, allocations: 0 / 407.1 MB, free: 4.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.5581, allocations: 4 kB / 407.1 MB, free: 4.641 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.000794/0.5589, allocations: 406.5 kB / 407.5 MB, free: 4.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.559, allocations: 12.03 kB / 407.5 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.552e-05/0.5591, allocations: 46.55 kB / 407.6 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.5591, allocations: 19.81 kB / 407.6 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.5595, allocations: 206.7 kB / 407.8 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.5595, allocations: 4 kB / 407.8 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.5595, allocations: 15.98 kB / 407.8 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.56, allocations: 149.6 kB / 407.9 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.56, allocations: 3.938 kB / 408 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.56, allocations: 3.984 kB / 408 MB, free: 3.691 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/0.5601, allocations: 8.5 kB / 408 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.5605, allocations: 143.9 kB / 408.1 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.5617, allocations: 0.4922 MB / 408.6 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006071/0.5624, allocations: 142.5 kB / 408.7 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.5625, allocations: 44.83 kB / 408.8 MB, free: 2.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.5626, allocations: 8.062 kB / 408.8 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.5626, allocations: 30.56 kB / 408.8 MB, free: 2.758 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 3.236e-06/0.5627, allocations: 7.938 kB / 408.8 MB, free: 2.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004491/0.5631, allocations: 125.6 kB / 408.9 MB, free: 2.621 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.5632, allocations: 55.41 kB / 409 MB, free: 2.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.5635, allocations: 179.5 kB / 409.2 MB, free: 2.367 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.5635, allocations: 25.7 kB / 409.2 MB, free: 2.336 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.5636, allocations: 170.3 kB / 409.4 MB, free: 2.168 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.5637, allocations: 35.55 kB / 409.4 MB, free: 2.133 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.5637, allocations: 8 kB / 409.4 MB, free: 2.125 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5638, allocations: 314.8 kB / 409.7 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.564, allocations: 39.97 kB / 409.8 MB, free: 1.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.5641, allocations: 58.48 kB / 409.8 MB, free: 1.703 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.5643, allocations: 47.89 kB / 409.9 MB, free: 1.656 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.5643, allocations: 8 kB / 409.9 MB, free: 1.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003938/0.5647, allocations: 125.6 kB / 410 MB, free: 1.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5648, allocations: 4 kB / 410 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.5648, allocations: 0 / 410 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.5648, allocations: 0 / 410 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.5654, allocations: 47.95 kB / 410 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00097/0.5664, allocations: 1.227 MB / 411.3 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.5667, allocations: 19.86 kB / 411.3 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.5667, allocations: 4 kB / 411.3 MB, free: 176 kB / 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.0001318/0.5668, allocations: 109.2 kB / 411.4 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.5669, allocations: 19.98 kB / 411.4 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/0.5675, allocations: 166.9 kB / 411.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.5675, allocations: 4 kB / 411.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5675, allocations: 0 / 411.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5675, allocations: 0 / 411.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.5679, allocations: 217.6 kB / 411.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5679, allocations: 0 / 411.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/0.5684, allocations: 47.91 kB / 411.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.5685, allocations: 4 kB / 411.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.5685, allocations: 0 / 411.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.5695, allocations: 1.219 MB / 413.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.5696, allocations: 4 kB / 413.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.57, allocations: 227.7 kB / 413.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.313e-05/0.5701, allocations: 92.86 kB / 413.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.5702, allocations: 11.98 kB / 413.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.5705, allocations: 4 kB / 413.4 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.5705, allocations: 7.984 kB / 413.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.5706, allocations: 4 kB / 413.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002114/0.5708, allocations: 156.2 kB / 413.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5708, allocations: 4 kB / 413.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004385/0.5712, allocations: 44 kB / 413.6 MB, free: 13.71 MB / 346.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.001028/0.5723, allocations: 0.8061 MB / 414.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000629/0.573, allocations: 108 kB / 414.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.573, allocations: 4 kB / 414.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.5734, allocations: 63.95 kB / 414.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.5738, allocations: 28.17 kB / 414.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.5749, allocations: 309.2 kB / 414.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.5753, allocations: 0.7357 MB / 415.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.5754, allocations: 39.42 kB / 415.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of SimCode: time 1.173e-06/0.5755, allocations: 0 / 415.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.767/3.342, allocations: 4.13 MB / 419.8 MB, free: 7.41 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