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.322/2.322, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000602/0.0006021, allocations: 8 kB / 314.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.345, allocations: 54.86 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.5054, allocations: 87.01 MB / 456.4 MB, free: 3.594 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004043/0.5059, allocations: 103.9 kB / 456.5 MB, free: 3.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04559/0.5515, allocations: 9.671 MB / 466.2 MB, free: 9.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.5515, allocations: 0 / 466.2 MB, free: 9.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.5516, allocations: 4 kB / 466.2 MB, free: 9.746 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.001271/0.5529, allocations: 0.5257 MB / 466.7 MB, free: 9.172 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.5529, allocations: 12.02 kB / 466.7 MB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.65e-05/0.553, allocations: 50.55 kB / 466.8 MB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.5531, allocations: 27.66 kB / 466.8 MB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.5535, allocations: 222.7 kB / 467 MB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.5535, allocations: 12 kB / 467 MB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.5536, allocations: 12 kB / 467 MB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/0.5545, allocations: 292.7 kB / 467.3 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.5545, allocations: 0 / 467.3 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.5546, allocations: 15.94 kB / 467.3 MB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/0.5546, allocations: 8 kB / 467.3 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.5557, allocations: 251.7 kB / 467.6 MB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.5574, allocations: 0.781 MB / 468.4 MB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009679/0.5584, allocations: 243.7 kB / 468.6 MB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.5585, allocations: 4.031 kB / 468.6 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.5585, allocations: 38.56 kB / 468.6 MB, free: 7.062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.286e-06/0.5586, allocations: 0 / 468.6 MB, free: 7.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001895/0.5605, allocations: 0.5748 MB / 469.2 MB, free: 6.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.5606, allocations: 110.8 kB / 469.3 MB, free: 6.293 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.5611, allocations: 245.8 kB / 469.6 MB, free: 6.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.5611, allocations: 33.75 kB / 469.6 MB, free: 6.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.5613, allocations: 190.3 kB / 469.8 MB, free: 5.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.5614, allocations: 47.36 kB / 469.8 MB, free: 5.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.5614, allocations: 0 / 469.8 MB, free: 5.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5615, allocations: 322.8 kB / 470.1 MB, free: 5.445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.562, allocations: 95.92 kB / 470.2 MB, free: 5.352 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.5625, allocations: 137.1 kB / 470.4 MB, free: 5.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.5631, allocations: 111.8 kB / 470.5 MB, free: 5.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5631, allocations: 0 / 470.5 MB, free: 5.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001204/0.5643, allocations: 277.2 kB / 470.7 MB, free: 4.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.5644, allocations: 4.188 kB / 470.8 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.527e-05/0.5644, allocations: 12 kB / 470.8 MB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5644, allocations: 3.938 kB / 470.8 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.5648, allocations: 48.11 kB / 470.8 MB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.5649, allocations: 7.938 kB / 470.8 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.5653, allocations: 43.67 kB / 470.9 MB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.5653, allocations: 7.984 kB / 470.9 MB, free: 4.688 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 () * Number of clocked 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.0002538/0.5656, allocations: 149.8 kB / 471 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.5657, allocations: 23.72 kB / 471 MB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.5666, allocations: 231.1 kB / 471.3 MB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.5666, allocations: 8 kB / 471.3 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5666, allocations: 0 / 471.3 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.5666, allocations: 3.984 kB / 471.3 MB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.5673, allocations: 273.3 kB / 471.5 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.414e-05/0.5673, allocations: 12 kB / 471.6 MB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.5677, allocations: 31.97 kB / 471.6 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.5677, allocations: 0 / 471.6 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.5677, allocations: 7.984 kB / 471.6 MB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5678, allocations: 4 kB / 471.6 MB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.5678, allocations: 4 kB / 471.6 MB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.569, allocations: 0.5166 MB / 472.1 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.5692, allocations: 96.83 kB / 472.2 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.5693, allocations: 8 kB / 472.2 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.5697, allocations: 23.97 kB / 472.2 MB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.554e-05/0.5698, allocations: 11.98 kB / 472.3 MB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.5698, allocations: 4 kB / 472.3 MB, free: 3.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003412/0.5702, allocations: 214 kB / 472.5 MB, free: 2.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5702, allocations: 3.938 kB / 472.5 MB, free: 2.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006841/0.5709, allocations: 75.94 kB / 472.5 MB, free: 2.895 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): 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.00203/0.5729, allocations: 1.272 MB / 473.8 MB, free: 1.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.5742, allocations: 304.9 kB / 474.1 MB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.5742, allocations: 320 / 474.1 MB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006099/0.5748, allocations: 200.9 kB / 474.3 MB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.5754, allocations: 44.55 kB / 474.4 MB, free: 1.016 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2959/0.8714, allocations: 2.379 MB / 476.7 MB, free: 96.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.8717, allocations: 0.7624 MB / 477.5 MB, free: 96.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.8721, allocations: 69.19 kB / 477.6 MB, free: 96.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.8722, allocations: 1.438 kB / 477.6 MB, free: 96.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.766/3.638, allocations: 4.943 MB / 482.5 MB, free: 96.02 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