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.Channel.kc_evenGapOverall_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.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.942/1.942, allocations: 209.2 MB / 224.8 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006063/0.0006064, allocations: 16 kB / 282.6 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4203, allocations: 48.71 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002901/0.4232, allocations: 1.72 MB / 333 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.4266, allocations: 1.554 MB / 334.6 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.4268, allocations: 1.5 kB / 334.6 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.4272, allocations: 59.05 kB / 334.6 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005072/0.4277, allocations: 110.3 kB / 334.7 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.4291, allocations: 278.7 kB / 335 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006373/0.4297, allocations: 313.5 kB / 335.3 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.4298, allocations: 56.19 kB / 335.4 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.4301, allocations: 140.2 kB / 335.5 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.4305, allocations: 170.7 kB / 335.7 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.4305, allocations: 10.47 kB / 335.7 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.4321, allocations: 0.5617 MB / 336.3 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.4324, allocations: 99.23 kB / 336.4 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.4326, allocations: 92.02 kB / 336.4 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009852/0.4336, allocations: 436 kB / 336.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4336, allocations: 0 / 336.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.958e-06/0.4336, allocations: 0 / 336.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.4337, allocations: 3.938 kB / 336.9 MB, free: 3.5 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002244/0.4359, allocations: 0.7057 MB / 337.6 MB, free: 2.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/0.436, allocations: 8.312 kB / 337.6 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003282/0.4363, allocations: 101.1 kB / 337.7 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.4366, allocations: 51.19 kB / 337.7 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.4389, allocations: 301 kB / 338 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.283e-05/0.439, allocations: 32.78 kB / 338.1 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.4392, allocations: 54.36 kB / 338.1 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.4419, allocations: 0.7113 MB / 338.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.713e-05/0.442, allocations: 3.984 kB / 338.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.4423, allocations: 20.45 kB / 338.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002647/0.4426, allocations: 54.19 kB / 338.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004492/0.4471, allocations: 0.7487 MB / 339.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.4514, allocations: 1.447 MB / 341.1 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.4528, allocations: 459.5 kB / 341.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.4529, allocations: 22.92 kB / 341.6 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.453, allocations: 30.8 kB / 341.6 MB, free: 492 kB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.545e-06/0.453, allocations: 0 / 341.6 MB, free: 492 kB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.00196/0.455, allocations: 0.5558 MB / 342.2 MB, free: 240 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.455, allocations: 54.19 kB / 342.2 MB, free: 176 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.4569, allocations: 0.527 MB / 342.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.457, allocations: 33.64 kB / 342.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.4574, allocations: 277.4 kB / 343 MB, free: 15.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.4577, allocations: 104 kB / 343.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.4578, allocations: 5.391 kB / 343.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002522/0.4581, allocations: 336.4 kB / 343.5 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.4591, allocations: 170 kB / 343.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4605, allocations: 294.3 kB / 343.9 MB, free: 14.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.4618, allocations: 212.1 kB / 344.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.4618, allocations: 2.219 kB / 344.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003715/0.4655, allocations: 0.5157 MB / 344.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.4656, allocations: 6.844 kB / 344.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.4657, allocations: 4.875 kB / 344.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.244e-05/0.4657, allocations: 6.562 kB / 344.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003953/0.4697, allocations: 225 kB / 344.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.4804, allocations: 7.301 MB / 352.2 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.4816, allocations: 73.27 kB / 352.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.4817, allocations: 25.2 kB / 352.3 MB, free: 7.133 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005003/0.4822, allocations: 241 kB / 352.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.4824, allocations: 43.41 kB / 352.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.4844, allocations: 0.5595 MB / 353.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.4844, allocations: 6.703 kB / 353.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4845, allocations: 0.7812 kB / 353.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4845, allocations: 4 kB / 353.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009947/0.4855, allocations: 433.1 kB / 353.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4855, allocations: 3.938 kB / 353.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.4873, allocations: 194.8 kB / 353.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.4873, allocations: 1.719 kB / 353.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/0.4874, allocations: 13.55 kB / 353.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005372/0.4928, allocations: 7.305 MB / 361.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4928, allocations: 0 / 361.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.4943, allocations: 0.5097 MB / 361.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.4947, allocations: 125.1 kB / 361.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.4948, allocations: 5.281 kB / 361.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.4953, allocations: 15.92 kB / 361.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.4954, allocations: 20.38 kB / 361.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.4955, allocations: 21.23 kB / 361.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007902/0.4963, allocations: 382.3 kB / 362.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4963, allocations: 0 / 362.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001003/0.4973, allocations: 174.3 kB / 362.3 MB, free: 14.25 MB / 298.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002434/0.4998, allocations: 1.173 MB / 363.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.5028, allocations: 0.5546 MB / 364 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.5028, allocations: 0.5 kB / 364 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.5051, allocations: 359.5 kB / 364.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.5059, allocations: 81.91 kB / 364.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/0.5142, allocations: 3.311 MB / 367.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.5149, allocations: 0.9091 MB / 368.7 MB, free: 7.977 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.5153, allocations: 143.4 kB / 368.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5154, allocations: 4 kB / 368.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.333/3.848, allocations: 31.37 MB / 400.2 MB, free: 8.422 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat