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_evenGapTurbulent_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_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.01/2.01, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004343, allocations: 16 kB / 282.6 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3361, allocations: 48.7 MB / 331.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002534/0.3387, allocations: 1.416 MB / 332.7 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.3403, allocations: 0.7233 MB / 333.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.3405, allocations: 0 / 333.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.3408, allocations: 38.28 kB / 333.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.3411, allocations: 41.78 kB / 333.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.3415, allocations: 69.05 kB / 333.6 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3417, allocations: 85.05 kB / 333.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.639e-05/0.3417, allocations: 25.56 kB / 333.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.3419, allocations: 47.45 kB / 333.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.342, allocations: 50.98 kB / 333.8 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.3421, allocations: 3.531 kB / 333.8 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.3425, allocations: 155.5 kB / 333.9 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.3426, allocations: 37.58 kB / 334 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.3427, allocations: 43.48 kB / 334 MB, free: 5.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.343, allocations: 112.5 kB / 334.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.343, allocations: 1.188 kB / 334.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.343, allocations: 4 kB / 334.1 MB, free: 5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.343, allocations: 0 / 334.1 MB, free: 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007884/0.3438, allocations: 425.6 kB / 334.6 MB, free: 4.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3439, allocations: 9.25 kB / 334.6 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.344, allocations: 47.81 kB / 334.6 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.344, allocations: 14.22 kB / 334.6 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.3443, allocations: 206 kB / 334.8 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3443, allocations: 15.33 kB / 334.8 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.3443, allocations: 11.09 kB / 334.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.3449, allocations: 177.5 kB / 335 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3449, allocations: 5.25 kB / 335 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.345, allocations: 3.984 kB / 335 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.345, allocations: 17.45 kB / 335.1 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.3456, allocations: 177.6 kB / 335.2 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3468, allocations: 490.1 kB / 335.7 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.3475, allocations: 164.2 kB / 335.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.3475, allocations: 2.188 kB / 335.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.3476, allocations: 33 kB / 335.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.454e-06/0.3476, allocations: 4 kB / 335.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009438/0.3485, allocations: 216 kB / 336.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.3486, allocations: 52.75 kB / 336.2 MB, free: 3.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.3489, allocations: 199 kB / 336.4 MB, free: 3.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3489, allocations: 29.7 kB / 336.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.349, allocations: 174.9 kB / 336.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.3491, allocations: 34.83 kB / 336.6 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.3491, allocations: 1.312 kB / 336.6 MB, free: 3.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.3491, allocations: 317.7 kB / 336.9 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.3494, allocations: 58.45 kB / 337 MB, free: 2.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.3497, allocations: 76.2 kB / 337 MB, free: 2.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.35, allocations: 61.23 kB / 337.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.35, allocations: 4 kB / 337.1 MB, free: 2.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000659/0.3507, allocations: 169.2 kB / 337.3 MB, free: 2.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.3507, allocations: 5.438 kB / 337.3 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3507, allocations: 1.031 kB / 337.3 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.3508, allocations: 5.188 kB / 337.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.3513, allocations: 47.58 kB / 337.3 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007275/0.352, allocations: 1.221 MB / 338.5 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.3523, allocations: 16.44 kB / 338.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.3524, allocations: 11.7 kB / 338.6 MB, free: 1.59 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * 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.0002524/0.3526, allocations: 131.1 kB / 338.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.3527, allocations: 18.64 kB / 338.7 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007103/0.3534, allocations: 204.6 kB / 338.9 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3534, allocations: 5 kB / 338.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3534, allocations: 1.062 kB / 338.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3534, allocations: 0 / 338.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.3538, allocations: 226 kB / 339.1 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3538, allocations: 0 / 339.1 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.3542, allocations: 46.25 kB / 339.2 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.3543, allocations: 9.078 kB / 339.2 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.3543, allocations: 8.953 kB / 339.2 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006535/0.355, allocations: 1.213 MB / 340.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.355, allocations: 5.531 kB / 340.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.3556, allocations: 254.8 kB / 340.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.3557, allocations: 88.92 kB / 340.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.3558, allocations: 1.094 kB / 340.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.356, allocations: 18.95 kB / 340.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.3561, allocations: 14.88 kB / 340.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3561, allocations: 2.406 kB / 340.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.3563, allocations: 152.2 kB / 340.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3564, allocations: 0 / 340.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004724/0.3568, allocations: 45.84 kB / 341 MB, free: 15.43 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 (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.001164/0.358, allocations: 0.8229 MB / 341.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008692/0.3589, allocations: 154.5 kB / 342 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3589, allocations: 4 kB / 342 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.3595, allocations: 97.48 kB / 342.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.3598, allocations: 24.17 kB / 342.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.3626, allocations: 1.132 MB / 343.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3631, allocations: 0.7308 MB / 344 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.3632, allocations: 38.92 kB / 344 MB, free: 13.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3633, allocations: 0 / 344 MB, free: 13.05 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.576/2.939, allocations: 4.132 MB / 348.1 MB, free: 10.96 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.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat