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.314/2.314, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004514, allocations: 19.98 kB / 314.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3837, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.5361, allocations: 83.9 MB / 453.3 MB, free: 6.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003807/0.5365, allocations: 91.94 kB / 453.4 MB, free: 6.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02849/0.5651, allocations: 5.72 MB / 459.1 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5651, allocations: 0 / 459.1 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.5651, allocations: 4 kB / 459.1 MB, free: 0.7305 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.0008137/0.566, allocations: 446.7 kB / 459.5 MB, free: 252 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.566, allocations: 8.031 kB / 459.5 MB, free: 244 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.31e-05/0.5661, allocations: 50.55 kB / 459.6 MB, free: 184 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.5674, allocations: 111.6 kB / 459.7 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.5678, allocations: 220.8 kB / 459.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.5678, allocations: 16 kB / 459.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/0.5679, allocations: 11.98 kB / 459.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008434/0.5688, allocations: 299.7 kB / 460.2 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5688, allocations: 0 / 460.2 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/0.5689, allocations: 8 kB / 460.2 MB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-05/0.5689, allocations: 15.98 kB / 460.3 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.57, allocations: 319.6 kB / 460.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.5725, allocations: 0.7237 MB / 461.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009027/0.5734, allocations: 278.3 kB / 461.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.5735, allocations: 7.984 kB / 461.6 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.5735, allocations: 34.5 kB / 461.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 3.005e-06/0.5736, allocations: 4 kB / 461.6 MB, free: 14.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.001419/0.575, allocations: 369.8 kB / 462 MB, free: 13.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.5751, allocations: 55.41 kB / 462 MB, free: 13.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.5754, allocations: 205.4 kB / 462.2 MB, free: 13.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.5755, allocations: 33.64 kB / 462.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.5756, allocations: 174.4 kB / 462.4 MB, free: 13.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/0.5757, allocations: 43.3 kB / 462.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.5757, allocations: 8 kB / 462.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.5759, allocations: 322.8 kB / 462.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.5763, allocations: 103.9 kB / 462.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.5768, allocations: 131.2 kB / 463 MB, free: 12.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.5773, allocations: 119.9 kB / 463.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5773, allocations: 0 / 463.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001025/0.5783, allocations: 289.3 kB / 463.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5784, allocations: 4 kB / 463.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5784, allocations: 4 kB / 463.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5784, allocations: 0 / 463.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03645/0.6149, allocations: 0.9475 MB / 464.4 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04395/0.6589, allocations: 10.29 MB / 474.7 MB, free: 104 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.6596, allocations: 43.59 kB / 474.7 MB, free: 60 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.6597, allocations: 11.97 kB / 474.7 MB, free: 48 kB / 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 () * Number of clocked 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.3304/0.9901, allocations: 138.3 kB / 474.9 MB, free: 98.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.9903, allocations: 14.55 kB / 474.9 MB, free: 98.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01861/1.009, allocations: 0.6727 MB / 475.5 MB, free: 98.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/1.009, allocations: 1.062 kB / 475.5 MB, free: 98.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.009, allocations: 3.578 kB / 475.5 MB, free: 98.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.009, allocations: 1.594 kB / 475.6 MB, free: 98.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/1.01, allocations: 276.3 kB / 475.8 MB, free: 98.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.01, allocations: 0 / 475.8 MB, free: 98.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/1.011, allocations: 40.94 kB / 475.9 MB, free: 98.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01866/1.029, allocations: 483 kB / 476.3 MB, free: 98.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/1.029, allocations: 9.75 kB / 476.3 MB, free: 98.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02797/1.057, allocations: 9.735 MB / 486.1 MB, free: 90.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.057, allocations: 0 / 486.1 MB, free: 90.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/1.071, allocations: 0.7304 MB / 486.8 MB, free: 90.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/1.071, allocations: 91.92 kB / 486.9 MB, free: 90.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/1.071, allocations: 9.297 kB / 486.9 MB, free: 90.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/1.072, allocations: 10.67 kB / 486.9 MB, free: 90.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/1.072, allocations: 43.73 kB / 487 MB, free: 90.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/1.072, allocations: 17.08 kB / 487 MB, free: 90.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002281/1.073, allocations: 167.6 kB / 487.1 MB, free: 90.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.073, allocations: 0 / 487.1 MB, free: 90.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008652/1.073, allocations: 93.44 kB / 487.2 MB, free: 90.6 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 (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.01411/1.088, allocations: 1.286 MB / 488.5 MB, free: 89.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02558/1.113, allocations: 0.7804 MB / 489.3 MB, free: 89.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.113, allocations: 0 / 489.3 MB, free: 89.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003638/1.117, allocations: 0.5394 MB / 489.8 MB, free: 89.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/1.117, allocations: 32.09 kB / 489.9 MB, free: 89.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007401/1.125, allocations: 2.172 MB / 492 MB, free: 88.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/1.125, allocations: 0.7587 MB / 492.8 MB, free: 87.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/1.125, allocations: 44.14 kB / 492.8 MB, free: 87.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/1.125, allocations: 3.844 kB / 492.8 MB, free: 87.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3/4.125, allocations: 7.997 MB / 0.4891 GB, free: 80.39 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.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat