Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.731e-05, allocations: 4 kB / 267.6 MB, free: 5.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 48.69 MB / 316.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4107/0.5148, allocations: 80.81 MB / 397.1 MB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003673/0.5152, allocations: 98.64 kB / 397.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06734/0.5826, allocations: 13.21 MB / 410.4 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5826, allocations: 0 / 410.4 MB, free: 476 kB / 330.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.5827, allocations: 4 kB / 410.4 MB, free: 472 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001663/0.5844, allocations: 0.5618 MB / 411 MB, free: 15.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.5844, allocations: 11.97 kB / 411 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.5846, allocations: 31.62 kB / 411 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.5852, allocations: 249.4 kB / 411.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.5853, allocations: 8 kB / 411.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.719e-05/0.5854, allocations: 20 kB / 411.3 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009336/0.5947, allocations: 236.3 kB / 411.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.5959, allocations: 359.5 kB / 411.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.596, allocations: 0 / 411.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.596, allocations: 3.984 kB / 411.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/0.5961, allocations: 16.56 kB / 411.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.5991, allocations: 1.018 MB / 412.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/0.5999, allocations: 214.2 kB / 413.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.6002, allocations: 75.91 kB / 413.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-05/0.6003, allocations: 4 kB / 413.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.6003, allocations: 42 kB / 413.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.637e-06/0.6003, allocations: 0 / 413.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009368/0.6013, allocations: 190.1 kB / 413.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.6014, allocations: 102.9 kB / 413.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.6018, allocations: 224.1 kB / 413.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.6019, allocations: 25.81 kB / 413.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.6022, allocations: 269.4 kB / 414.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/0.6023, allocations: 49.36 kB / 414.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.941e-05/0.61, allocations: 0 / 414.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.6103, allocations: 328.8 kB / 414.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.6107, allocations: 80.67 kB / 414.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.6112, allocations: 201.7 kB / 414.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.6116, allocations: 113.3 kB / 414.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.6117, allocations: 4 kB / 414.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001181/0.6129, allocations: 296.2 kB / 415.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.6129, allocations: 8 kB / 415.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/0.6131, allocations: 19.98 kB / 415.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.6131, allocations: 8 kB / 415.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.6137, allocations: 56.42 kB / 415.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.6138, allocations: 11.94 kB / 415.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005076/0.6189, allocations: 42.69 kB / 415.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.619, allocations: 16 kB / 415.3 MB, free: 11.78 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002365/0.6193, allocations: 124 kB / 415.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008987/0.6202, allocations: 198.3 kB / 415.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.6204, allocations: 15.81 kB / 415.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.6214, allocations: 246.3 kB / 415.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.6215, allocations: 4.062 kB / 415.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6215, allocations: 4 kB / 415.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.6215, allocations: 0 / 415.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/0.6262, allocations: 281.2 kB / 416.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001082/0.6263, allocations: 15.98 kB / 416.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.6268, allocations: 31.97 kB / 416.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.6268, allocations: 0 / 416.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/0.6269, allocations: 4 kB / 416.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.6269, allocations: 11.94 kB / 416.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6269, allocations: 0 / 416.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009958/0.6279, allocations: 467.1 kB / 416.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.6282, allocations: 128.3 kB / 416.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-05/0.6283, allocations: 4 kB / 416.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006756/0.629, allocations: 23.48 kB / 416.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.6292, allocations: 15.97 kB / 416.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.6292, allocations: 11.95 kB / 416.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003187/0.6296, allocations: 165.2 kB / 417 MB, free: 10.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6296, allocations: 0 / 417 MB, free: 10.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001327/0.6309, allocations: 111.6 kB / 417.1 MB, free: 9.988 MB / 346.7 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.00192/0.6329, allocations: 1.204 MB / 418.3 MB, free: 8.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.6339, allocations: 362.1 kB / 418.6 MB, free: 8.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.634, allocations: 4.125 kB / 418.7 MB, free: 8.402 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007444/0.6414, allocations: 243.7 kB / 418.9 MB, free: 8.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008144/0.6423, allocations: 31.98 kB / 418.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.6451, allocations: 0.5137 MB / 419.4 MB, free: 7.582 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.6458, allocations: 0.8049 MB / 420.2 MB, free: 6.758 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.646, allocations: 80.16 kB / 420.3 MB, free: 6.734 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.646, allocations: 0 / 420.3 MB, free: 6.734 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.684/3.33, allocations: 5.94 MB / 426.3 MB, free: 0.8086 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.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat