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.006/2.006, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.792e-05/3.808e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 48.69 MB / 321.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4739/0.5778, allocations: 78.47 MB / 400.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/0.5783, allocations: 107.1 kB / 400.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03058/0.6089, allocations: 6.645 MB / 407.1 MB, free: 4.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6089, allocations: 4 kB / 407.1 MB, free: 4.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.609, allocations: 0 / 407.1 MB, free: 4.637 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.0007232/0.6097, allocations: 410.5 kB / 407.5 MB, free: 4.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.6098, allocations: 8.031 kB / 407.5 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.406e-05/0.6098, allocations: 46.53 kB / 407.5 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.6099, allocations: 15.81 kB / 407.5 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.6102, allocations: 198.8 kB / 407.7 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.6102, allocations: 12 kB / 407.8 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.6103, allocations: 15.94 kB / 407.8 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.6107, allocations: 157.5 kB / 407.9 MB, free: 3.691 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6107, allocations: 4 kB / 407.9 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.6107, allocations: 4 kB / 407.9 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.6108, allocations: 16.47 kB / 407.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/0.6112, allocations: 139.9 kB / 408.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.6124, allocations: 0.4961 MB / 408.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.6129, allocations: 142.4 kB / 408.7 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.6131, allocations: 40.88 kB / 408.8 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.6131, allocations: 0 / 408.8 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.6132, allocations: 42.56 kB / 408.8 MB, free: 2.742 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.6132, allocations: 0 / 408.8 MB, free: 2.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004374/0.6136, allocations: 125.6 kB / 408.9 MB, free: 2.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.6137, allocations: 55.41 kB / 409 MB, free: 2.547 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.614, allocations: 175.6 kB / 409.1 MB, free: 2.363 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.614, allocations: 29.64 kB / 409.2 MB, free: 2.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.6141, allocations: 178.3 kB / 409.3 MB, free: 2.152 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.6142, allocations: 27.56 kB / 409.4 MB, free: 2.125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.6142, allocations: 0 / 409.4 MB, free: 2.125 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6143, allocations: 326.8 kB / 409.7 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.6145, allocations: 35.92 kB / 409.7 MB, free: 1.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.6146, allocations: 62.53 kB / 409.8 MB, free: 1.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.6148, allocations: 39.97 kB / 409.8 MB, free: 1.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6148, allocations: 0 / 409.8 MB, free: 1.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003792/0.6152, allocations: 133.6 kB / 410 MB, free: 1.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.6153, allocations: 8 kB / 410 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6153, allocations: 3.938 kB / 410 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.6153, allocations: 4 kB / 410 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.6158, allocations: 43.97 kB / 410 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009431/0.6168, allocations: 1.223 MB / 411.2 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.617, allocations: 27.8 kB / 411.3 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.6171, allocations: 0 / 411.3 MB, free: 164 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.0001204/0.6172, allocations: 109 kB / 411.4 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.6173, allocations: 15.81 kB / 411.4 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.6178, allocations: 163.1 kB / 411.5 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6178, allocations: 4 kB / 411.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6178, allocations: 0 / 411.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.6178, allocations: 3.984 kB / 411.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.6182, allocations: 217.7 kB / 411.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6183, allocations: 0 / 411.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.6187, allocations: 47.95 kB / 411.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.6188, allocations: 3.938 kB / 411.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.6188, allocations: 4.094 kB / 411.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009061/0.6197, allocations: 1.223 MB / 413 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6197, allocations: 0 / 413 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.6201, allocations: 227.7 kB / 413.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.6202, allocations: 100.9 kB / 413.4 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.6203, allocations: 0 / 413.4 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.6205, allocations: 11.98 kB / 413.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.6206, allocations: 7.984 kB / 413.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.6206, allocations: 0 / 413.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001986/0.6208, allocations: 156.2 kB / 413.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6208, allocations: 0 / 413.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004124/0.6213, allocations: 47.98 kB / 413.6 MB, free: 13.7 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.0009256/0.6222, allocations: 0.8059 MB / 414.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005878/0.6228, allocations: 112 kB / 414.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6228, allocations: 4 kB / 414.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.6232, allocations: 80.14 kB / 414.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.6236, allocations: 20.38 kB / 414.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000908/0.6245, allocations: 305.3 kB / 414.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.6249, allocations: 0.7318 MB / 415.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.625, allocations: 39.42 kB / 415.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.625, allocations: 0 / 415.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.013/3.638, allocations: 4.145 MB / 419.8 MB, free: 7.375 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