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_flatTube.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_flatTube,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.867/1.867, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.000454, allocations: 8 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3372, allocations: 48.71 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002685/0.3399, allocations: 1.692 MB / 333 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.3421, allocations: 1.221 MB / 334.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.3423, allocations: 3.938 kB / 334.2 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.3426, allocations: 79.47 kB / 334.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.3428, allocations: 58.83 kB / 334.4 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.3435, allocations: 176.8 kB / 334.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3437, allocations: 114.4 kB / 334.6 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.291e-05/0.3438, allocations: 22.27 kB / 334.7 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.344, allocations: 50.8 kB / 334.7 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.3441, allocations: 55.08 kB / 334.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3441, allocations: 3.094 kB / 334.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009548/0.3451, allocations: 436.2 kB / 335.2 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.3451, allocations: 23.48 kB / 335.2 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.3452, allocations: 56.17 kB / 335.3 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.3457, allocations: 240.3 kB / 335.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3458, allocations: 1.188 kB / 335.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3458, allocations: 0 / 335.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3458, allocations: 0 / 335.5 MB, free: 4.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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006425/0.3464, allocations: 475 kB / 336 MB, free: 3.723 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3465, allocations: 9.375 kB / 336 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.017e-05/0.3466, allocations: 54.36 kB / 336 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.3466, allocations: 21.59 kB / 336.1 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.3468, allocations: 208.8 kB / 336.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.3469, allocations: 14.84 kB / 336.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.3469, allocations: 15.31 kB / 336.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.3474, allocations: 208 kB / 336.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3475, allocations: 0 / 336.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.3475, allocations: 6.766 kB / 336.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3475, allocations: 4.156 kB / 336.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.348, allocations: 161.8 kB / 336.7 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.3491, allocations: 0.5855 MB / 337.2 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.3494, allocations: 69.7 kB / 337.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.3494, allocations: 5.156 kB / 337.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.3495, allocations: 31.66 kB / 337.3 MB, free: 2.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.304e-06/0.3495, allocations: 0 / 337.3 MB, free: 2.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000766/0.3503, allocations: 309.6 kB / 337.6 MB, free: 2.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.3503, allocations: 55.39 kB / 337.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.3506, allocations: 256.8 kB / 338 MB, free: 2.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3507, allocations: 26.86 kB / 338 MB, free: 2.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.3508, allocations: 221.3 kB / 338.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.3508, allocations: 22.58 kB / 338.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.3508, allocations: 5.312 kB / 338.2 MB, free: 1.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.3509, allocations: 316.3 kB / 338.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3511, allocations: 46.19 kB / 338.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3514, allocations: 138.2 kB / 338.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.3516, allocations: 51.83 kB / 338.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3516, allocations: 0 / 338.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006462/0.3523, allocations: 198.6 kB / 339 MB, free: 1.375 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3523, allocations: 15.09 kB / 339 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.461e-05/0.3524, allocations: 11.56 kB / 339 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.3524, allocations: 8.297 kB / 339 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.3526, allocations: 37.02 kB / 339 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3527, allocations: 8.188 kB / 339 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.3529, allocations: 38.52 kB / 339.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.353, allocations: 13.25 kB / 339.1 MB, free: 1.32 MB / 266.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.0001277/0.3531, allocations: 126.8 kB / 339.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.3532, allocations: 20.19 kB / 339.2 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/0.3538, allocations: 156.4 kB / 339.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3538, allocations: 0 / 339.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3538, allocations: 1.031 kB / 339.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3538, allocations: 0 / 339.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.3541, allocations: 225.6 kB / 339.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-05/0.3542, allocations: 8.906 kB / 339.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.3543, allocations: 14.95 kB / 339.6 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3543, allocations: 3.984 kB / 339.6 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3543, allocations: 2.031 kB / 339.6 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3543, allocations: 5.25 kB / 339.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3543, allocations: 0 / 339.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.3548, allocations: 224.8 kB / 339.9 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.3549, allocations: 93.77 kB / 339.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.3549, allocations: 1.094 kB / 339.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.3551, allocations: 10.3 kB / 340 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.3552, allocations: 2.406 kB / 340 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3552, allocations: 3.562 kB / 340 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001953/0.3554, allocations: 185.3 kB / 340.1 MB, free: 432 kB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3554, allocations: 0 / 340.1 MB, free: 432 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000524/0.3559, allocations: 73.42 kB / 340.2 MB, free: 416 kB / 266.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.001058/0.357, allocations: 0.8159 MB / 341 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006882/0.3577, allocations: 175.6 kB / 341.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3577, allocations: 0 / 341.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.3581, allocations: 112.4 kB / 341.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3585, allocations: 23 kB / 341.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.3614, allocations: 1.294 MB / 342.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3617, allocations: 0.7363 MB / 343.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.3619, allocations: 60.83 kB / 343.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.3619, allocations: 0 / 343.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.426/2.788, allocations: 5.185 MB / 348.6 MB, free: 11.09 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_flatTube_res.mat does not exist to compare? outputFormat=mat