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/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.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.406/2.406, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.76e-05, allocations: 4 kB / 303.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3697, allocations: 54.86 MB / 358.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.553, allocations: 86.13 MB / 444.3 MB, free: 9.387 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/0.5534, allocations: 103.8 kB / 444.4 MB, free: 9.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04542/0.5989, allocations: 9.266 MB / 453.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5989, allocations: 0 / 453.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.599, allocations: 4 kB / 453.6 MB, free: 15.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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001255/0.6002, allocations: 0.5606 MB / 454.2 MB, free: 15.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.6003, allocations: 12.03 kB / 454.2 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.6004, allocations: 47.48 kB / 454.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.601, allocations: 275.1 kB / 454.5 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.601, allocations: 12 kB / 454.5 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.009e-05/0.6011, allocations: 20 kB / 454.6 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001106/0.6022, allocations: 0.4899 MB / 455.1 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.6034, allocations: 469.1 kB / 455.5 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.6034, allocations: 0 / 455.5 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.6035, allocations: 0 / 455.5 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.364e-05/0.6036, allocations: 37.25 kB / 455.5 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.6065, allocations: 1.05 MB / 456.6 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.6076, allocations: 415.8 kB / 457 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.608, allocations: 129.2 kB / 457.1 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.715e-05/0.6081, allocations: 16.16 kB / 457.1 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.6081, allocations: 42.73 kB / 457.2 MB, free: 12.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.536e-06/0.6082, allocations: 0 / 457.2 MB, free: 12.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001009/0.6092, allocations: 323.2 kB / 457.5 MB, free: 11.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.6092, allocations: 59.34 kB / 457.6 MB, free: 11.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.6094, allocations: 137.3 kB / 457.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.6095, allocations: 25.7 kB / 457.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.6097, allocations: 266.5 kB / 458 MB, free: 11.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.6098, allocations: 90.59 kB / 458.1 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.6098, allocations: 0 / 458.1 MB, free: 11.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.61, allocations: 326.8 kB / 458.4 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.6104, allocations: 115.9 kB / 458.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.6107, allocations: 111.9 kB / 458.6 MB, free: 10.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.6111, allocations: 131.8 kB / 458.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6111, allocations: 4 kB / 458.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009439/0.612, allocations: 329.9 kB / 459.1 MB, free: 10.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.6121, allocations: 6.812 kB / 459.1 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.6121, allocations: 3.953 kB / 459.1 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.6121, allocations: 0 / 459.1 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.6137, allocations: 163.9 kB / 459.2 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004553/0.6183, allocations: 5.544 MB / 464.8 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.6188, allocations: 23.77 kB / 464.8 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.6188, allocations: 8 kB / 464.8 MB, free: 4.27 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 (28): * Single equations (assignments): 19 * 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.0001756/0.619, allocations: 124.2 kB / 464.9 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009157/0.6199, allocations: 329.4 kB / 465.3 MB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.62, allocations: 15.81 kB / 465.3 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.6213, allocations: 431 kB / 465.7 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.6213, allocations: 4 kB / 465.7 MB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6214, allocations: 0 / 465.7 MB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6214, allocations: 0 / 465.7 MB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007316/0.6221, allocations: 341.8 kB / 466 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6221, allocations: 0 / 466 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/0.6237, allocations: 163.8 kB / 466.2 MB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.6237, allocations: 3.953 kB / 466.2 MB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.6238, allocations: 8 kB / 466.2 MB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004354/0.6281, allocations: 5.544 MB / 471.7 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6282, allocations: 0 / 471.7 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009926/0.6292, allocations: 435.7 kB / 472.2 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.98e-05/0.6293, allocations: 96.81 kB / 472.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.6294, allocations: 0 / 472.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.6297, allocations: 15.92 kB / 472.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.6298, allocations: 32.05 kB / 472.3 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.6299, allocations: 11.98 kB / 472.3 MB, free: 12.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.63, allocations: 107.3 kB / 472.4 MB, free: 12.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.63, allocations: 0 / 472.4 MB, free: 12.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006624/0.6307, allocations: 123.5 kB / 472.5 MB, free: 12.23 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 (28): * Single equations (assignments): 19 * 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.00152/0.6322, allocations: 1.039 MB / 473.6 MB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.634, allocations: 363.6 kB / 473.9 MB, free: 10.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.634, allocations: 4 kB / 473.9 MB, free: 10.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.6354, allocations: 247.6 kB / 474.2 MB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.6358, allocations: 23.98 kB / 474.2 MB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.6378, allocations: 0.6734 MB / 474.9 MB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/0.6384, allocations: 0.8534 MB / 475.7 MB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.6387, allocations: 111.4 kB / 475.8 MB, free: 8.832 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6387, allocations: 7.938 kB / 475.9 MB, free: 8.824 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.817/4.456, allocations: 18.94 MB / 494.8 MB, free: 114.5 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.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat