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_flatTube.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_flatTube,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006538/0.000654, allocations: 12 kB / 314.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3515, allocations: 54.87 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.5105, allocations: 89.45 MB / 458.8 MB, free: 1.156 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/0.5109, allocations: 99.92 kB / 458.9 MB, free: 1.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03502/0.546, allocations: 7.819 MB / 466.7 MB, free: 9.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.546, allocations: 4 kB / 466.7 MB, free: 9.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.5461, allocations: 4 kB / 466.8 MB, free: 9.199 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008176/0.5469, allocations: 482.5 kB / 467.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.547, allocations: 8.031 kB / 467.2 MB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.402e-05/0.547, allocations: 66.44 kB / 467.3 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.5471, allocations: 19.72 kB / 467.3 MB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.5474, allocations: 211.2 kB / 467.5 MB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.5474, allocations: 23.94 kB / 467.5 MB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.5475, allocations: 16 kB / 467.6 MB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.5481, allocations: 206.7 kB / 467.8 MB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5481, allocations: 0 / 467.8 MB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.5481, allocations: 4 kB / 467.8 MB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.5482, allocations: 11.94 kB / 467.8 MB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.5487, allocations: 160.2 kB / 467.9 MB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.5499, allocations: 0.5767 MB / 468.5 MB, free: 7.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.5502, allocations: 70.48 kB / 468.6 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.5503, allocations: 0 / 468.6 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.5503, allocations: 34.56 kB / 468.6 MB, free: 7.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.714e-06/0.5503, allocations: 0 / 468.6 MB, free: 7.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000833/0.5512, allocations: 303.7 kB / 468.9 MB, free: 6.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.5512, allocations: 55.36 kB / 469 MB, free: 6.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.5516, allocations: 229.8 kB / 469.2 MB, free: 6.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.5516, allocations: 25.7 kB / 469.2 MB, free: 6.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.5518, allocations: 222.1 kB / 469.4 MB, free: 6.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.5518, allocations: 27.64 kB / 469.5 MB, free: 6.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.5519, allocations: 4 kB / 469.5 MB, free: 6.238 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.552, allocations: 314.8 kB / 469.8 MB, free: 5.922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.5522, allocations: 39.97 kB / 469.8 MB, free: 5.883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.5525, allocations: 140.7 kB / 469.9 MB, free: 5.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.5528, allocations: 59.91 kB / 470 MB, free: 5.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.5528, allocations: 4 kB / 470 MB, free: 5.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006589/0.5535, allocations: 189.3 kB / 470.2 MB, free: 5.449 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.5535, allocations: 4 kB / 470.2 MB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.674e-05/0.5536, allocations: 15.98 kB / 470.2 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.5536, allocations: 4 kB / 470.2 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.5538, allocations: 44.31 kB / 470.3 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.5539, allocations: 4 kB / 470.3 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.5541, allocations: 39.58 kB / 470.3 MB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.5542, allocations: 19.94 kB / 470.3 MB, free: 5.32 MB / 394.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001537/0.5543, allocations: 121.8 kB / 470.4 MB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.5544, allocations: 15.81 kB / 470.5 MB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000647/0.5551, allocations: 154.7 kB / 470.6 MB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.5551, allocations: 8 kB / 470.6 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.5551, allocations: 4.141 kB / 470.6 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5551, allocations: 7.938 kB / 470.6 MB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.5555, allocations: 225.5 kB / 470.8 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.117e-05/0.5555, allocations: 8.141 kB / 470.9 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.875e-05/0.5556, allocations: 11.98 kB / 470.9 MB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.5556, allocations: 3.984 kB / 470.9 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5557, allocations: 0 / 470.9 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5557, allocations: 0 / 470.9 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5557, allocations: 4 kB / 470.9 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.5562, allocations: 215.3 kB / 471.1 MB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-05/0.5563, allocations: 92.83 kB / 471.2 MB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.5564, allocations: 0 / 471.2 MB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.5566, allocations: 15.98 kB / 471.2 MB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.5567, allocations: 7.984 kB / 471.2 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.5567, allocations: 0 / 471.2 MB, free: 4.348 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002338/0.557, allocations: 178 kB / 471.4 MB, free: 4.176 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.557, allocations: 0 / 471.4 MB, free: 4.176 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006402/0.5576, allocations: 87.88 kB / 471.5 MB, free: 4.09 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00127/0.5589, allocations: 0.8599 MB / 472.3 MB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007406/0.5597, allocations: 188 kB / 472.5 MB, free: 3.008 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5597, allocations: 0 / 472.5 MB, free: 3.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.5601, allocations: 103.3 kB / 472.6 MB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.5604, allocations: 21.83 kB / 472.6 MB, free: 2.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3025/0.8629, allocations: 3.369 MB / 476 MB, free: 96.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.8632, allocations: 0.7368 MB / 476.7 MB, free: 95.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.8633, allocations: 59.14 kB / 476.8 MB, free: 95.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8633, allocations: 0 / 476.8 MB, free: 95.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.742/3.606, allocations: 5.443 MB / 482.2 MB, free: 95.63 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.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat