Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.976/1.976, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.113e-05, allocations: 0 / 267.6 MB, free: 5.277 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1496, allocations: 48.69 MB / 316.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.5944, allocations: 78.81 MB / 395.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/0.5948, allocations: 98.42 kB / 395.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0544/0.6492, allocations: 11.7 MB / 406.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6493, allocations: 4 kB / 406.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.6493, allocations: 4 kB / 406.9 MB, free: 3.66 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009404/0.6502, allocations: 0.4967 MB / 407.4 MB, free: 3.137 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.6503, allocations: 8.031 kB / 407.4 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.6504, allocations: 31.56 kB / 407.5 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.6508, allocations: 245.3 kB / 407.7 MB, free: 2.828 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.6508, allocations: 8 kB / 407.7 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/0.6509, allocations: 20 kB / 407.7 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006855/0.6516, allocations: 313.5 kB / 408 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/0.6523, allocations: 307.1 kB / 408.3 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.868e-05/0.6524, allocations: 3.984 kB / 408.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.6524, allocations: 3.938 kB / 408.3 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.813e-05/0.6525, allocations: 28.58 kB / 408.4 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.6544, allocations: 0.7454 MB / 409.1 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.655, allocations: 234.8 kB / 409.3 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.6553, allocations: 75.73 kB / 409.4 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/0.6553, allocations: 3.125 kB / 409.4 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.6554, allocations: 42.52 kB / 409.5 MB, free: 1.273 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.555e-06/0.6554, allocations: 0 / 409.5 MB, free: 1.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006422/0.656, allocations: 201.8 kB / 409.7 MB, free: 1.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.6561, allocations: 51.41 kB / 409.7 MB, free: 1.027 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.6563, allocations: 171.6 kB / 409.9 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.6564, allocations: 29.7 kB / 409.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.6566, allocations: 247.4 kB / 410.2 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.6566, allocations: 50.08 kB / 410.2 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.6567, allocations: 0 / 410.2 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6568, allocations: 326.8 kB / 410.5 MB, free: 248 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.657, allocations: 74.72 kB / 410.6 MB, free: 180 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.6574, allocations: 166 kB / 410.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.6577, allocations: 109.5 kB / 410.9 MB, free: 15.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.6577, allocations: 0 / 410.9 MB, free: 15.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007338/0.6584, allocations: 270.2 kB / 411.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.6585, allocations: 8 kB / 411.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.6585, allocations: 4 kB / 411.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.6585, allocations: 7.953 kB / 411.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.6597, allocations: 123.5 kB / 411.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.6624, allocations: 3.669 MB / 414.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.6628, allocations: 23.91 kB / 415 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.6629, allocations: 11.98 kB / 415 MB, free: 11.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.6631, allocations: 119.7 kB / 415.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005419/0.6636, allocations: 199.7 kB / 415.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.6637, allocations: 19.77 kB / 415.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000861/0.6646, allocations: 283.5 kB / 415.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6646, allocations: 0 / 415.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.6646, allocations: 0 / 415.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.6646, allocations: 7.938 kB / 415.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.6651, allocations: 259.2 kB / 415.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.6652, allocations: 3.938 kB / 415.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009914/0.6662, allocations: 103.5 kB / 415.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6662, allocations: 0 / 415.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.6662, allocations: 15.94 kB / 416 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.6689, allocations: 3.661 MB / 419.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.669, allocations: 4.375 kB / 419.6 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006253/0.6696, allocations: 305.5 kB / 419.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.6697, allocations: 88.92 kB / 420 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.6698, allocations: 7.938 kB / 420 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.6701, allocations: 4 kB / 420 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.6702, allocations: 15.97 kB / 420 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.6702, allocations: 11.88 kB / 420 MB, free: 6.539 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.6704, allocations: 129.1 kB / 420.2 MB, free: 6.426 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6704, allocations: 0 / 420.2 MB, free: 6.426 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006264/0.671, allocations: 87.67 kB / 420.3 MB, free: 6.34 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/0.6722, allocations: 0.8853 MB / 421.1 MB, free: 5.453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.6735, allocations: 257.5 kB / 421.4 MB, free: 5.223 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6735, allocations: 0 / 421.4 MB, free: 5.223 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008458/0.6744, allocations: 150.4 kB / 421.5 MB, free: 5.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.6747, allocations: 18.83 kB / 421.6 MB, free: 5.074 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.6762, allocations: 455 kB / 422 MB, free: 4.609 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.6767, allocations: 0.7943 MB / 422.8 MB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.6769, allocations: 77.02 kB / 422.9 MB, free: 3.762 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6769, allocations: 0 / 422.9 MB, free: 3.762 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.993/3.67, allocations: 10.81 MB / 433.7 MB, free: 8.953 MB / 362.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_KC_res.mat does not exist to compare? outputFormat=mat