Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.109/2.109, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004648, allocations: 19.94 kB / 282.7 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3649, allocations: 48.7 MB / 331.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.5167, allocations: 81.53 MB / 412.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/0.5172, allocations: 99.92 kB / 413 MB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05519/0.5724, allocations: 10.63 MB / 423.6 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5725, allocations: 0 / 423.6 MB, free: 1.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.5725, allocations: 4 kB / 423.6 MB, free: 1.965 MB / 346.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.001844/0.5744, allocations: 0.651 MB / 424.3 MB, free: 1.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.5744, allocations: 8.031 kB / 424.3 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.5746, allocations: 78.53 kB / 424.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.5748, allocations: 43.44 kB / 424.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006583/0.5755, allocations: 286.4 kB / 424.7 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.441e-05/0.5756, allocations: 29 kB / 424.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.5757, allocations: 40 kB / 424.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.5778, allocations: 0.5778 MB / 425.3 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.5778, allocations: 4 kB / 425.4 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.359e-05/0.5779, allocations: 16 kB / 425.4 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.565e-05/0.578, allocations: 24.92 kB / 425.4 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.58, allocations: 447.6 kB / 425.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.584, allocations: 1.414 MB / 427.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.5853, allocations: 279.6 kB / 427.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.032e-05/0.5853, allocations: 7.984 kB / 427.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.5854, allocations: 43.38 kB / 427.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 7.885e-06/0.5854, allocations: 112 / 427.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002922/0.5884, allocations: 0.715 MB / 428.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5885, allocations: 106.8 kB / 428.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.5897, allocations: 461 kB / 428.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.5898, allocations: 29.7 kB / 428.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.59, allocations: 242.6 kB / 429.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.5901, allocations: 55.2 kB / 429.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.5902, allocations: 7.938 kB / 429.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.5904, allocations: 326.8 kB / 429.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007787/0.5912, allocations: 132 kB / 429.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008285/0.5921, allocations: 185.4 kB / 429.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008397/0.5929, allocations: 155.8 kB / 429.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5929, allocations: 0 / 429.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001972/0.5949, allocations: 369.3 kB / 430.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.595, allocations: 8.781 kB / 430.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/0.5951, allocations: 27.97 kB / 430.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.5952, allocations: 4 kB / 430.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.5956, allocations: 35.97 kB / 430.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.5957, allocations: 0 / 430.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000686/0.5964, allocations: 75.38 kB / 430.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/0.5965, allocations: 15.94 kB / 430.5 MB, free: 10.78 MB / 362.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 () * Number of clocked 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.0004473/0.5969, allocations: 185.7 kB / 430.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.5972, allocations: 39.53 kB / 430.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.599, allocations: 400.6 kB / 431.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.599, allocations: 4 kB / 431.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.5991, allocations: 7.938 kB / 431.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5991, allocations: 0 / 431.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.6003, allocations: 369.3 kB / 431.5 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001265/0.6005, allocations: 27.98 kB / 431.5 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.6008, allocations: 31.95 kB / 431.5 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.6009, allocations: 7.984 kB / 431.5 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.6009, allocations: 8 kB / 431.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.601, allocations: 7.984 kB / 431.5 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.601, allocations: 0 / 431.5 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.603, allocations: 0.6223 MB / 432.2 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.6034, allocations: 168.4 kB / 432.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.6036, allocations: 4 kB / 432.3 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/0.6043, allocations: 31.97 kB / 432.4 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.6044, allocations: 15.94 kB / 432.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.6045, allocations: 11.98 kB / 432.4 MB, free: 8.758 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009218/0.6055, allocations: 379 kB / 432.8 MB, free: 8.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6055, allocations: 0 / 432.8 MB, free: 8.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001228/0.6067, allocations: 111.9 kB / 432.9 MB, free: 8.281 MB / 362.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 () * Number of clocked 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.003002/0.6097, allocations: 1.407 MB / 434.3 MB, free: 6.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.6118, allocations: 0.5457 MB / 434.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6118, allocations: 0 / 434.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.6129, allocations: 391.4 kB / 435.2 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.6141, allocations: 97.55 kB / 435.3 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.6245, allocations: 3.567 MB / 438.9 MB, free: 2.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007953/0.6254, allocations: 0.8499 MB / 439.7 MB, free: 1.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.6258, allocations: 111.4 kB / 439.8 MB, free: 1.055 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6258, allocations: 0 / 439.8 MB, free: 1.055 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.709/3.335, allocations: 9.029 MB / 448.8 MB, free: 8.055 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat