Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.4 MB / 216.9 MB, free: 6.742 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.041e-05, allocations: 0 / 267.6 MB, free: 5.387 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 48.71 MB / 316.3 MB, free: 4.586 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5362, allocations: 80.13 MB / 396.5 MB, free: 12.2 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/0.5366, allocations: 90.75 kB / 396.6 MB, free: 12.14 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.04285/0.5795, allocations: 9.557 MB / 406.1 MB, free: 4.125 MB / 330.8 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5795, allocations: 0 / 406.1 MB, free: 4.125 MB / 330.8 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.5795, allocations: 4 kB / 406.1 MB, free: 4.121 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001099/0.5807, allocations: 0.5018 MB / 406.6 MB, free: 3.586 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.5807, allocations: 12.02 kB / 406.6 MB, free: 3.574 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.5808, allocations: 24.06 kB / 406.7 MB, free: 3.551 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.5812, allocations: 234.2 kB / 406.9 MB, free: 3.285 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.5812, allocations: 8 kB / 406.9 MB, free: 3.277 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.5813, allocations: 8 kB / 406.9 MB, free: 3.27 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003908/0.5817, allocations: 138.4 kB / 407 MB, free: 3.172 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.5822, allocations: 224.7 kB / 407.3 MB, free: 2.98 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5822, allocations: 0 / 407.3 MB, free: 2.98 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.5823, allocations: 0 / 407.3 MB, free: 2.98 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/0.5823, allocations: 11.98 kB / 407.3 MB, free: 2.969 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.5839, allocations: 0.7295 MB / 408 MB, free: 2.258 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.5846, allocations: 193.3 kB / 408.2 MB, free: 2.062 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.5848, allocations: 68.55 kB / 408.2 MB, free: 1.996 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.5849, allocations: 4 kB / 408.3 MB, free: 1.992 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5849, allocations: 37.83 kB / 408.3 MB, free: 1.949 MB / 330.8 MB Notification: Performance of pre-optimization done (n=14): time 3.196e-06/0.5849, allocations: 0 / 408.3 MB, free: 1.949 MB / 330.8 MB Notification: Performance of matching and sorting (n=14): time 0.0005856/0.5855, allocations: 170.8 kB / 408.5 MB, free: 1.789 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.5856, allocations: 105.9 kB / 408.6 MB, free: 1.664 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.5858, allocations: 164 kB / 408.7 MB, free: 1.512 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.5859, allocations: 25.7 kB / 408.7 MB, free: 1.48 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.586, allocations: 210.3 kB / 409 MB, free: 1.289 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.5861, allocations: 43.27 kB / 409 MB, free: 1.254 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.5861, allocations: 8.047 kB / 409 MB, free: 1.246 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5863, allocations: 317.5 kB / 409.3 MB, free: 0.9297 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.5864, allocations: 56.83 kB / 409.4 MB, free: 0.8828 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.5866, allocations: 97.7 kB / 409.5 MB, free: 0.7852 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.5869, allocations: 62 kB / 409.5 MB, free: 0.7344 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5869, allocations: 0 / 409.5 MB, free: 0.7344 MB / 330.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005326/0.5874, allocations: 186.1 kB / 409.7 MB, free: 0.5664 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.5875, allocations: 4 kB / 409.7 MB, free: 0.5625 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.672e-05/0.5875, allocations: 8 kB / 409.7 MB, free: 0.5547 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.5876, allocations: 7.953 kB / 409.7 MB, free: 0.5469 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.588, allocations: 43.89 kB / 409.8 MB, free: 0.5039 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.588, allocations: 4.156 kB / 409.8 MB, free: 0.5 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.5883, allocations: 31.83 kB / 409.8 MB, free: 480 kB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.5884, allocations: 14.97 kB / 409.8 MB, free: 468 kB / 330.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.5885, allocations: 105 kB / 409.9 MB, free: 356 kB / 330.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005073/0.589, allocations: 167.2 kB / 410.1 MB, free: 200 kB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.5891, allocations: 27.77 kB / 410.1 MB, free: 172 kB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.5897, allocations: 179 kB / 410.3 MB, free: 4 kB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.5897, allocations: 0 / 410.3 MB, free: 4 kB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5897, allocations: 0 / 410.3 MB, free: 4 kB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5897, allocations: 4 kB / 410.3 MB, free: 0 / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.5903, allocations: 237.5 kB / 410.5 MB, free: 15.75 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-05/0.5904, allocations: 11.98 kB / 410.5 MB, free: 15.74 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.5908, allocations: 39.97 kB / 410.6 MB, free: 15.7 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.5908, allocations: 96 / 410.6 MB, free: 15.7 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.5908, allocations: 7.938 kB / 410.6 MB, free: 15.7 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.5909, allocations: 7.891 kB / 410.6 MB, free: 15.69 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.5909, allocations: 0 / 410.6 MB, free: 15.69 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.5915, allocations: 446 kB / 411 MB, free: 15.25 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.5917, allocations: 116.3 kB / 411.1 MB, free: 15.12 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.5917, allocations: 0 / 411.1 MB, free: 15.12 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/0.5922, allocations: 26.97 kB / 411.2 MB, free: 15.09 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.5923, allocations: 7.984 kB / 411.2 MB, free: 15.09 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.5924, allocations: 15.19 kB / 411.2 MB, free: 15.07 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.0001489/0.5925, allocations: 125.7 kB / 411.3 MB, free: 14.96 MB / 346.8 MB Notification: Performance of sort global known variables: time 2.956e-06/0.5925, allocations: 0 / 411.3 MB, free: 14.96 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.0007055/0.5932, allocations: 91.45 kB / 411.4 MB, free: 14.88 MB / 346.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00129/0.5945, allocations: 1.165 MB / 412.6 MB, free: 13.7 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.5951, allocations: 218.5 kB / 412.8 MB, free: 13.49 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5951, allocations: 0 / 412.8 MB, free: 13.49 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.5954, allocations: 150.6 kB / 412.9 MB, free: 13.34 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.5959, allocations: 28.11 kB / 412.9 MB, free: 13.31 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.5974, allocations: 402.2 kB / 413.3 MB, free: 12.89 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.5978, allocations: 0.7655 MB / 414.1 MB, free: 12.1 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.598, allocations: 63.72 kB / 414.2 MB, free: 12.07 MB / 346.8 MB Notification: Performance of SimCode: time 9.62e-07/0.598, allocations: 0 / 414.2 MB, free: 12.07 MB / 346.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.606/3.204, allocations: 4.409 MB / 418.6 MB, free: 7.68 MB / 346.8 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_res.mat does not exist to compare? outputFormat=mat