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_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_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.2 MB / 224.8 MB, free: 1.473 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004241/0.0004242, allocations: 8 kB / 282.6 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1055, allocations: 48.71 MB / 331.3 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003129/0.1087, allocations: 1.746 MB / 333 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1109, allocations: 0.9669 MB / 334 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.1112, allocations: 0 / 334 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.1116, allocations: 79.61 kB / 334.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.112, allocations: 87.7 kB / 334.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1124, allocations: 91.75 kB / 334.3 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.1126, allocations: 135.6 kB / 334.4 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.606e-05/0.1127, allocations: 24.66 kB / 334.4 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.1129, allocations: 67.64 kB / 334.5 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1131, allocations: 79.62 kB / 334.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.1131, allocations: 4 kB / 334.6 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.1138, allocations: 263.7 kB / 334.8 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.1139, allocations: 27.83 kB / 334.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.114, allocations: 57.58 kB / 334.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.1144, allocations: 179.5 kB / 335.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1144, allocations: 0 / 335.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1145, allocations: 0 / 335.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1145, allocations: 0 / 335.1 MB, free: 5.086 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007988/0.1153, allocations: 481.9 kB / 335.6 MB, free: 4.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1153, allocations: 8.031 kB / 335.6 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.481e-05/0.1154, allocations: 58.48 kB / 335.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.1155, allocations: 23.72 kB / 335.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.1158, allocations: 221.7 kB / 335.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.1159, allocations: 20.44 kB / 335.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.1159, allocations: 19.94 kB / 335.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006491/0.1166, allocations: 235.2 kB / 336.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1166, allocations: 0 / 336.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.1166, allocations: 8 kB / 336.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1167, allocations: 4 kB / 336.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.1174, allocations: 261.6 kB / 336.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.1188, allocations: 0.6119 MB / 337 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.1193, allocations: 106.6 kB / 337.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.1194, allocations: 3.984 kB / 337.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1194, allocations: 34.62 kB / 337.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.1194, allocations: 7.938 kB / 337.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008745/0.1203, allocations: 177.4 kB / 337.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.1204, allocations: 55.34 kB / 337.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.1208, allocations: 270.9 kB / 337.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1208, allocations: 25.7 kB / 337.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.121, allocations: 225.8 kB / 337.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.121, allocations: 35.55 kB / 337.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.1211, allocations: 4 kB / 337.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1212, allocations: 322.8 kB / 338.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.1215, allocations: 51.95 kB / 338.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.1219, allocations: 149.2 kB / 338.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.1222, allocations: 79.84 kB / 338.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.1222, allocations: 4 kB / 338.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000828/0.1231, allocations: 229.5 kB / 338.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1231, allocations: 11.94 kB / 338.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1231, allocations: 4 kB / 338.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.1231, allocations: 4 kB / 338.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/0.1238, allocations: 83.89 kB / 338.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2507/0.3745, allocations: 1.215 MB / 340.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.375, allocations: 39.42 kB / 340.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.375, allocations: 12.66 kB / 340.1 MB, free: 15.19 MB / 282.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 (25): * Single equations (assignments): 23 * 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.0001553/0.3752, allocations: 132.7 kB / 340.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.3753, allocations: 25.14 kB / 340.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007358/0.376, allocations: 179 kB / 340.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.376, allocations: 5.188 kB / 340.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.376, allocations: 0 / 340.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3761, allocations: 5.328 kB / 340.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.377, allocations: 463.3 kB / 340.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.377, allocations: 1.062 kB / 340.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.3775, allocations: 57.52 kB / 341 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3775, allocations: 1.953 kB / 341 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3776, allocations: 7.797 kB / 341 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006019/0.3782, allocations: 1.207 MB / 342.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.3782, allocations: 9.828 kB / 342.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.3788, allocations: 254.6 kB / 342.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.3789, allocations: 100.3 kB / 342.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.3789, allocations: 4.266 kB / 342.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.3792, allocations: 11.84 kB / 342.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.3793, allocations: 16.44 kB / 342.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.3793, allocations: 12.02 kB / 342.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.3796, allocations: 184.6 kB / 342.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3796, allocations: 0 / 342.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004899/0.3801, allocations: 72.34 kB / 342.8 MB, free: 13.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0009812/0.3811, allocations: 0.8288 MB / 343.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000914/0.382, allocations: 182.2 kB / 343.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.382, allocations: 1.25 kB / 343.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.3826, allocations: 94.14 kB / 343.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.3829, allocations: 28.17 kB / 344 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.3859, allocations: 1.423 MB / 345.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.3862, allocations: 0.7343 MB / 346.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3864, allocations: 68.33 kB / 346.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3864, allocations: 0 / 346.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.392/2.779, allocations: 5.11 MB / 351.3 MB, free: 10.62 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_KC_res.mat does not exist to compare? outputFormat=mat