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.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.419/2.419, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.556e-05, allocations: 4 kB / 309.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.424, allocations: 54.85 MB / 364.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.599, allocations: 86.93 MB / 451.6 MB, free: 9.539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005463/0.5997, allocations: 95.94 kB / 451.7 MB, free: 9.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09219/0.6919, allocations: 9.677 MB / 461.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6919, allocations: 0 / 461.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.692, allocations: 4 kB / 461.3 MB, free: 15.74 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001481/0.6935, allocations: 0.5094 MB / 461.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.724e-05/0.6936, allocations: 13.28 kB / 461.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.6937, allocations: 50.55 kB / 461.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.701e-05/0.6938, allocations: 23.72 kB / 461.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.6943, allocations: 224 kB / 462.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.6944, allocations: 12 kB / 462.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.6944, allocations: 16 kB / 462.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.6951, allocations: 248.7 kB / 462.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.6951, allocations: 11.95 kB / 462.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.6952, allocations: 7.984 kB / 462.4 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/0.6952, allocations: 8 kB / 462.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.6957, allocations: 163.9 kB / 462.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.6974, allocations: 0.7849 MB / 463.4 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.6981, allocations: 204.4 kB / 463.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.6984, allocations: 73.78 kB / 463.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.6985, allocations: 0 / 463.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.6985, allocations: 38.56 kB / 463.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.415e-06/0.6985, allocations: 0 / 463.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006715/0.6992, allocations: 181.3 kB / 463.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/0.6993, allocations: 112.1 kB / 464 MB, free: 12.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.6997, allocations: 246.9 kB / 464.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.6998, allocations: 25.7 kB / 464.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.6999, allocations: 190.3 kB / 464.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.7, allocations: 51.34 kB / 464.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.7, allocations: 0 / 464.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.7002, allocations: 330.8 kB / 464.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.7004, allocations: 47.97 kB / 464.9 MB, free: 11.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.7007, allocations: 101 kB / 465 MB, free: 11.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.7009, allocations: 71.88 kB / 465 MB, free: 11.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.701, allocations: 4 kB / 465 MB, free: 11.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006092/0.7016, allocations: 185.4 kB / 465.2 MB, free: 11.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.7016, allocations: 9.688 kB / 465.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.721e-05/0.7017, allocations: 11.98 kB / 465.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.7017, allocations: 0 / 465.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.7021, allocations: 44.06 kB / 465.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.7022, allocations: 7.984 kB / 465.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.7026, allocations: 39.77 kB / 465.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.7026, allocations: 4 kB / 465.3 MB, free: 11.45 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: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000137/0.7028, allocations: 116.9 kB / 465.4 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.7029, allocations: 31.66 kB / 465.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.7035, allocations: 207.3 kB / 465.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.7036, allocations: 7.984 kB / 465.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.7036, allocations: 0 / 465.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.7036, allocations: 0 / 465.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.7042, allocations: 261.5 kB / 465.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-05/0.7043, allocations: 11.98 kB / 466 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.7046, allocations: 39.97 kB / 466 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.7046, allocations: 0 / 466 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.7047, allocations: 4 kB / 466 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.7047, allocations: 3.938 kB / 466 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.7047, allocations: 0 / 466 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/0.7054, allocations: 453.1 kB / 466.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.7055, allocations: 104.7 kB / 466.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.7056, allocations: 0 / 466.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.706, allocations: 27.97 kB / 466.6 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.7061, allocations: 15.98 kB / 466.6 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.7062, allocations: 8 kB / 466.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003497/0.7065, allocations: 211 kB / 466.8 MB, free: 9.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.825e-06/0.7065, allocations: 0 / 466.8 MB, free: 9.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006456/0.7072, allocations: 79.88 kB / 466.9 MB, free: 9.793 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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001395/0.7086, allocations: 1.18 MB / 468.1 MB, free: 8.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005953/0.7092, allocations: 225 kB / 468.3 MB, free: 8.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.7092, allocations: 192 / 468.3 MB, free: 8.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.7096, allocations: 161.2 kB / 468.4 MB, free: 8.164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.7102, allocations: 40.48 kB / 468.5 MB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.7118, allocations: 435.1 kB / 468.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.7123, allocations: 0.7558 MB / 469.7 MB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.7125, allocations: 71.34 kB / 469.7 MB, free: 6.793 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7125, allocations: 0 / 469.7 MB, free: 6.793 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.823/3.536, allocations: 4.869 MB / 474.6 MB, free: 1.938 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.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat