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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.445/2.445, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.391e-05/2.397e-05, allocations: 7.938 kB / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3582, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.515, allocations: 84.94 MB / 443.1 MB, free: 9.785 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003939/0.5155, allocations: 91.92 kB / 443.2 MB, free: 9.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.056/0.5715, allocations: 11.74 MB / 454.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5716, allocations: 8 kB / 454.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.5716, allocations: 0 / 454.9 MB, free: 13.85 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.0009107/0.5725, allocations: 0.4889 MB / 455.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.5726, allocations: 12.03 kB / 455.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.77e-05/0.5727, allocations: 31.58 kB / 455.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.573, allocations: 238.7 kB / 455.7 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.5731, allocations: 8 kB / 455.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.5732, allocations: 16 kB / 455.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007228/0.5739, allocations: 321.1 kB / 456 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/0.5746, allocations: 305 kB / 456.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5747, allocations: 4 kB / 456.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.5747, allocations: 3.953 kB / 456.3 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.5748, allocations: 24.7 kB / 456.4 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.5768, allocations: 0.7526 MB / 457.1 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.5775, allocations: 238.2 kB / 457.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.5777, allocations: 76.86 kB / 457.4 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.5777, allocations: 0 / 457.4 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.5778, allocations: 46.55 kB / 457.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.5778, allocations: 0 / 457.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.000657/0.5785, allocations: 195.3 kB / 457.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.5785, allocations: 51.41 kB / 457.7 MB, free: 10.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.5788, allocations: 173.3 kB / 457.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.5788, allocations: 25.7 kB / 457.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.579, allocations: 246.2 kB / 458.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.5791, allocations: 47.27 kB / 458.2 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.5791, allocations: 0 / 458.2 MB, free: 10.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5792, allocations: 326.8 kB / 458.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.5795, allocations: 80.39 kB / 458.6 MB, free: 9.996 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.5798, allocations: 163.8 kB / 458.7 MB, free: 9.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.5801, allocations: 115.8 kB / 458.9 MB, free: 9.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5801, allocations: 4 kB / 458.9 MB, free: 9.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007351/0.5808, allocations: 266.9 kB / 459.1 MB, free: 9.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.5809, allocations: 15.88 kB / 459.1 MB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5809, allocations: 4 kB / 459.1 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.5809, allocations: 7.984 kB / 459.1 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.5821, allocations: 124.2 kB / 459.3 MB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.5847, allocations: 3.661 MB / 462.9 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.5851, allocations: 23.92 kB / 463 MB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.5851, allocations: 12 kB / 463 MB, free: 5.43 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.000163/0.5853, allocations: 124.8 kB / 463.1 MB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005679/0.5859, allocations: 201.4 kB / 463.3 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.586, allocations: 11.81 kB / 463.3 MB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000823/0.5868, allocations: 280.5 kB / 463.6 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5868, allocations: 4 kB / 463.6 MB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5869, allocations: 3.938 kB / 463.6 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5869, allocations: 0 / 463.6 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/0.5874, allocations: 270 kB / 463.8 MB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.5874, allocations: 0 / 463.8 MB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.5884, allocations: 99.86 kB / 463.9 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.5885, allocations: 0 / 463.9 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.5885, allocations: 11.98 kB / 464 MB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.5912, allocations: 3.661 MB / 467.6 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.5912, allocations: 4.094 kB / 467.6 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.5919, allocations: 309 kB / 467.9 MB, free: 276 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.592, allocations: 92.86 kB / 468 MB, free: 164 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.592, allocations: 4 kB / 468 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.5923, allocations: 7.984 kB / 468 MB, free: 152 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.5924, allocations: 15.98 kB / 468 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.5925, allocations: 11.98 kB / 468 MB, free: 124 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.5926, allocations: 124.3 kB / 468.2 MB, free: 0 / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5926, allocations: 0 / 468.2 MB, free: 0 / 394.7 MB Notification: Performance of remove unused functions: time 0.2978/0.8904, allocations: 79.78 kB / 468.2 MB, free: 103.2 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 () * 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.001696/0.8922, allocations: 0.8889 MB / 469.1 MB, free: 102.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.8943, allocations: 254.7 kB / 469.4 MB, free: 102.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.8944, allocations: 0.5 kB / 469.4 MB, free: 102.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.8958, allocations: 149.8 kB / 469.5 MB, free: 102.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.8965, allocations: 17.25 kB / 469.5 MB, free: 102.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.8987, allocations: 471.4 kB / 470 MB, free: 102.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.8994, allocations: 0.7939 MB / 470.8 MB, free: 101.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.8997, allocations: 70.66 kB / 470.9 MB, free: 101.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.8997, allocations: 2.844 kB / 470.9 MB, free: 101.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.138/4.038, allocations: 10.82 MB / 481.7 MB, free: 97.59 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