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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.926e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3507, allocations: 54.84 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.5185, allocations: 92.99 MB / 451.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/0.519, allocations: 95.94 kB / 451.2 MB, free: 1.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0532/0.5722, allocations: 11.02 MB / 462.2 MB, free: 6.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5722, allocations: 0 / 462.2 MB, free: 6.586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.5723, allocations: 4 kB / 462.2 MB, free: 6.582 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.0009191/0.5732, allocations: 0.5723 MB / 462.8 MB, free: 5.961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.5732, allocations: 8.031 kB / 462.8 MB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.5734, allocations: 43.47 kB / 462.9 MB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.5737, allocations: 246.5 kB / 463.1 MB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.5738, allocations: 15.98 kB / 463.1 MB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.5738, allocations: 20 kB / 463.1 MB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005225/0.5744, allocations: 225.5 kB / 463.4 MB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007634/0.5751, allocations: 0.498 MB / 463.9 MB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.5752, allocations: 7.938 kB / 463.9 MB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.5752, allocations: 7.953 kB / 463.9 MB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.5753, allocations: 12 kB / 463.9 MB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/0.5785, allocations: 3.938 MB / 467.8 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.579, allocations: 86.55 kB / 467.9 MB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.5791, allocations: 24.98 kB / 467.9 MB, free: 484 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.5791, allocations: 160 / 467.9 MB, free: 484 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.5792, allocations: 38.53 kB / 468 MB, free: 436 kB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.073e-06/0.5792, allocations: 0 / 468 MB, free: 436 kB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003646/0.5796, allocations: 101.2 kB / 468.1 MB, free: 328 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.5796, allocations: 51.41 kB / 468.1 MB, free: 264 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.5799, allocations: 226.2 kB / 468.3 MB, free: 36 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.58, allocations: 25.7 kB / 468.4 MB, free: 4 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3013/0.8813, allocations: 325 kB / 468.7 MB, free: 98.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.149e-05/0.8814, allocations: 24.02 kB / 468.7 MB, free: 98.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.8814, allocations: 0.6875 kB / 468.7 MB, free: 98.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.8816, allocations: 327.2 kB / 469 MB, free: 97.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.8818, allocations: 35.52 kB / 469.1 MB, free: 97.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.8821, allocations: 237.8 kB / 469.3 MB, free: 97.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.8824, allocations: 77.45 kB / 469.4 MB, free: 97.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.8825, allocations: 5.531 kB / 469.4 MB, free: 97.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001001/0.8835, allocations: 247.6 kB / 469.6 MB, free: 97.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.8836, allocations: 7.969 kB / 469.6 MB, free: 97.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.8836, allocations: 12.09 kB / 469.6 MB, free: 97.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.712e-05/0.8837, allocations: 10.44 kB / 469.6 MB, free: 97.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.8848, allocations: 110.6 kB / 469.8 MB, free: 97.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.8858, allocations: 1.226 MB / 471 MB, free: 96.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.8865, allocations: 40.47 kB / 471 MB, free: 96.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.651e-05/0.8866, allocations: 21.09 kB / 471 MB, free: 96.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001542/0.8868, allocations: 123.2 kB / 471.2 MB, free: 96.29 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004065/0.8872, allocations: 96.97 kB / 471.3 MB, free: 96.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.8873, allocations: 26.06 kB / 471.3 MB, free: 96.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.888, allocations: 139.9 kB / 471.4 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.888, allocations: 0.75 kB / 471.4 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.888, allocations: 1.375 kB / 471.4 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8881, allocations: 0 / 471.4 MB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000618/0.8887, allocations: 245 kB / 471.7 MB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.8887, allocations: 3.688 kB / 471.7 MB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007213/0.8895, allocations: 54.89 kB / 471.7 MB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.8895, allocations: 3.047 kB / 471.7 MB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.8895, allocations: 2.031 kB / 471.7 MB, free: 96.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009253/0.8905, allocations: 1.214 MB / 472.9 MB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.8905, allocations: 1.188 kB / 472.9 MB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.891, allocations: 195.4 kB / 473.1 MB, free: 94.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.8911, allocations: 97.14 kB / 473.2 MB, free: 94.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.8912, allocations: 1.062 kB / 473.2 MB, free: 94.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.8916, allocations: 16.14 kB / 473.2 MB, free: 94.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.8917, allocations: 7.125 kB / 473.2 MB, free: 94.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.8918, allocations: 3.812 kB / 473.3 MB, free: 94.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003172/0.8921, allocations: 161.6 kB / 473.4 MB, free: 94.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.8921, allocations: 4.312 kB / 473.4 MB, free: 94.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001445/0.8936, allocations: 126.8 kB / 473.5 MB, free: 94.52 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 (7): * Single equations (assignments): 5 * 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.001417/0.895, allocations: 0.884 MB / 474.4 MB, free: 93.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009015/0.8959, allocations: 155 kB / 474.6 MB, free: 93.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.896, allocations: 0.875 kB / 474.6 MB, free: 93.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.8964, allocations: 49.27 kB / 474.6 MB, free: 93.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.8968, allocations: 22.08 kB / 474.6 MB, free: 93.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.8986, allocations: 394.3 kB / 475 MB, free: 93.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.899, allocations: 0.7776 MB / 475.8 MB, free: 92.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.8993, allocations: 100.2 kB / 475.9 MB, free: 92.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.8993, allocations: 0 / 475.9 MB, free: 92.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.282/4.182, allocations: 7.613 MB / 483.5 MB, free: 92.41 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_KC_res.mat does not exist to compare? outputFormat=mat