Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01134/0.01135, allocations: 107.4 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001253/0.001252, allocations: 184.6 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.196/2.196, allocations: 194.6 MB / 211.3 MB, free: 11.14 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3049/0.3049, allocations: 40.03 MB / 296.5 MB, free: 6.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007036/0.0007043, allocations: 16 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1289, allocations: 54.88 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003965/0.1329, allocations: 1.749 MB / 417.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.1356, allocations: 0.9836 MB / 418.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1358, allocations: 0 / 418.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.1362, allocations: 79.56 kB / 418.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.1367, allocations: 83.7 kB / 418.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.1372, allocations: 91.81 kB / 419 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.1375, allocations: 139.6 kB / 419.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.1376, allocations: 12.41 kB / 419.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1378, allocations: 67.64 kB / 419.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.138, allocations: 79.61 kB / 419.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.1381, allocations: 8 kB / 419.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008257/0.1389, allocations: 267.6 kB / 419.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.139, allocations: 23.89 kB / 419.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.1391, allocations: 53.58 kB / 419.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.1396, allocations: 175.6 kB / 419.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1396, allocations: 4 kB / 419.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1396, allocations: 0 / 419.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1396, allocations: 0 / 419.8 MB, free: 14.72 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008857/0.1405, allocations: 478.9 kB / 420.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.1406, allocations: 8.031 kB / 420.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.584e-05/0.1407, allocations: 58.48 kB / 420.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/0.1408, allocations: 23.72 kB / 420.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1412, allocations: 210.7 kB / 420.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.1412, allocations: 16.44 kB / 420.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.1413, allocations: 23.89 kB / 420.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/0.1421, allocations: 239.2 kB / 420.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1422, allocations: 0 / 420.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.1422, allocations: 11.98 kB / 420.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.1422, allocations: 8 kB / 420.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.1433, allocations: 261.5 kB / 421.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.1452, allocations: 0.6194 MB / 421.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008623/0.1461, allocations: 118.6 kB / 421.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.1462, allocations: 7.984 kB / 421.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.1463, allocations: 34.81 kB / 421.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 4.969e-06/0.1463, allocations: 3.938 kB / 421.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001238/0.1475, allocations: 177.4 kB / 422.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.1476, allocations: 59.34 kB / 422.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.1482, allocations: 262.9 kB / 422.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.1482, allocations: 29.7 kB / 422.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.1485, allocations: 175.3 kB / 422.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.1485, allocations: 31.55 kB / 422.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.1486, allocations: 4 kB / 422.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.1488, allocations: 330.8 kB / 423 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.1492, allocations: 51.97 kB / 423 MB, free: 11.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.1497, allocations: 148.8 kB / 423.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.1501, allocations: 75.92 kB / 423.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.1502, allocations: 0 / 423.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001141/0.1513, allocations: 257 kB / 423.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.1514, allocations: 8 kB / 423.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1514, allocations: 0 / 423.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.1514, allocations: 8 kB / 423.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.1523, allocations: 83.89 kB / 423.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.1538, allocations: 1.219 MB / 424.8 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.1543, allocations: 35.59 kB / 424.8 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.1544, allocations: 19.98 kB / 424.9 MB, free: 9.367 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0002374/0.1546, allocations: 133.9 kB / 425 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.1547, allocations: 24.09 kB / 425 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.1557, allocations: 183.2 kB / 425.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.1558, allocations: 4 kB / 425.2 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1558, allocations: 0 / 425.2 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.1558, allocations: 3.953 kB / 425.2 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.1571, allocations: 456 kB / 425.7 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1572, allocations: 3.938 kB / 425.7 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.1578, allocations: 59.95 kB / 425.7 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1579, allocations: 4.062 kB / 425.7 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.1579, allocations: 11.95 kB / 425.7 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.1591, allocations: 1.207 MB / 426.9 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1591, allocations: 192 / 426.9 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.16, allocations: 284.3 kB / 427.2 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.1602, allocations: 100.8 kB / 427.3 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-05/0.1603, allocations: 4 kB / 427.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.1606, allocations: 7.953 kB / 427.3 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.1608, allocations: 11.98 kB / 427.3 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.1608, allocations: 8 kB / 427.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003625/0.1612, allocations: 186 kB / 427.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1612, allocations: 4 kB / 427.5 MB, free: 6.527 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008332/0.162, allocations: 67.98 kB / 427.6 MB, free: 6.461 MB / 362.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 (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.001676/0.1637, allocations: 0.9992 MB / 428.6 MB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.1651, allocations: 179.7 kB / 428.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.1651, allocations: 0 / 428.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007642/0.1659, allocations: 92.88 kB / 428.9 MB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.1664, allocations: 28.88 kB / 428.9 MB, free: 5.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/0.1718, allocations: 3.487 MB / 432.4 MB, free: 1.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.1724, allocations: 0.744 MB / 433.1 MB, free: 0.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.1726, allocations: 17.94 kB / 433.1 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.1728, allocations: 63.36 kB / 433.2 MB, free: 0.668 MB / 362.7 MB Notification: Performance of SimCode: time 4.228e-06/0.1728, allocations: 4 kB / 433.2 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06902/0.2418, allocations: 5.47 MB / 438.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/0.2422, allocations: 261.1 kB / 438.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.015, allocations: 0 / 438.9 MB, free: 10.93 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat