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.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,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.739/1.739, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004294, allocations: 16 kB / 282.6 MB, free: 9.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3519, allocations: 48.69 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003709/0.3557, allocations: 2.118 MB / 333.4 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.359, allocations: 1.559 MB / 335 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.3594, allocations: 1.688 kB / 335 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.3598, allocations: 98.73 kB / 335.1 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.3602, allocations: 119.6 kB / 335.2 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.3615, allocations: 270.4 kB / 335.5 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.3619, allocations: 209.6 kB / 335.7 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.362, allocations: 27.77 kB / 335.7 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3622, allocations: 80.09 kB / 335.8 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.3623, allocations: 101.1 kB / 335.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.3624, allocations: 5.719 kB / 335.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.3643, allocations: 0.7394 MB / 336.6 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.3644, allocations: 47.73 kB / 336.7 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.3645, allocations: 72.95 kB / 336.7 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008672/0.3654, allocations: 420.8 kB / 337.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3654, allocations: 0 / 337.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3654, allocations: 0 / 337.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3654, allocations: 0 / 337.1 MB, free: 3.156 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.0008738/0.3663, allocations: 0.5788 MB / 337.7 MB, free: 2.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3664, allocations: 13.09 kB / 337.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.667e-05/0.3665, allocations: 73.94 kB / 337.8 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.3666, allocations: 43.06 kB / 337.8 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.3669, allocations: 247.9 kB / 338.1 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.3669, allocations: 30.67 kB / 338.1 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.367, allocations: 30.72 kB / 338.1 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.3677, allocations: 365.6 kB / 338.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3678, allocations: 4 kB / 338.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.3678, allocations: 10.69 kB / 338.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.3678, allocations: 8.344 kB / 338.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006831/0.3685, allocations: 270.7 kB / 338.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.3702, allocations: 0.8918 MB / 339.7 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.3706, allocations: 105.2 kB / 339.8 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.3706, allocations: 5.859 kB / 339.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.3707, allocations: 42.62 kB / 339.8 MB, free: 1.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.595e-06/0.3707, allocations: 0 / 339.8 MB, free: 1.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009546/0.3716, allocations: 0.5068 MB / 340.3 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.3717, allocations: 53.12 kB / 340.4 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.3722, allocations: 402.3 kB / 340.8 MB, free: 292 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3723, allocations: 25.7 kB / 340.8 MB, free: 260 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.3724, allocations: 288.6 kB / 341.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.3725, allocations: 32.42 kB / 341.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.3725, allocations: 5.062 kB / 341.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3727, allocations: 330.4 kB / 341.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.373, allocations: 68.11 kB / 341.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.3735, allocations: 249.6 kB / 341.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.3739, allocations: 105.1 kB / 341.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.3739, allocations: 2.438 kB / 341.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001001/0.3749, allocations: 328.2 kB / 342.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.375, allocations: 8.906 kB / 342.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.697e-05/0.3751, allocations: 26.11 kB / 342.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.3751, allocations: 9.594 kB / 342.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.3754, allocations: 60.91 kB / 342.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.3755, allocations: 13.03 kB / 342.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.3759, allocations: 74.55 kB / 342.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.376, allocations: 18.44 kB / 342.4 MB, free: 15.03 MB / 282.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 () * Number of clocked 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.0002214/0.3762, allocations: 153.1 kB / 342.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.012e-05/0.3763, allocations: 40.52 kB / 342.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009049/0.3772, allocations: 221.2 kB / 342.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3772, allocations: 2.281 kB / 342.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/0.3773, allocations: 0 / 342.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.3773, allocations: 0 / 342.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.3778, allocations: 284 kB / 343.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.886e-05/0.3779, allocations: 20.17 kB / 343.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.378, allocations: 10.81 kB / 343.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.378, allocations: 5.172 kB / 343.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.378, allocations: 3.25 kB / 343.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.378, allocations: 5.297 kB / 343.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3781, allocations: 0 / 343.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.3787, allocations: 264.1 kB / 343.4 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.3789, allocations: 108.3 kB / 343.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/0.379, allocations: 9.391 kB / 343.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.3792, allocations: 6.125 kB / 343.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.3793, allocations: 8.984 kB / 343.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.3793, allocations: 5.094 kB / 343.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004076/0.3797, allocations: 271.5 kB / 343.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3797, allocations: 0 / 343.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007729/0.3805, allocations: 122.4 kB / 343.9 MB, free: 13.95 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 (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.001469/0.382, allocations: 0.8857 MB / 344.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.383, allocations: 317.8 kB / 345.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.383, allocations: 0 / 345.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.3836, allocations: 193.3 kB / 345.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.384, allocations: 47.33 kB / 345.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/0.3886, allocations: 2.068 MB / 347.4 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.3891, allocations: 0.7885 MB / 348.2 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.3893, allocations: 107.2 kB / 348.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3893, allocations: 0 / 348.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.935/3.324, allocations: 10.84 MB / 359.1 MB, free: 1.91 MB / 282.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_res.mat does not exist to compare? outputFormat=mat