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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.904/1.904, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004318, allocations: 12 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.353, allocations: 48.7 MB / 331.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003421/0.3565, allocations: 2.132 MB / 333.4 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.3593, allocations: 1.302 MB / 334.7 MB, free: 4.387 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.3597, allocations: 1.344 kB / 334.7 MB, free: 4.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.3601, allocations: 94.52 kB / 334.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.3606, allocations: 131.6 kB / 335 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008292/0.3615, allocations: 197.5 kB / 335.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.3619, allocations: 215.9 kB / 335.4 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.362, allocations: 27.39 kB / 335.4 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.3621, allocations: 93.47 kB / 335.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.3623, allocations: 115.2 kB / 335.6 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.3624, allocations: 7.531 kB / 335.6 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.3638, allocations: 0.5762 MB / 336.2 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.3639, allocations: 38.3 kB / 336.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.895e-05/0.364, allocations: 73.23 kB / 336.3 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006197/0.3646, allocations: 315.6 kB / 336.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3647, allocations: 0 / 336.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3647, allocations: 0 / 336.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3647, allocations: 5.156 kB / 336.6 MB, free: 3.547 MB / 266.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.0008139/0.3655, allocations: 0.5728 MB / 337.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3656, allocations: 9.656 kB / 337.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.439e-05/0.3657, allocations: 73.89 kB / 337.2 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/0.3657, allocations: 43.38 kB / 337.3 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.366, allocations: 239.3 kB / 337.5 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.3661, allocations: 27.22 kB / 337.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.3661, allocations: 35.53 kB / 337.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008426/0.367, allocations: 0.5787 MB / 338.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.367, allocations: 11.34 kB / 338.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.3671, allocations: 22.86 kB / 338.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.3671, allocations: 10.34 kB / 338.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008683/0.368, allocations: 338.4 kB / 338.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.371, allocations: 4.05 MB / 342.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.3715, allocations: 95.45 kB / 342.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.3715, allocations: 5.938 kB / 342.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3716, allocations: 30.69 kB / 342.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.645e-06/0.3716, allocations: 0 / 342.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008678/0.3725, allocations: 192.4 kB / 342.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.3725, allocations: 52.62 kB / 343 MB, free: 13.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006044/0.3731, allocations: 406 kB / 343.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.3732, allocations: 29.69 kB / 343.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.3734, allocations: 289.2 kB / 343.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.3735, allocations: 40.56 kB / 343.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.3735, allocations: 5.125 kB / 343.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3737, allocations: 326.1 kB / 344 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.374, allocations: 62.58 kB / 344.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.3744, allocations: 268.6 kB / 344.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.3748, allocations: 95.53 kB / 344.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.3748, allocations: 3.312 kB / 344.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000991/0.3758, allocations: 336.5 kB / 344.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.3759, allocations: 9.188 kB / 344.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3759, allocations: 11.03 kB / 344.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.3759, allocations: 18.59 kB / 344.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/0.3767, allocations: 105.9 kB / 344.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009925/0.3778, allocations: 1.222 MB / 346.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/0.3783, allocations: 70.23 kB / 346.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.3784, allocations: 18.69 kB / 346.2 MB, free: 10.86 MB / 282.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 () * Number of clocked 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.0002277/0.3786, allocations: 149 kB / 346.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.3787, allocations: 39.84 kB / 346.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.3795, allocations: 183.6 kB / 346.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3796, allocations: 1.031 kB / 346.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3796, allocations: 3.953 kB / 346.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3796, allocations: 1.125 kB / 346.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.3801, allocations: 278.7 kB / 346.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3801, allocations: 0 / 346.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.3806, allocations: 51.75 kB / 346.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3806, allocations: 5.25 kB / 346.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.3807, allocations: 5.375 kB / 346.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009062/0.3816, allocations: 1.204 MB / 348.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3816, allocations: 1 kB / 348.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/0.3822, allocations: 252.7 kB / 348.4 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.3824, allocations: 113.6 kB / 348.5 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/0.3825, allocations: 4 kB / 348.5 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.3828, allocations: 14.52 kB / 348.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.3829, allocations: 3.875 kB / 348.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3829, allocations: 2.781 kB / 348.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004309/0.3834, allocations: 273.7 kB / 348.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3834, allocations: 0 / 348.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007868/0.3842, allocations: 108 kB / 348.9 MB, free: 8.578 MB / 282.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 (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.001447/0.3856, allocations: 0.8547 MB / 349.7 MB, free: 7.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.3867, allocations: 220 kB / 350 MB, free: 7.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3867, allocations: 0 / 350 MB, free: 7.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005222/0.3873, allocations: 82.67 kB / 350 MB, free: 7.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.3878, allocations: 34.86 kB / 350.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.3925, allocations: 2.04 MB / 352.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.393, allocations: 0.7837 MB / 352.9 MB, free: 5.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.3933, allocations: 104.7 kB / 353 MB, free: 5.406 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3933, allocations: 0 / 353 MB, free: 5.406 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.706/3.1, allocations: 7.894 MB / 360.9 MB, free: 15.89 MB / 298.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_KC_res.mat does not exist to compare? outputFormat=mat