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/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.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.622/2.622, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.557e-05, allocations: 8 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4095, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.5752, allocations: 86.9 MB / 445.1 MB, free: 7.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003907/0.5756, allocations: 91.92 kB / 445.1 MB, free: 7.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06246/0.6381, allocations: 13.22 MB / 458.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6381, allocations: 0 / 458.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.6382, allocations: 4 kB / 458.4 MB, free: 10.4 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.001246/0.6394, allocations: 0.5665 MB / 458.9 MB, free: 9.789 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.791e-05/0.6395, allocations: 8.031 kB / 458.9 MB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.6396, allocations: 31.62 kB / 459 MB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.6401, allocations: 262.5 kB / 459.2 MB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.6401, allocations: 8 kB / 459.2 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.6402, allocations: 16 kB / 459.3 MB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006048/0.6408, allocations: 229.2 kB / 459.5 MB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/0.6416, allocations: 365.6 kB / 459.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.6416, allocations: 0 / 459.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.6417, allocations: 0 / 459.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.915e-05/0.6418, allocations: 20.55 kB / 459.9 MB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.6439, allocations: 1.026 MB / 460.9 MB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/0.6445, allocations: 195.8 kB / 461.1 MB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.6447, allocations: 82.56 kB / 461.2 MB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.635e-05/0.6448, allocations: 7.984 kB / 461.2 MB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.6448, allocations: 34.56 kB / 461.2 MB, free: 7.371 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.226e-06/0.6448, allocations: 4 kB / 461.2 MB, free: 7.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006748/0.6455, allocations: 193.3 kB / 461.4 MB, free: 7.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.6456, allocations: 102.8 kB / 461.5 MB, free: 7.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.6459, allocations: 215.9 kB / 461.7 MB, free: 6.828 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.646, allocations: 33.7 kB / 461.7 MB, free: 6.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.6462, allocations: 266 kB / 462 MB, free: 6.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.6462, allocations: 43.36 kB / 462 MB, free: 6.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.6463, allocations: 0 / 462 MB, free: 6.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6464, allocations: 322.8 kB / 462.3 MB, free: 6.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.6467, allocations: 88.16 kB / 462.4 MB, free: 6.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.647, allocations: 199.5 kB / 462.6 MB, free: 5.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.6473, allocations: 115.8 kB / 462.7 MB, free: 5.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/0.6474, allocations: 0 / 462.7 MB, free: 5.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008853/0.6483, allocations: 297.1 kB / 463 MB, free: 5.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.6483, allocations: 5.406 kB / 463 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-05/0.6484, allocations: 28.5 kB / 463.1 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.6484, allocations: 4 kB / 463.1 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.6489, allocations: 55.91 kB / 463.1 MB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.649, allocations: 11.92 kB / 463.1 MB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.6494, allocations: 43.72 kB / 463.2 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.6495, allocations: 19.98 kB / 463.2 MB, free: 5.246 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 () * 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.000153/0.6497, allocations: 118.8 kB / 463.3 MB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006358/0.6503, allocations: 197.2 kB / 463.5 MB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.6504, allocations: 15.81 kB / 463.5 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007958/0.6512, allocations: 259.2 kB / 463.8 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.6513, allocations: 7.938 kB / 463.8 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6513, allocations: 4 kB / 463.8 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6513, allocations: 0 / 463.8 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.652, allocations: 266.1 kB / 464 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-05/0.6521, allocations: 19.98 kB / 464.1 MB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.6524, allocations: 27.97 kB / 464.1 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.6524, allocations: 4 kB / 464.1 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.6525, allocations: 15.92 kB / 464.1 MB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.6525, allocations: 0 / 464.1 MB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6525, allocations: 0 / 464.1 MB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/0.6532, allocations: 473 kB / 464.6 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.6534, allocations: 100.8 kB / 464.7 MB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.6534, allocations: 3.953 kB / 464.7 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.6539, allocations: 19.98 kB / 464.7 MB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.654, allocations: 19.97 kB / 464.7 MB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.654, allocations: 4 kB / 464.7 MB, free: 3.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002326/0.6543, allocations: 168.5 kB / 464.9 MB, free: 3.465 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6543, allocations: 0 / 464.9 MB, free: 3.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007946/0.6551, allocations: 107.7 kB / 465 MB, free: 3.359 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 (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.001458/0.6566, allocations: 1.21 MB / 466.2 MB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007566/0.6573, allocations: 358.2 kB / 466.5 MB, free: 1.727 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6574, allocations: 0 / 466.5 MB, free: 1.727 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.6577, allocations: 246.1 kB / 466.8 MB, free: 1.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.6583, allocations: 25.47 kB / 466.8 MB, free: 1.426 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.6603, allocations: 0.5193 MB / 467.3 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.6609, allocations: 0.8021 MB / 468.1 MB, free: 32 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2922/0.953, allocations: 75.22 kB / 468.2 MB, free: 99.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.9531, allocations: 0 / 468.2 MB, free: 99.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.846/3.8, allocations: 5.945 MB / 474.2 MB, free: 99.58 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