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_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.043/2.043, allocations: 209.2 MB / 224.8 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00061/0.0006102, allocations: 12 kB / 282.6 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3925, allocations: 48.7 MB / 331.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.002965/0.3955, allocations: 1.735 MB / 333 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.3973, allocations: 0.828 MB / 333.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.3975, allocations: 0.9688 kB / 333.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.3978, allocations: 62.55 kB / 333.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.3983, allocations: 104.1 kB / 334 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.3987, allocations: 77.84 kB / 334.1 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.3992, allocations: 309.6 kB / 334.4 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3993, allocations: 60.41 kB / 334.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.3996, allocations: 141.3 kB / 334.6 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.3999, allocations: 179.3 kB / 334.8 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.4, allocations: 10.75 kB / 334.8 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.4005, allocations: 192.7 kB / 335 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.4007, allocations: 99.42 kB / 335.1 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.4008, allocations: 90.58 kB / 335.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006216/0.4014, allocations: 344.4 kB / 335.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.4014, allocations: 1.125 kB / 335.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4014, allocations: 4 kB / 335.5 MB, free: 4.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.4015, allocations: 0 / 335.5 MB, free: 4.305 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.001505/0.403, allocations: 0.6652 MB / 336.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.403, allocations: 9.062 kB / 336.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.4032, allocations: 103.8 kB / 336.3 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.4034, allocations: 51.86 kB / 336.3 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.4039, allocations: 299.4 kB / 336.6 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.404, allocations: 41.05 kB / 336.7 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.4041, allocations: 42.22 kB / 336.7 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.4058, allocations: 0.7158 MB / 337.4 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.4058, allocations: 0 / 337.4 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.4059, allocations: 20 kB / 337.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.406, allocations: 50.09 kB / 337.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.408, allocations: 0.7537 MB / 338.2 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.4114, allocations: 1.456 MB / 339.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.4128, allocations: 464 kB / 340.2 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.4129, allocations: 9.125 kB / 340.2 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.4129, allocations: 36.11 kB / 340.2 MB, free: 1.457 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 3.316e-06/0.4129, allocations: 0 / 340.2 MB, free: 1.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001949/0.4149, allocations: 0.558 MB / 340.8 MB, free: 1.211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.415, allocations: 58.94 kB / 340.8 MB, free: 1.145 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/0.4159, allocations: 0.5265 MB / 341.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.4159, allocations: 30.95 kB / 341.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.4161, allocations: 268 kB / 341.6 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.4162, allocations: 99.78 kB / 341.7 MB, free: 484 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.4163, allocations: 5.031 kB / 341.7 MB, free: 480 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.4163, allocations: 332.3 kB / 342.1 MB, free: 144 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000539/0.4169, allocations: 153.5 kB / 342.2 MB, free: 84 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/0.4175, allocations: 257.3 kB / 342.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.4182, allocations: 195.5 kB / 342.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.4183, allocations: 0.8125 kB / 342.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001542/0.4198, allocations: 482.1 kB / 343.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.4199, allocations: 6.156 kB / 343.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.4199, allocations: 7.125 kB / 343.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.4199, allocations: 5.344 kB / 343.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/0.4218, allocations: 207.1 kB / 343.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005576/0.4274, allocations: 7.316 MB / 350.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.4282, allocations: 66.17 kB / 350.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.4282, allocations: 23.73 kB / 350.7 MB, free: 8.211 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.000491/0.4287, allocations: 223.4 kB / 351 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.4289, allocations: 43.7 kB / 351 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.4308, allocations: 0.5682 MB / 351.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.4309, allocations: 3.094 kB / 351.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4309, allocations: 0 / 351.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4309, allocations: 4 kB / 351.6 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009772/0.4319, allocations: 428.8 kB / 352 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.4319, allocations: 1.594 kB / 352 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/0.4337, allocations: 202 kB / 352.2 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.4337, allocations: 1.156 kB / 352.2 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.4338, allocations: 14.81 kB / 352.2 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005665/0.4394, allocations: 7.319 MB / 359.5 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4395, allocations: 1.844 kB / 359.5 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.441, allocations: 0.512 MB / 360 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.4413, allocations: 126.3 kB / 360.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.4414, allocations: 5.375 kB / 360.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/0.4419, allocations: 16.23 kB / 360.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.442, allocations: 22.97 kB / 360.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.4421, allocations: 17.61 kB / 360.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007534/0.4428, allocations: 387.8 kB / 360.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4429, allocations: 0 / 360.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007229/0.4436, allocations: 130.3 kB / 360.7 MB, free: 15.34 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.001985/0.4456, allocations: 1.109 MB / 361.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002855/0.4485, allocations: 0.5418 MB / 362.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4485, allocations: 0 / 362.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.4507, allocations: 358.2 kB / 362.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007388/0.4514, allocations: 77.86 kB / 362.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/0.4596, allocations: 3.262 MB / 366.1 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/0.4603, allocations: 0.9052 MB / 367 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.4607, allocations: 143.4 kB / 367.1 MB, free: 9.59 MB / 298.7 MB Notification: Performance of SimCode: time 1.433e-06/0.4607, allocations: 0 / 367.1 MB, free: 9.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.339/3.8, allocations: 30.66 MB / 397.8 MB, free: 10.9 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_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat