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.HeatExchanger.kc_roundTube.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.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.398/2.398, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.062e-05, allocations: 0 / 309.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3955, allocations: 54.85 MB / 364.6 MB, free: 5.453 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1745/0.5701, allocations: 96.03 MB / 460.7 MB, free: 340 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/0.5706, allocations: 99.92 kB / 460.8 MB, free: 240 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06204/0.6326, allocations: 12.32 MB / 473.1 MB, free: 3.898 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6327, allocations: 0 / 473.1 MB, free: 3.898 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.6327, allocations: 8 kB / 473.1 MB, free: 3.891 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001376/0.6341, allocations: 0.584 MB / 473.7 MB, free: 3.262 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/0.6342, allocations: 11.97 kB / 473.7 MB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.6344, allocations: 70.53 kB / 473.8 MB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.6345, allocations: 39.53 kB / 473.8 MB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.635, allocations: 234.6 kB / 474 MB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.6351, allocations: 28.78 kB / 474 MB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.255e-05/0.6352, allocations: 32 kB / 474.1 MB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.6363, allocations: 347.6 kB / 474.4 MB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.6364, allocations: 0 / 474.4 MB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.6364, allocations: 19.94 kB / 474.4 MB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.6365, allocations: 15.97 kB / 474.5 MB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007753/0.6373, allocations: 227.1 kB / 474.7 MB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.6404, allocations: 0.8991 MB / 475.6 MB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.6408, allocations: 74.56 kB / 475.6 MB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.641, allocations: 28.92 kB / 475.7 MB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.668e-05/0.6411, allocations: 7.984 kB / 475.7 MB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.6412, allocations: 38.56 kB / 475.7 MB, free: 1.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 4.339e-06/0.6412, allocations: 0 / 475.7 MB, free: 1.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006795/0.6419, allocations: 133.2 kB / 475.9 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.642, allocations: 51.41 kB / 475.9 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/0.6428, allocations: 351 kB / 476.2 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.6429, allocations: 25.7 kB / 476.3 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.6432, allocations: 289.6 kB / 476.6 MB, free: 216 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.6433, allocations: 35.53 kB / 476.6 MB, free: 180 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.6433, allocations: 4 kB / 476.6 MB, free: 176 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.6435, allocations: 330.8 kB / 476.9 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.6438, allocations: 44.03 kB / 477 MB, free: 15.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.6443, allocations: 234.5 kB / 477.2 MB, free: 15.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.6447, allocations: 87.84 kB / 477.3 MB, free: 15.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.6447, allocations: 4 kB / 477.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001058/0.6458, allocations: 288.9 kB / 477.6 MB, free: 15.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.6459, allocations: 8.906 kB / 477.6 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.646, allocations: 27.98 kB / 477.6 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-05/0.646, allocations: 11.94 kB / 477.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.6465, allocations: 59.91 kB / 477.7 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.1e-05/0.6466, allocations: 23.83 kB / 477.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/0.6472, allocations: 63.27 kB / 477.7 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.449e-05/0.6473, allocations: 24 kB / 477.8 MB, free: 14.88 MB / 410.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 () * 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.0001594/0.6474, allocations: 120.9 kB / 477.9 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.6476, allocations: 31.62 kB / 477.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009485/0.6485, allocations: 196.7 kB / 478.1 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.6486, allocations: 4 kB / 478.1 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6486, allocations: 0 / 478.1 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.6486, allocations: 3.953 kB / 478.1 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.6493, allocations: 273.5 kB / 478.4 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.341e-05/0.6494, allocations: 19.98 kB / 478.4 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.6496, allocations: 12 kB / 478.4 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.6496, allocations: 0 / 478.4 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.6496, allocations: 7.984 kB / 478.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6496, allocations: 0 / 478.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.6497, allocations: 4 kB / 478.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.6503, allocations: 223 kB / 478.6 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.6505, allocations: 120.6 kB / 478.8 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.525e-05/0.6506, allocations: 0 / 478.8 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.651, allocations: 8 kB / 478.8 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.6511, allocations: 11.98 kB / 478.8 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.6511, allocations: 4 kB / 478.8 MB, free: 13.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006391/0.6518, allocations: 265.2 kB / 479 MB, free: 13.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6518, allocations: 3.938 kB / 479.1 MB, free: 13.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001491/0.6533, allocations: 139.9 kB / 479.2 MB, free: 13.36 MB / 410.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 (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.002129/0.6554, allocations: 0.936 MB / 480.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.6567, allocations: 280.3 kB / 480.4 MB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6567, allocations: 8 kB / 480.4 MB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.6573, allocations: 166.7 kB / 480.6 MB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.658, allocations: 49.42 kB / 480.6 MB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.6605, allocations: 483.3 kB / 481.1 MB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.6611, allocations: 0.7911 MB / 481.9 MB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.6614, allocations: 107.4 kB / 482 MB, free: 10.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6614, allocations: 0 / 482 MB, free: 10.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.363/4.025, allocations: 11.22 MB / 493.2 MB, free: 15.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat