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_KC.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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.397e-05/2.409e-05, allocations: 4 kB / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3617, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.5146, allocations: 84.21 MB / 442.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/0.515, allocations: 103.8 kB / 442.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03299/0.548, allocations: 6.61 MB / 449.1 MB, free: 3.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5481, allocations: 0 / 449.1 MB, free: 3.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.5481, allocations: 4 kB / 449.1 MB, free: 3.766 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007107/0.5488, allocations: 416.5 kB / 449.5 MB, free: 3.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5489, allocations: 16.03 kB / 449.5 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.549, allocations: 15.77 kB / 449.5 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.5493, allocations: 200.2 kB / 449.7 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.5493, allocations: 4 kB / 449.7 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.5494, allocations: 11.94 kB / 449.7 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000328/0.5497, allocations: 119.9 kB / 449.8 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.5501, allocations: 141.5 kB / 450 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.5501, allocations: 7.984 kB / 450 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.5501, allocations: 0 / 450 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.5502, allocations: 15.94 kB / 450 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.5514, allocations: 448.8 kB / 450.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.5519, allocations: 142.5 kB / 450.6 MB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.552, allocations: 40.83 kB / 450.6 MB, free: 2.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.5521, allocations: 4 kB / 450.6 MB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5521, allocations: 38.56 kB / 450.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.655e-06/0.5521, allocations: 0 / 450.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004028/0.5526, allocations: 113.7 kB / 450.8 MB, free: 1.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.5526, allocations: 55.39 kB / 450.8 MB, free: 1.848 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.5528, allocations: 125.3 kB / 450.9 MB, free: 1.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.5528, allocations: 29.7 kB / 451 MB, free: 1.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.5529, allocations: 186.1 kB / 451.2 MB, free: 1.496 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.553, allocations: 31.55 kB / 451.2 MB, free: 1.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.553, allocations: 0 / 451.2 MB, free: 1.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5532, allocations: 318.8 kB / 451.5 MB, free: 1.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5533, allocations: 31.97 kB / 451.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.5535, allocations: 62.48 kB / 451.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.5536, allocations: 39.95 kB / 451.6 MB, free: 1.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5536, allocations: 4 kB / 451.6 MB, free: 1 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003433/0.554, allocations: 121.6 kB / 451.7 MB, free: 0.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.554, allocations: 8 kB / 451.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.554, allocations: 0 / 451.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5541, allocations: 3.938 kB / 451.8 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.5546, allocations: 51.89 kB / 451.8 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000978/0.5556, allocations: 1.231 MB / 453 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.5558, allocations: 4 kB / 453 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.5558, allocations: 11.92 kB / 453.1 MB, free: 15.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.556, allocations: 116 kB / 453.2 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003209/0.5563, allocations: 121.5 kB / 453.3 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.5564, allocations: 11.84 kB / 453.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004233/0.5568, allocations: 142.2 kB / 453.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5568, allocations: 0 / 453.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5568, allocations: 0 / 453.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5568, allocations: 3.984 kB / 453.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.5572, allocations: 194.1 kB / 453.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5572, allocations: 0 / 453.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.5577, allocations: 51.91 kB / 453.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5577, allocations: 0 / 453.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.855e-05/0.5578, allocations: 4 kB / 453.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009483/0.5587, allocations: 1.215 MB / 454.9 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.016e-06/0.5588, allocations: 8.109 kB / 454.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.5591, allocations: 211.4 kB / 455.1 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.5592, allocations: 92.84 kB / 455.2 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.5593, allocations: 7.953 kB / 455.2 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.5595, allocations: 4 kB / 455.2 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.5595, allocations: 11.98 kB / 455.2 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.5596, allocations: 7.938 kB / 455.2 MB, free: 13.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.5597, allocations: 107.3 kB / 455.3 MB, free: 13.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5597, allocations: 0 / 455.3 MB, free: 13.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004531/0.5602, allocations: 43.92 kB / 455.4 MB, free: 13.06 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008907/0.5611, allocations: 0.7971 MB / 456.2 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005689/0.5617, allocations: 108 kB / 456.3 MB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5617, allocations: 0 / 456.3 MB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.562, allocations: 63.95 kB / 456.4 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.5624, allocations: 19.92 kB / 456.4 MB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.5635, allocations: 279.8 kB / 456.6 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.5639, allocations: 0.7314 MB / 457.4 MB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.564, allocations: 35.42 kB / 457.4 MB, free: 10.93 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.564, allocations: 0 / 457.4 MB, free: 10.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.011/3.575, allocations: 3.842 MB / 461.3 MB, free: 7.094 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_KC_res.mat does not exist to compare? outputFormat=mat