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/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.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.547/2.547, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.102e-05, allocations: 0 / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3496, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.5432, allocations: 95.35 MB / 453.5 MB, free: 15.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003873/0.5436, allocations: 99.88 kB / 453.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06007/0.6037, allocations: 12.03 MB / 465.6 MB, free: 3.188 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6038, allocations: 0 / 465.6 MB, free: 3.188 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.6038, allocations: 8 kB / 465.6 MB, free: 3.18 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.001176/0.605, allocations: 0.584 MB / 466.2 MB, free: 2.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.6051, allocations: 8.031 kB / 466.2 MB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.6052, allocations: 39.53 kB / 466.3 MB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.6056, allocations: 238.5 kB / 466.5 MB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.6057, allocations: 8 kB / 466.5 MB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.6057, allocations: 20 kB / 466.5 MB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004722/0.6062, allocations: 213.5 kB / 466.7 MB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006122/0.6068, allocations: 294.1 kB / 467 MB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.6069, allocations: 0 / 467 MB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.6069, allocations: 3.938 kB / 467 MB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.6069, allocations: 12 kB / 467 MB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.6088, allocations: 0.7892 MB / 467.8 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.6091, allocations: 82.48 kB / 467.9 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.6092, allocations: 36.91 kB / 467.9 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.6092, allocations: 7.984 kB / 468 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.6093, allocations: 30.56 kB / 468 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 3.046e-06/0.6093, allocations: 0 / 468 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004647/0.6098, allocations: 113.4 kB / 468.1 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.6098, allocations: 55.41 kB / 468.1 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.6101, allocations: 218.2 kB / 468.4 MB, free: 284 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.6102, allocations: 25.7 kB / 468.4 MB, free: 252 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3479/0.9581, allocations: 314.4 kB / 468.7 MB, free: 96.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.9583, allocations: 33.59 kB / 468.7 MB, free: 96.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.9583, allocations: 0 / 468.7 MB, free: 96.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.9585, allocations: 327 kB / 469 MB, free: 96.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.9587, allocations: 40.61 kB / 469.1 MB, free: 96.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.9591, allocations: 225.6 kB / 469.3 MB, free: 96.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.9595, allocations: 81.73 kB / 469.4 MB, free: 96.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.9596, allocations: 1.875 kB / 469.4 MB, free: 96.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00123/0.9608, allocations: 249.2 kB / 469.6 MB, free: 96.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.9609, allocations: 8.656 kB / 469.6 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/0.9611, allocations: 25.83 kB / 469.7 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.517e-05/0.9612, allocations: 12.22 kB / 469.7 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/0.9617, allocations: 60.78 kB / 469.7 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.701e-05/0.9618, allocations: 16.19 kB / 469.7 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.9622, allocations: 44.7 kB / 469.8 MB, free: 96.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.9623, allocations: 21.23 kB / 469.8 MB, free: 96.31 MB / 394.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.0001182/0.9624, allocations: 118.6 kB / 469.9 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004207/0.9628, allocations: 115.8 kB / 470 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.9629, allocations: 21.78 kB / 470.1 MB, free: 96.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006167/0.9635, allocations: 179.7 kB / 470.2 MB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.9635, allocations: 5.328 kB / 470.2 MB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.9636, allocations: 3.5 kB / 470.2 MB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.9636, allocations: 0 / 470.2 MB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.9641, allocations: 250.7 kB / 470.5 MB, free: 95.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.809e-05/0.9641, allocations: 17.89 kB / 470.5 MB, free: 95.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.9643, allocations: 17.17 kB / 470.5 MB, free: 95.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.9643, allocations: 0 / 470.5 MB, free: 95.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.9643, allocations: 6.156 kB / 470.5 MB, free: 95.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.9643, allocations: 1.375 kB / 470.5 MB, free: 95.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.9644, allocations: 0.6562 kB / 470.5 MB, free: 95.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.9648, allocations: 209.9 kB / 470.7 MB, free: 95.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.056e-05/0.9649, allocations: 95.23 kB / 470.8 MB, free: 95.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.965, allocations: 4.594 kB / 470.8 MB, free: 95.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.9652, allocations: 14.81 kB / 470.9 MB, free: 95.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.9653, allocations: 11.06 kB / 470.9 MB, free: 95.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.9653, allocations: 5.562 kB / 470.9 MB, free: 95.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002603/0.9656, allocations: 158.5 kB / 471 MB, free: 95.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9656, allocations: 0 / 471 MB, free: 95.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0012/0.9668, allocations: 150.7 kB / 471.2 MB, free: 95.6 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 (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.001542/0.9684, allocations: 0.9268 MB / 472.1 MB, free: 94.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008772/0.9693, allocations: 266.9 kB / 472.4 MB, free: 94.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9694, allocations: 0 / 472.4 MB, free: 94.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.9698, allocations: 174.1 kB / 472.5 MB, free: 94.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.9702, allocations: 14.61 kB / 472.5 MB, free: 94.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.9721, allocations: 458.7 kB / 473 MB, free: 94.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.9725, allocations: 0.7839 MB / 473.8 MB, free: 93.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.9727, allocations: 105.7 kB / 473.9 MB, free: 93.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9727, allocations: 5.188 kB / 473.9 MB, free: 93.72 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.184/4.157, allocations: 10.58 MB / 484.5 MB, free: 92.7 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_roundTube_res.mat does not exist to compare? outputFormat=mat