Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.378/2.378, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.838e-05, allocations: 7.984 kB / 309.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4156, allocations: 54.86 MB / 364.7 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/0.595, allocations: 85.61 MB / 450.3 MB, free: 10.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/0.5954, allocations: 97.03 kB / 450.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06273/0.6582, allocations: 11.85 MB / 462.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6582, allocations: 0 / 462.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.6583, allocations: 4 kB / 462.2 MB, free: 14.84 MB / 394.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.001142/0.6594, allocations: 0.4947 MB / 462.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.6595, allocations: 11.97 kB / 462.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.6597, allocations: 70.52 kB / 462.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.6598, allocations: 35.58 kB / 462.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.6603, allocations: 234.6 kB / 463.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.6603, allocations: 20.56 kB / 463.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/0.6604, allocations: 20 kB / 463.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.6616, allocations: 346.1 kB / 463.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.6616, allocations: 5.219 kB / 463.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/0.6617, allocations: 15.95 kB / 463.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.325e-05/0.6618, allocations: 24.7 kB / 463.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.6629, allocations: 346.8 kB / 463.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.6657, allocations: 0.8586 MB / 464.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000941/0.6666, allocations: 238.4 kB / 464.9 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.667, allocations: 84.8 kB / 465 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.6671, allocations: 0 / 465 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.6671, allocations: 38.56 kB / 465 MB, free: 11.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 2.655e-06/0.6671, allocations: 0 / 465 MB, free: 11.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009778/0.6681, allocations: 223.2 kB / 465.2 MB, free: 11.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.6682, allocations: 55.41 kB / 465.3 MB, free: 11.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007028/0.6689, allocations: 299.4 kB / 465.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.669, allocations: 30.45 kB / 465.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.6692, allocations: 218.4 kB / 465.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.6693, allocations: 59.19 kB / 465.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.6694, allocations: 4 kB / 465.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.6696, allocations: 326.8 kB / 466.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.67, allocations: 92.39 kB / 466.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.6705, allocations: 164 kB / 466.5 MB, free: 10.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.6709, allocations: 115.8 kB / 466.6 MB, free: 10.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.671, allocations: 9.031 kB / 466.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001117/0.6721, allocations: 294.4 kB / 466.9 MB, free: 9.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.6721, allocations: 8 kB / 466.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.6722, allocations: 4 kB / 466.9 MB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.6722, allocations: 8 kB / 466.9 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.6737, allocations: 124.2 kB / 467 MB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.6771, allocations: 3.649 MB / 470.7 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.6777, allocations: 43.67 kB / 470.7 MB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/0.6778, allocations: 15.98 kB / 470.7 MB, free: 5.93 MB / 394.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.0002044/0.678, allocations: 128.8 kB / 470.8 MB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.6782, allocations: 23.72 kB / 470.9 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.6794, allocations: 309.2 kB / 471.2 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.6795, allocations: 4 kB / 471.2 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.6795, allocations: 0 / 471.2 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6795, allocations: 0 / 471.2 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007303/0.6803, allocations: 293.5 kB / 471.5 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6803, allocations: 0 / 471.5 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.6816, allocations: 107.8 kB / 471.6 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/0.6816, allocations: 0 / 471.6 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.6817, allocations: 8 kB / 471.6 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/0.6852, allocations: 3.645 MB / 475.2 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.6853, allocations: 4.219 kB / 475.2 MB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009669/0.6863, allocations: 333.2 kB / 475.5 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.6865, allocations: 108.8 kB / 475.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/0.6866, allocations: 0 / 475.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.687, allocations: 12 kB / 475.7 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.6871, allocations: 11.97 kB / 475.7 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.6872, allocations: 12 kB / 475.7 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005356/0.6877, allocations: 239.1 kB / 475.9 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6877, allocations: 0 / 475.9 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008701/0.6886, allocations: 79.91 kB / 476 MB, free: 424 kB / 394.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.001579/0.6902, allocations: 0.9155 MB / 476.9 MB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.6919, allocations: 270.5 kB / 477.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6919, allocations: 3.938 kB / 477.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.6931, allocations: 155.8 kB / 477.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007329/0.6939, allocations: 52.86 kB / 477.4 MB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.6959, allocations: 0.504 MB / 477.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.6966, allocations: 0.7956 MB / 478.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.6968, allocations: 71.41 kB / 478.8 MB, free: 13.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6968, allocations: 4 kB / 478.8 MB, free: 13.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.025/3.722, allocations: 11.81 MB / 490.6 MB, free: 1.738 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat