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.HelicalPipe.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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.563/2.563, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.253e-05, allocations: 4 kB / 309.8 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4529, allocations: 54.85 MB / 364.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/0.6859, allocations: 86.79 MB / 451.4 MB, free: 9.707 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005876/0.6866, allocations: 103.7 kB / 451.5 MB, free: 9.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07342/0.76, allocations: 9.402 MB / 460.9 MB, free: 72 kB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.7601, allocations: 0 / 460.9 MB, free: 72 kB / 378.7 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.7602, allocations: 8 kB / 460.9 MB, free: 64 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001943/0.7621, allocations: 0.5612 MB / 461.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.31e-05/0.7622, allocations: 11.97 kB / 461.5 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00025/0.7625, allocations: 87.92 kB / 461.6 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.7627, allocations: 43.47 kB / 461.6 MB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.7635, allocations: 282.3 kB / 461.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.7636, allocations: 28.78 kB / 462 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.7638, allocations: 39.98 kB / 462 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.7659, allocations: 0.5086 MB / 462.5 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.766, allocations: 0 / 462.5 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.7662, allocations: 19.98 kB / 462.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.7663, allocations: 36.97 kB / 462.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.7687, allocations: 0.5387 MB / 463.1 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005147/0.7739, allocations: 1.202 MB / 464.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.7756, allocations: 358.8 kB / 464.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/0.7762, allocations: 121.2 kB / 464.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.534e-05/0.7763, allocations: 12.17 kB / 464.8 MB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.7764, allocations: 38.69 kB / 464.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.233e-05/0.7764, allocations: 3.984 kB / 464.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.001554/0.778, allocations: 310.6 kB / 465.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.7782, allocations: 59.36 kB / 465.2 MB, free: 11.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.7793, allocations: 399.5 kB / 465.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-05/0.7795, allocations: 29.7 kB / 465.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.7798, allocations: 230.9 kB / 465.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.78, allocations: 82.83 kB / 465.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.7801, allocations: 4 kB / 465.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.7803, allocations: 314.8 kB / 466.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/0.7808, allocations: 103.9 kB / 466.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.7813, allocations: 110.3 kB / 466.4 MB, free: 10.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.7819, allocations: 111.9 kB / 466.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.782, allocations: 0 / 466.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001388/0.7834, allocations: 283.8 kB / 466.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.7835, allocations: 12 kB / 466.8 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.7835, allocations: 0 / 466.8 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.7835, allocations: 0 / 466.8 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/0.786, allocations: 155.8 kB / 467 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006729/0.7928, allocations: 5.524 MB / 472.5 MB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/0.7936, allocations: 43.45 kB / 472.5 MB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.7937, allocations: 19.97 kB / 472.6 MB, free: 4.016 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.7939, allocations: 112.9 kB / 472.7 MB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.7941, allocations: 35.53 kB / 472.7 MB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.7962, allocations: 424.3 kB / 473.1 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.7962, allocations: 4 kB / 473.1 MB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.7963, allocations: 3.953 kB / 473.1 MB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.7963, allocations: 0 / 473.1 MB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.7975, allocations: 365.3 kB / 473.5 MB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.7975, allocations: 0 / 473.5 MB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/0.7999, allocations: 159.8 kB / 473.6 MB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.7999, allocations: 0 / 473.6 MB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/0.8, allocations: 7.984 kB / 473.7 MB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006157/0.8062, allocations: 5.519 MB / 479.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-05/0.8063, allocations: 7.984 kB / 479.2 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.8078, allocations: 418.8 kB / 479.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.8081, allocations: 116.7 kB / 479.7 MB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.812e-05/0.8082, allocations: 4 kB / 479.7 MB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.8086, allocations: 19.92 kB / 479.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.8087, allocations: 27.86 kB / 479.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.8087, allocations: 8 kB / 479.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005952/0.8093, allocations: 326.1 kB / 480.1 MB, free: 12.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8094, allocations: 4 kB / 480.1 MB, free: 12.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005988/0.81, allocations: 111.8 kB / 480.2 MB, free: 12.09 MB / 410.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/0.8115, allocations: 1.021 MB / 481.2 MB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.8134, allocations: 340.3 kB / 481.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8134, allocations: 0 / 481.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.8147, allocations: 232.2 kB / 481.8 MB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.8155, allocations: 92.42 kB / 481.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.8175, allocations: 0.6971 MB / 482.6 MB, free: 9.648 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.8181, allocations: 0.8542 MB / 483.4 MB, free: 8.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.8184, allocations: 115.4 kB / 483.5 MB, free: 8.656 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8184, allocations: 0 / 483.5 MB, free: 8.656 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.465/4.283, allocations: 20.44 MB / 0.4921 GB, free: 4.207 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat