Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.922/1.922, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006441/0.0006442, allocations: 16 kB / 282.7 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4048, allocations: 48.69 MB / 331.4 MB, free: 6.551 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.5847, allocations: 89.53 MB / 420.9 MB, free: 4.852 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003856/0.5852, allocations: 103.9 kB / 421 MB, free: 4.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06/0.6452, allocations: 12.22 MB / 433.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6453, allocations: 0 / 433.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.6453, allocations: 4 kB / 433.2 MB, free: 8.492 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001217/0.6465, allocations: 0.6081 MB / 433.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6466, allocations: 12.03 kB / 433.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.6467, allocations: 74.53 kB / 433.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.037e-05/0.6468, allocations: 39.53 kB / 434 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.6472, allocations: 242.2 kB / 434.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.6472, allocations: 25 kB / 434.2 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.6473, allocations: 32 kB / 434.3 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009273/0.6482, allocations: 362.5 kB / 434.6 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.6483, allocations: 0 / 434.6 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.6483, allocations: 27.88 kB / 434.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.6484, allocations: 8 kB / 434.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007278/0.6491, allocations: 271.9 kB / 434.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.651, allocations: 0.8961 MB / 435.8 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.6515, allocations: 102.5 kB / 435.9 MB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.6515, allocations: 0 / 435.9 MB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.6516, allocations: 38.55 kB / 435.9 MB, free: 5.602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.6516, allocations: 4 kB / 436 MB, free: 5.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001092/0.6527, allocations: 0.5097 MB / 436.5 MB, free: 5.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.6527, allocations: 51.41 kB / 436.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005504/0.6533, allocations: 353 kB / 436.9 MB, free: 4.598 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.6533, allocations: 25.7 kB / 436.9 MB, free: 4.566 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.6536, allocations: 289.5 kB / 437.2 MB, free: 4.277 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.6536, allocations: 35.55 kB / 437.2 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.6537, allocations: 4 kB / 437.2 MB, free: 4.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6538, allocations: 326.8 kB / 437.5 MB, free: 3.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.6541, allocations: 64.23 kB / 437.6 MB, free: 3.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.6546, allocations: 258.1 kB / 437.8 MB, free: 3.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.655, allocations: 107.8 kB / 437.9 MB, free: 3.395 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.655, allocations: 3.953 kB / 437.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001038/0.656, allocations: 321.5 kB / 438.3 MB, free: 3.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.6561, allocations: 8 kB / 438.3 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.592e-05/0.6562, allocations: 27.98 kB / 438.3 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/0.6562, allocations: 8 kB / 438.3 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.6565, allocations: 67.84 kB / 438.4 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.6566, allocations: 11.94 kB / 438.4 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.657, allocations: 71.48 kB / 438.4 MB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.657, allocations: 20 kB / 438.5 MB, free: 2.859 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002189/0.6573, allocations: 153.6 kB / 438.6 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.6574, allocations: 35.58 kB / 438.7 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009272/0.6583, allocations: 224.6 kB / 438.9 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.6583, allocations: 4 kB / 438.9 MB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6584, allocations: 0 / 438.9 MB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6584, allocations: 0 / 438.9 MB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.6589, allocations: 277.5 kB / 439.1 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.06e-05/0.659, allocations: 19.98 kB / 439.2 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.6591, allocations: 16.14 kB / 439.2 MB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.6591, allocations: 4 kB / 439.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.6591, allocations: 7.984 kB / 439.2 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.6591, allocations: 4 kB / 439.2 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6592, allocations: 0 / 439.2 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007311/0.6599, allocations: 259 kB / 439.5 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.6601, allocations: 112.6 kB / 439.6 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.6602, allocations: 7.953 kB / 439.6 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.6604, allocations: 11.98 kB / 439.6 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.6605, allocations: 4 kB / 439.6 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.6605, allocations: 4 kB / 439.6 MB, free: 1.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004776/0.661, allocations: 271.1 kB / 439.9 MB, free: 1.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.661, allocations: 4 kB / 439.9 MB, free: 1.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001017/0.6621, allocations: 143.9 kB / 440 MB, free: 1.23 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001915/0.664, allocations: 0.956 MB / 441 MB, free: 260 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.6652, allocations: 324.1 kB / 441.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6652, allocations: 3.938 kB / 441.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005248/0.6658, allocations: 190.8 kB / 441.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.6662, allocations: 29.55 kB / 441.5 MB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006686/0.6729, allocations: 6.424 MB / 447.9 MB, free: 9.055 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.6734, allocations: 0.7872 MB / 448.7 MB, free: 8.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.6736, allocations: 107.4 kB / 448.8 MB, free: 8.133 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6737, allocations: 0 / 448.8 MB, free: 8.133 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.29/3.964, allocations: 11.35 MB / 460.2 MB, free: 12.78 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat