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.3/2.3, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004481, allocations: 8 kB / 314.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3622, allocations: 54.86 MB / 369.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.5189, allocations: 86.88 MB / 456.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003865/0.5194, allocations: 95.88 kB / 456.3 MB, free: 5.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04499/0.5644, allocations: 9.391 MB / 465.7 MB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5644, allocations: 0 / 465.7 MB, free: 12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.503e-05/0.5645, allocations: 7.938 kB / 465.7 MB, free: 11.99 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.001466/0.5659, allocations: 0.5904 MB / 466.3 MB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.566, allocations: 12.03 kB / 466.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.5662, allocations: 86.5 kB / 466.4 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.5664, allocations: 43.48 kB / 466.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.567, allocations: 274.3 kB / 466.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.567, allocations: 29 kB / 466.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.5672, allocations: 43.97 kB / 466.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.5687, allocations: 0.5373 MB / 467.4 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.5688, allocations: 0 / 467.4 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.028e-05/0.5689, allocations: 19.98 kB / 467.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.928e-05/0.569, allocations: 36.92 kB / 467.4 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.5707, allocations: 0.5854 MB / 468 MB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.5741, allocations: 1.195 MB / 469.2 MB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.5754, allocations: 381.5 kB / 469.6 MB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.5754, allocations: 4.188 kB / 469.6 MB, free: 8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.5755, allocations: 38.75 kB / 469.6 MB, free: 7.953 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 3.226e-06/0.5755, allocations: 4 kB / 469.6 MB, free: 7.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.001693/0.5772, allocations: 473.5 kB / 470.1 MB, free: 7.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.5773, allocations: 63.39 kB / 470.1 MB, free: 7.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/0.5781, allocations: 404.8 kB / 470.5 MB, free: 7.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.5781, allocations: 33.64 kB / 470.6 MB, free: 6.969 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.5783, allocations: 230.8 kB / 470.8 MB, free: 6.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.5785, allocations: 74.92 kB / 470.9 MB, free: 6.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.5785, allocations: 4 kB / 470.9 MB, free: 6.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5787, allocations: 318.8 kB / 471.2 MB, free: 6.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.5792, allocations: 123.9 kB / 471.3 MB, free: 6.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.5796, allocations: 119.9 kB / 471.4 MB, free: 6.105 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.5801, allocations: 134.8 kB / 471.5 MB, free: 5.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5801, allocations: 0 / 471.5 MB, free: 5.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001125/0.5813, allocations: 321.3 kB / 471.9 MB, free: 5.656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.5813, allocations: 4 kB / 471.9 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.5813, allocations: 0 / 471.9 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.5814, allocations: 4 kB / 471.9 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.5828, allocations: 159.8 kB / 472 MB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004442/0.5873, allocations: 5.517 MB / 477.5 MB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.5879, allocations: 51.7 kB / 477.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.5879, allocations: 15.92 kB / 477.6 MB, free: 15.7 MB / 410.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 () * Number of clocked 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.000385/0.5883, allocations: 185.8 kB / 477.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.5884, allocations: 35.61 kB / 477.8 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.5901, allocations: 460.3 kB / 478.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.5901, allocations: 4 kB / 478.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5901, allocations: 0 / 478.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5902, allocations: 3.953 kB / 478.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.591, allocations: 369.3 kB / 478.6 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5911, allocations: 0 / 478.6 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.5925, allocations: 155.9 kB / 478.8 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.5925, allocations: 4 kB / 478.8 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.5926, allocations: 7.984 kB / 478.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/0.597, allocations: 5.524 MB / 484.3 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.5971, allocations: 3.953 kB / 484.3 MB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.5985, allocations: 449.8 kB / 484.8 MB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.5987, allocations: 120.6 kB / 484.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.5988, allocations: 8 kB / 484.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.5993, allocations: 12 kB / 484.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.5994, allocations: 15.97 kB / 484.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.5994, allocations: 15.94 kB / 484.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006211/0.6001, allocations: 339 kB / 485.3 MB, free: 7.723 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6001, allocations: 3.938 kB / 485.3 MB, free: 7.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000694/0.6008, allocations: 111.8 kB / 485.4 MB, free: 7.609 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 () * Number of clocked 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.001991/0.6028, allocations: 1.063 MB / 486.4 MB, free: 6.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.6049, allocations: 379 kB / 486.8 MB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.605, allocations: 0 / 486.8 MB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.6065, allocations: 239.7 kB / 487 MB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007773/0.6074, allocations: 89.42 kB / 487.1 MB, free: 5.828 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/0.6138, allocations: 2.629 MB / 489.8 MB, free: 3.141 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.6144, allocations: 0.8581 MB / 490.6 MB, free: 2.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.6148, allocations: 111.4 kB / 490.7 MB, free: 2.148 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6148, allocations: 0 / 490.7 MB, free: 2.148 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.448/4.063, allocations: 20.6 MB / 0.4994 GB, free: 129.1 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