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.StraightPipe.kc_turbulent.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.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.32/2.32, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004226, allocations: 8 kB / 314.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3402, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.497, allocations: 87.66 MB / 457 MB, free: 2.828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/0.4974, allocations: 95.88 kB / 457.1 MB, free: 2.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06346/0.5609, allocations: 13.33 MB / 470.5 MB, free: 5.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.561, allocations: 0 / 470.5 MB, free: 5.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.561, allocations: 4 kB / 470.5 MB, free: 5.289 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001293/0.5623, allocations: 0.5885 MB / 471.1 MB, free: 4.652 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.5624, allocations: 8.031 kB / 471.1 MB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.5625, allocations: 70.53 kB / 471.1 MB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/0.5626, allocations: 31.62 kB / 471.2 MB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.5631, allocations: 246.5 kB / 471.4 MB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.5631, allocations: 20.56 kB / 471.4 MB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.5632, allocations: 31.92 kB / 471.5 MB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.5645, allocations: 445.8 kB / 471.9 MB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.5645, allocations: 7.953 kB / 471.9 MB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.5646, allocations: 12 kB / 471.9 MB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.5646, allocations: 20.44 kB / 471.9 MB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.5659, allocations: 342 kB / 472.3 MB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.5682, allocations: 1.112 MB / 473.4 MB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008457/0.5691, allocations: 251.7 kB / 473.6 MB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.5692, allocations: 11.97 kB / 473.6 MB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.5692, allocations: 42.59 kB / 473.7 MB, free: 1.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.126e-06/0.5692, allocations: 0 / 473.7 MB, free: 1.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001935/0.5712, allocations: 0.6177 MB / 474.3 MB, free: 1.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.5713, allocations: 102.8 kB / 474.4 MB, free: 1.055 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.5719, allocations: 364.6 kB / 474.8 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.572, allocations: 29.7 kB / 474.8 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.5722, allocations: 238.2 kB / 475 MB, free: 428 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.5723, allocations: 47.36 kB / 475.1 MB, free: 380 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.5723, allocations: 0 / 475.1 MB, free: 380 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5725, allocations: 322.8 kB / 475.4 MB, free: 48 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3562/0.9287, allocations: 128.1 kB / 475.5 MB, free: 97.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006548/0.9294, allocations: 246.7 kB / 475.7 MB, free: 97.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007029/0.9301, allocations: 161.2 kB / 475.9 MB, free: 97.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.9302, allocations: 1.031 kB / 475.9 MB, free: 97.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001597/0.9318, allocations: 403.3 kB / 476.3 MB, free: 96.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.9318, allocations: 8.125 kB / 476.3 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.515e-05/0.9319, allocations: 22.62 kB / 476.3 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/0.9319, allocations: 6.562 kB / 476.3 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.9324, allocations: 59.53 kB / 476.4 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.9324, allocations: 6.484 kB / 476.4 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.933, allocations: 62.36 kB / 476.5 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.933, allocations: 16.73 kB / 476.5 MB, free: 96.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002676/0.9333, allocations: 180.1 kB / 476.7 MB, free: 96.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.9335, allocations: 32.31 kB / 476.7 MB, free: 96.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.9345, allocations: 301.1 kB / 477 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.9345, allocations: 2.469 kB / 477 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9345, allocations: 4.375 kB / 477 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.9346, allocations: 1.703 kB / 477 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007587/0.9353, allocations: 307.4 kB / 477.3 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.093e-05/0.9354, allocations: 18.91 kB / 477.3 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.9357, allocations: 33.09 kB / 477.3 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.9357, allocations: 2.062 kB / 477.3 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.9358, allocations: 10.03 kB / 477.3 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.9358, allocations: 3.375 kB / 477.4 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9358, allocations: 1.734 kB / 477.4 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.9369, allocations: 0.5457 MB / 477.9 MB, free: 96.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.9371, allocations: 114.1 kB / 478 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.9371, allocations: 12.56 kB / 478 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.9376, allocations: 22.05 kB / 478 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.9377, allocations: 19.7 kB / 478.1 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.9377, allocations: 7.422 kB / 478.1 MB, free: 96.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004455/0.9382, allocations: 290.1 kB / 478.4 MB, free: 96.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9382, allocations: 0 / 478.4 MB, free: 96.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008158/0.939, allocations: 103.7 kB / 478.5 MB, free: 96.11 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001737/0.9408, allocations: 1.3 MB / 479.8 MB, free: 95.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.9421, allocations: 456.4 kB / 480.2 MB, free: 94.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9421, allocations: 0 / 480.2 MB, free: 94.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006132/0.9428, allocations: 287.7 kB / 480.5 MB, free: 94.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/0.9434, allocations: 75.02 kB / 480.6 MB, free: 94.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/0.949, allocations: 4.755 MB / 485.3 MB, free: 91.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.9494, allocations: 0.799 MB / 486.1 MB, free: 90.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.9497, allocations: 86.55 kB / 486.2 MB, free: 90.68 MB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.9497, allocations: 0 / 486.2 MB, free: 90.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.485/3.435, allocations: 7.071 MB / 493.3 MB, free: 89.27 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat