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.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,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.456e-05/2.469e-05, allocations: 7.938 kB / 303.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3526, allocations: 54.85 MB / 358.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.5079, allocations: 87.06 MB / 445.2 MB, free: 8.512 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004156/0.5083, allocations: 95.92 kB / 445.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04809/0.5564, allocations: 10.49 MB / 455.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5565, allocations: 0 / 455.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.5565, allocations: 4 kB / 455.8 MB, free: 13.75 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001432/0.558, allocations: 0.619 MB / 456.4 MB, free: 13.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.5581, allocations: 8.031 kB / 456.4 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.5582, allocations: 43.44 kB / 456.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.5588, allocations: 282.4 kB / 456.7 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.5588, allocations: 12 kB / 456.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.5589, allocations: 24 kB / 456.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008652/0.5598, allocations: 325.9 kB / 457.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.561, allocations: 498.6 kB / 457.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.561, allocations: 4 kB / 457.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.5611, allocations: 7.891 kB / 457.6 MB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-05/0.5612, allocations: 16.78 kB / 457.6 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.5642, allocations: 1.241 MB / 458.9 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.5648, allocations: 231.6 kB / 459.1 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.5652, allocations: 111.3 kB / 459.2 MB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.48e-05/0.5652, allocations: 7.984 kB / 459.2 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.5653, allocations: 42.52 kB / 459.2 MB, free: 10.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.367e-06/0.5653, allocations: 0 / 459.2 MB, free: 10.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009154/0.5662, allocations: 255.3 kB / 459.5 MB, free: 9.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.5663, allocations: 106.9 kB / 459.6 MB, free: 9.727 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.5666, allocations: 179.2 kB / 459.8 MB, free: 9.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.5667, allocations: 25.7 kB / 459.8 MB, free: 9.512 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.5669, allocations: 286.4 kB / 460.1 MB, free: 9.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.495e-05/0.567, allocations: 63.09 kB / 460.1 MB, free: 9.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.5671, allocations: 0 / 460.1 MB, free: 9.168 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5672, allocations: 314.8 kB / 460.4 MB, free: 8.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.5675, allocations: 96.09 kB / 460.5 MB, free: 8.754 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.5679, allocations: 144.8 kB / 460.7 MB, free: 8.598 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.5682, allocations: 103.9 kB / 460.8 MB, free: 8.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5683, allocations: 0 / 460.8 MB, free: 8.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008792/0.5692, allocations: 281.4 kB / 461.1 MB, free: 8.215 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.5692, allocations: 11.94 kB / 461.1 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/0.5693, allocations: 27.97 kB / 461.1 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.5694, allocations: 11.94 kB / 461.1 MB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.5698, allocations: 39.97 kB / 461.1 MB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5698, allocations: 0 / 461.1 MB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.5702, allocations: 39.94 kB / 461.2 MB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.5703, allocations: 15.98 kB / 461.2 MB, free: 8.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.5705, allocations: 104.9 kB / 461.3 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00083/0.5713, allocations: 254.2 kB / 461.5 MB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.5714, allocations: 19.77 kB / 461.6 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.5725, allocations: 342 kB / 461.9 MB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.5725, allocations: 4 kB / 461.9 MB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5725, allocations: 0 / 461.9 MB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5726, allocations: 0 / 461.9 MB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008081/0.5734, allocations: 325.9 kB / 462.2 MB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/0.5735, allocations: 27.97 kB / 462.3 MB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.5738, allocations: 27.97 kB / 462.3 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.5739, allocations: 8 kB / 462.3 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.5739, allocations: 4 kB / 462.3 MB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.5739, allocations: 7.953 kB / 462.3 MB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.5739, allocations: 3.984 kB / 462.3 MB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009359/0.5749, allocations: 0.517 MB / 462.8 MB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.575, allocations: 100.8 kB / 462.9 MB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.5751, allocations: 0 / 462.9 MB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.5755, allocations: 23.97 kB / 462.9 MB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.5757, allocations: 27.91 kB / 463 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.5757, allocations: 8 kB / 463 MB, free: 6.188 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.5759, allocations: 157.5 kB / 463.1 MB, free: 6.035 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.576, allocations: 4 kB / 463.1 MB, free: 6.031 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008747/0.5768, allocations: 135.5 kB / 463.3 MB, free: 5.898 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001719/0.5786, allocations: 1.287 MB / 464.6 MB, free: 4.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000923/0.5795, allocations: 463.1 kB / 465 MB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5796, allocations: 0 / 465 MB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.5801, allocations: 355.2 kB / 465.4 MB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/0.5807, allocations: 32.19 kB / 465.4 MB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.5833, allocations: 0.6767 MB / 466.1 MB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.584, allocations: 0.8527 MB / 466.9 MB, free: 2.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.5843, allocations: 99.39 kB / 467 MB, free: 1.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5843, allocations: 0 / 467 MB, free: 1.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.162/3.746, allocations: 7.072 MB / 474.1 MB, free: 10.86 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_res.mat does not exist to compare? outputFormat=mat