Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) 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 2.15/2.15, allocations: 209.2 MB / 224.8 MB, free: 284 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004791, allocations: 12 kB / 282.6 MB, free: 9.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3684, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002599/0.371, allocations: 1.503 MB / 332.8 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3727, allocations: 0.7256 MB / 333.5 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3728, allocations: 1.219 kB / 333.5 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.3732, allocations: 44.27 kB / 333.6 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.3735, allocations: 56.2 kB / 333.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.3739, allocations: 75.34 kB / 333.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.3742, allocations: 163.1 kB / 333.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.3743, allocations: 27.11 kB / 333.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.3745, allocations: 84.89 kB / 334 MB, free: 5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3747, allocations: 89.48 kB / 334.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.3748, allocations: 6.312 kB / 334.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.3752, allocations: 111 kB / 334.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.3753, allocations: 54.97 kB / 334.2 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.555e-05/0.3754, allocations: 68.58 kB / 334.3 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.3759, allocations: 184.5 kB / 334.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.376, allocations: 3.938 kB / 334.5 MB, free: 4.812 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.376, allocations: 0 / 334.5 MB, free: 4.812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.376, allocations: 4 kB / 334.5 MB, free: 4.809 MB / 266.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.001241/0.3773, allocations: 0.5128 MB / 335 MB, free: 4.359 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.3773, allocations: 8.625 kB / 335 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.3775, allocations: 69.05 kB / 335.1 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.253e-05/0.3776, allocations: 29.62 kB / 335.1 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.378, allocations: 234.6 kB / 335.3 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.378, allocations: 19.09 kB / 335.3 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.3781, allocations: 27.12 kB / 335.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.3792, allocations: 380.4 kB / 335.7 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.3793, allocations: 0 / 335.7 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.3793, allocations: 5.969 kB / 335.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.837e-05/0.3794, allocations: 29.08 kB / 335.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.3806, allocations: 383.1 kB / 336.2 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.3826, allocations: 0.8578 MB / 337 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/0.3835, allocations: 260.8 kB / 337.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/0.3835, allocations: 9.422 kB / 337.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3836, allocations: 32.19 kB / 337.3 MB, free: 3.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.705e-06/0.3836, allocations: 7.938 kB / 337.3 MB, free: 3.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001284/0.3849, allocations: 347.3 kB / 337.7 MB, free: 2.926 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3849, allocations: 53.91 kB / 337.7 MB, free: 2.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.3855, allocations: 340.1 kB / 338 MB, free: 2.648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.3855, allocations: 31.05 kB / 338.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.3857, allocations: 222 kB / 338.3 MB, free: 2.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.3857, allocations: 55.48 kB / 338.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.3858, allocations: 5.5 kB / 338.3 MB, free: 2.352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.3858, allocations: 321.7 kB / 338.7 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.3862, allocations: 107.2 kB / 338.8 MB, free: 1.988 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.3867, allocations: 182.9 kB / 338.9 MB, free: 1.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.3871, allocations: 134.8 kB / 339.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3871, allocations: 5.469 kB / 339.1 MB, free: 1.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001027/0.3882, allocations: 343.3 kB / 339.4 MB, free: 1.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.3882, allocations: 7.469 kB / 339.4 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3882, allocations: 2.219 kB / 339.4 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.3883, allocations: 4.625 kB / 339.4 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.3894, allocations: 121.7 kB / 339.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.3918, allocations: 3.653 MB / 343.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.3923, allocations: 48.34 kB / 343.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.3924, allocations: 15.39 kB / 343.3 MB, free: 13.91 MB / 282.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 () * Number of clocked 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.0003475/0.3927, allocations: 176.8 kB / 343.4 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/0.3928, allocations: 26.8 kB / 343.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.3941, allocations: 347.3 kB / 343.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3941, allocations: 1.062 kB / 343.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3941, allocations: 1.094 kB / 343.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3941, allocations: 0 / 343.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.3947, allocations: 293 kB / 344.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.3948, allocations: 1.188 kB / 344.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009466/0.3957, allocations: 107.1 kB / 344.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.3957, allocations: 5.047 kB / 344.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.3958, allocations: 10.17 kB / 344.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/0.3986, allocations: 3.649 MB / 347.9 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3986, allocations: 0 / 347.9 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3997, allocations: 362.6 kB / 348.2 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.3998, allocations: 115 kB / 348.3 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.3999, allocations: 0 / 348.3 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.4002, allocations: 14.67 kB / 348.3 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.4003, allocations: 12.2 kB / 348.4 MB, free: 9.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.4004, allocations: 12.52 kB / 348.4 MB, free: 9.246 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004093/0.4008, allocations: 237.4 kB / 348.6 MB, free: 9.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.214e-06/0.4008, allocations: 0 / 348.6 MB, free: 9.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005907/0.4014, allocations: 81.12 kB / 348.7 MB, free: 9.082 MB / 282.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 () * Number of clocked 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.001495/0.4029, allocations: 0.9192 MB / 349.6 MB, free: 8.309 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.4047, allocations: 337.6 kB / 349.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4047, allocations: 0.75 kB / 349.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.4059, allocations: 195.6 kB / 350.1 MB, free: 8.125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.4065, allocations: 61.23 kB / 350.2 MB, free: 8.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.4115, allocations: 1.959 MB / 352.1 MB, free: 6.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.4121, allocations: 0.7891 MB / 352.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.4123, allocations: 82.72 kB / 353 MB, free: 6.008 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4123, allocations: 0 / 353 MB, free: 6.008 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.977/3.389, allocations: 11.81 MB / 364.8 MB, free: 12.18 MB / 298.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