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.228/2.228, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006446/0.0006448, allocations: 8 kB / 314.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3966, allocations: 54.85 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.5519, allocations: 85.71 MB / 455.1 MB, free: 4.785 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/0.5523, allocations: 99.77 kB / 455.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05746/0.6098, allocations: 11.83 MB / 467 MB, free: 8.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6099, allocations: 0 / 467 MB, free: 8.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.6099, allocations: 4 kB / 467 MB, free: 8.754 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.00103/0.6109, allocations: 0.507 MB / 467.5 MB, free: 8.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.611, allocations: 8.031 kB / 467.5 MB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.6111, allocations: 70.53 kB / 467.6 MB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.6112, allocations: 35.67 kB / 467.6 MB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.6116, allocations: 230.6 kB / 467.9 MB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.6116, allocations: 20.56 kB / 467.9 MB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.6117, allocations: 27.98 kB / 467.9 MB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.6127, allocations: 365.2 kB / 468.3 MB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.6128, allocations: 0 / 468.3 MB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.6128, allocations: 19.95 kB / 468.3 MB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.742e-05/0.6129, allocations: 20.59 kB / 468.3 MB, free: 7.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.6139, allocations: 378.3 kB / 468.7 MB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.6161, allocations: 0.8503 MB / 469.5 MB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/0.617, allocations: 264.3 kB / 469.8 MB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.617, allocations: 11.94 kB / 469.8 MB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.6171, allocations: 30.56 kB / 469.8 MB, free: 5.773 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 3.066e-06/0.6171, allocations: 4 kB / 469.8 MB, free: 5.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001328/0.6184, allocations: 347.3 kB / 470.2 MB, free: 5.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.6185, allocations: 55.34 kB / 470.2 MB, free: 5.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005401/0.6191, allocations: 310 kB / 470.5 MB, free: 5.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.6191, allocations: 33.64 kB / 470.6 MB, free: 5.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.6193, allocations: 218.4 kB / 470.8 MB, free: 4.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.6194, allocations: 55.2 kB / 470.8 MB, free: 4.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.6194, allocations: 4 kB / 470.8 MB, free: 4.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6196, allocations: 330.8 kB / 471.2 MB, free: 4.402 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.62, allocations: 100.4 kB / 471.2 MB, free: 4.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.6205, allocations: 188 kB / 471.4 MB, free: 4.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.621, allocations: 131.8 kB / 471.6 MB, free: 3.949 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.621, allocations: 0 / 471.6 MB, free: 3.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0011/0.6221, allocations: 337.1 kB / 471.9 MB, free: 3.613 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.6221, allocations: 4 kB / 471.9 MB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6222, allocations: 4 kB / 471.9 MB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.6222, allocations: 8.375 kB / 471.9 MB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.6233, allocations: 127.8 kB / 472 MB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2955/0.9188, allocations: 3.646 MB / 475.7 MB, free: 98.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.9193, allocations: 40.23 kB / 475.7 MB, free: 98.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.9194, allocations: 15.88 kB / 475.7 MB, free: 98.28 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 () * 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.0002924/0.9197, allocations: 173.8 kB / 475.9 MB, free: 98.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.9198, allocations: 28.75 kB / 475.9 MB, free: 98.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.9212, allocations: 336.6 kB / 476.3 MB, free: 98.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.9212, allocations: 4.625 kB / 476.3 MB, free: 98.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.9212, allocations: 0.5312 kB / 476.3 MB, free: 98.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.9212, allocations: 1.734 kB / 476.3 MB, free: 98.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.9218, allocations: 294.2 kB / 476.6 MB, free: 97.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.9219, allocations: 1.531 kB / 476.6 MB, free: 97.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.9229, allocations: 110.9 kB / 476.7 MB, free: 97.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.9229, allocations: 4.406 kB / 476.7 MB, free: 97.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.923, allocations: 6.156 kB / 476.7 MB, free: 97.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.925, allocations: 3.649 MB / 480.3 MB, free: 94.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.925, allocations: 3.953 kB / 480.3 MB, free: 94.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009425/0.926, allocations: 366.1 kB / 480.7 MB, free: 94.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.9261, allocations: 104.7 kB / 480.8 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.9262, allocations: 7.516 kB / 480.8 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.9265, allocations: 12.31 kB / 480.8 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.9266, allocations: 14.72 kB / 480.8 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.9266, allocations: 11.03 kB / 480.8 MB, free: 94.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003983/0.927, allocations: 242.8 kB / 481.1 MB, free: 94.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.927, allocations: 0 / 481.1 MB, free: 94.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006051/0.9277, allocations: 78.45 kB / 481.1 MB, free: 94.1 MB / 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 () * 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.001375/0.9291, allocations: 0.9449 MB / 482.1 MB, free: 93.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.9306, allocations: 301.2 kB / 482.4 MB, free: 93.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9306, allocations: 2.969 kB / 482.4 MB, free: 93.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009802/0.9316, allocations: 168.5 kB / 482.6 MB, free: 93.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.9322, allocations: 68.91 kB / 482.6 MB, free: 93.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.9368, allocations: 3.741 MB / 486.4 MB, free: 90.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.9372, allocations: 0.7965 MB / 487.2 MB, free: 90.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.9374, allocations: 74.14 kB / 487.2 MB, free: 90.22 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.9374, allocations: 0 / 487.2 MB, free: 90.22 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.966/3.903, allocations: 11.91 MB / 499.1 MB, free: 83.45 MB / 394.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