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.Plate.kc_turbulent_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.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.683e-05/4.704e-05, allocations: 0 / 309.8 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4486, allocations: 54.85 MB / 364.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.6776, allocations: 83.8 MB / 448.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005836/0.6782, allocations: 91.94 kB / 448.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04624/0.7245, allocations: 5.747 MB / 454.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.7246, allocations: 0 / 454.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.7246, allocations: 4 kB / 454.3 MB, free: 6.871 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001107/0.7257, allocations: 418.6 kB / 454.7 MB, free: 6.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.508e-05/0.7258, allocations: 23.91 kB / 454.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.726, allocations: 46.55 kB / 454.8 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.7281, allocations: 103.6 kB / 454.9 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.7287, allocations: 222.8 kB / 455.1 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.7287, allocations: 7.984 kB / 455.1 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.7288, allocations: 12 kB / 455.1 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.7299, allocations: 283.8 kB / 455.4 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.73, allocations: 3.984 kB / 455.4 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.555e-05/0.7301, allocations: 4 kB / 455.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.7301, allocations: 15.98 kB / 455.4 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.7315, allocations: 285 kB / 455.7 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.7354, allocations: 0.7204 MB / 456.4 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.7367, allocations: 262.2 kB / 456.7 MB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.7371, allocations: 84.83 kB / 456.7 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.136e-05/0.7372, allocations: 7.984 kB / 456.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.7373, allocations: 38.67 kB / 456.8 MB, free: 4.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 4.989e-06/0.7373, allocations: 3.938 kB / 456.8 MB, free: 4.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001206/0.7386, allocations: 238.2 kB / 457 MB, free: 3.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.7387, allocations: 55.41 kB / 457.1 MB, free: 3.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.7392, allocations: 197.6 kB / 457.3 MB, free: 3.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/0.7393, allocations: 29.7 kB / 457.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.7395, allocations: 182.3 kB / 457.5 MB, free: 3.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.7396, allocations: 47.36 kB / 457.5 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.7397, allocations: 4 kB / 457.5 MB, free: 3.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.7399, allocations: 314.8 kB / 457.8 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.7403, allocations: 87.91 kB / 457.9 MB, free: 3.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.7408, allocations: 119.3 kB / 458 MB, free: 2.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.7414, allocations: 109.4 kB / 458.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.7414, allocations: 0 / 458.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001333/0.7428, allocations: 249.5 kB / 458.4 MB, free: 2.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.7429, allocations: 4 kB / 458.4 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7429, allocations: 4 kB / 458.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.743, allocations: 0 / 458.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05617/0.7992, allocations: 0.9436 MB / 459.3 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05866/0.8579, allocations: 10.03 MB / 469.4 MB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.8591, allocations: 27.86 kB / 469.4 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/0.8592, allocations: 15.97 kB / 469.4 MB, free: 6.688 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.8594, allocations: 117 kB / 469.5 MB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.8595, allocations: 15.81 kB / 469.5 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02126/0.8808, allocations: 0.6468 MB / 470.2 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.8809, allocations: 0 / 470.2 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.8809, allocations: 3.953 kB / 470.2 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.8809, allocations: 3.938 kB / 470.2 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008554/0.8818, allocations: 273.5 kB / 470.5 MB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.8819, allocations: 0 / 470.5 MB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007983/0.8827, allocations: 35.97 kB / 470.5 MB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0233/0.906, allocations: 481.7 kB / 471 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.9062, allocations: 11.98 kB / 471 MB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03198/0.9382, allocations: 9.499 MB / 480.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.9382, allocations: 0 / 480.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/0.9567, allocations: 0.6932 MB / 481.2 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.9569, allocations: 96.86 kB / 481.3 MB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.957, allocations: 11.92 kB / 481.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008458/0.9579, allocations: 19.98 kB / 481.3 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.9582, allocations: 35.91 kB / 481.3 MB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.521e-05/0.9583, allocations: 19.94 kB / 481.4 MB, free: 9.812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000319/0.9587, allocations: 164.4 kB / 481.5 MB, free: 9.652 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.9587, allocations: 0 / 481.5 MB, free: 9.652 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008471/0.9595, allocations: 96 kB / 481.6 MB, free: 9.559 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * 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): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01461/0.9742, allocations: 1.247 MB / 482.9 MB, free: 8.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02653/1.001, allocations: 0.7567 MB / 483.6 MB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.001, allocations: 0 / 483.6 MB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003766/1.005, allocations: 0.5152 MB / 484.1 MB, free: 6.965 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/1.005, allocations: 31.92 kB / 484.2 MB, free: 6.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/1.011, allocations: 0.5985 MB / 484.8 MB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/1.011, allocations: 0.7514 MB / 485.5 MB, free: 5.516 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/1.011, allocations: 43.42 kB / 485.6 MB, free: 5.473 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/1.011, allocations: 3.938 kB / 485.6 MB, free: 5.469 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.237/4.248, allocations: 7.971 MB / 493.5 MB, free: 13.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat