Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004442, allocations: 8 kB / 314.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4032, allocations: 54.85 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.5644, allocations: 84.97 MB / 454.3 MB, free: 5.516 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004627/0.565, allocations: 99.88 kB / 454.4 MB, free: 5.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03942/0.6044, allocations: 6.668 MB / 461.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.023e-06/0.6045, allocations: 0 / 461.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.6045, allocations: 7.938 kB / 461.1 MB, free: 14.7 MB / 394.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.0009778/0.6055, allocations: 443.1 kB / 461.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.6056, allocations: 12.03 kB / 461.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.964e-05/0.6057, allocations: 42.55 kB / 461.6 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.6057, allocations: 15.77 kB / 461.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.6061, allocations: 202.9 kB / 461.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.6062, allocations: 8 kB / 461.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.6062, allocations: 4 kB / 461.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007119/0.6069, allocations: 181.5 kB / 462 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.607, allocations: 0 / 462 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.607, allocations: 4 kB / 462 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/0.6071, allocations: 8 kB / 462 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.6079, allocations: 179.8 kB / 462.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.6095, allocations: 0.4922 MB / 462.7 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008584/0.6103, allocations: 158.5 kB / 462.8 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.6104, allocations: 4.031 kB / 462.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.6105, allocations: 34.56 kB / 462.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.625e-06/0.6105, allocations: 192 / 462.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.001235/0.6117, allocations: 213.3 kB / 463.1 MB, free: 12.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.6118, allocations: 63.3 kB / 463.1 MB, free: 12.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.6122, allocations: 186.5 kB / 463.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.6122, allocations: 25.7 kB / 463.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.6124, allocations: 178.4 kB / 463.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.6124, allocations: 35.62 kB / 463.6 MB, free: 12.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.6125, allocations: 0 / 463.6 MB, free: 12.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6127, allocations: 318.8 kB / 463.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.613, allocations: 51.95 kB / 463.9 MB, free: 11.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.6134, allocations: 78.52 kB / 464 MB, free: 11.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.6137, allocations: 55.95 kB / 464.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6138, allocations: 0 / 464.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008161/0.6146, allocations: 177.5 kB / 464.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.6146, allocations: 6.5 kB / 464.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6146, allocations: 0 / 464.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.6147, allocations: 4 kB / 464.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.6153, allocations: 51.95 kB / 464.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.6165, allocations: 1.215 MB / 465.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.6168, allocations: 27.86 kB / 465.5 MB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.6169, allocations: 4.188 kB / 465.5 MB, free: 9.992 MB / 394.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.0002365/0.6171, allocations: 149.6 kB / 465.7 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.6172, allocations: 11.81 kB / 465.7 MB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00094/0.6182, allocations: 198.8 kB / 465.9 MB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.6182, allocations: 11.97 kB / 465.9 MB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6182, allocations: 0 / 465.9 MB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.6182, allocations: 0 / 465.9 MB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.6187, allocations: 221.5 kB / 466.1 MB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6187, allocations: 0 / 466.1 MB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.6193, allocations: 47.95 kB / 466.2 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6193, allocations: 0 / 466.2 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.6194, allocations: 0 / 466.2 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.6205, allocations: 1.227 MB / 467.4 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6206, allocations: 0 / 467.4 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.6214, allocations: 259.4 kB / 467.6 MB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.6215, allocations: 92.91 kB / 467.7 MB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.6216, allocations: 0 / 467.7 MB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.6219, allocations: 12 kB / 467.7 MB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.622, allocations: 11.94 kB / 467.8 MB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.622, allocations: 4 kB / 467.8 MB, free: 7.609 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002743/0.6223, allocations: 157.1 kB / 467.9 MB, free: 7.457 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6224, allocations: 0 / 467.9 MB, free: 7.457 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007159/0.6231, allocations: 47.92 kB / 468 MB, free: 7.41 MB / 394.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.001587/0.6247, allocations: 0.8335 MB / 468.8 MB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.6258, allocations: 147.9 kB / 468.9 MB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6258, allocations: 0 / 468.9 MB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.6263, allocations: 83.86 kB / 469 MB, free: 6.324 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.6267, allocations: 28.12 kB / 469 MB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.6295, allocations: 1.421 MB / 470.5 MB, free: 4.812 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.63, allocations: 0.7279 MB / 471.2 MB, free: 4.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.6301, allocations: 39.42 kB / 471.2 MB, free: 4.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6301, allocations: 0 / 471.2 MB, free: 4.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.151/3.781, allocations: 4.215 MB / 475.5 MB, free: 98.83 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat