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.Plate.kc_turbulent.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.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.079/2.079, allocations: 209.2 MB / 224.8 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006089/0.000609, allocations: 16 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1063, allocations: 48.71 MB / 331.4 MB, free: 8.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.5053, allocations: 79.45 MB / 410.8 MB, free: 5.516 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004161/0.5057, allocations: 95.94 kB / 410.9 MB, free: 5.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03542/0.5412, allocations: 7.505 MB / 418.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5412, allocations: 0 / 418.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.5413, allocations: 4 kB / 418.4 MB, free: 13.89 MB / 346.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.001237/0.5425, allocations: 0.5026 MB / 418.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5426, allocations: 8.031 kB / 419 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.379e-05/0.5427, allocations: 54.48 kB / 419 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.5428, allocations: 19.81 kB / 419 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.5431, allocations: 218.8 kB / 419.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.5431, allocations: 12.17 kB / 419.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.5432, allocations: 19.98 kB / 419.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008473/0.5441, allocations: 270.6 kB / 419.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5441, allocations: 0 / 419.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.5441, allocations: 4 kB / 419.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.5442, allocations: 16.22 kB / 419.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.5452, allocations: 248.4 kB / 419.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.5468, allocations: 0.8295 MB / 420.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.5475, allocations: 200.5 kB / 420.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.237e-05/0.5476, allocations: 4 kB / 420.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.5476, allocations: 42.69 kB / 420.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.114e-06/0.5476, allocations: 0 / 420.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001645/0.5493, allocations: 349.4 kB / 421.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.5494, allocations: 114.7 kB / 421.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.5498, allocations: 232.1 kB / 421.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.5498, allocations: 29.7 kB / 421.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.55, allocations: 198.2 kB / 421.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.55, allocations: 35.45 kB / 421.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.5501, allocations: 0 / 421.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5502, allocations: 326.8 kB / 422.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.5507, allocations: 99.91 kB / 422.2 MB, free: 9.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/0.5512, allocations: 149 kB / 422.4 MB, free: 9.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.5518, allocations: 115.8 kB / 422.5 MB, free: 9.559 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.5518, allocations: 4 kB / 422.5 MB, free: 9.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001172/0.553, allocations: 285.4 kB / 422.8 MB, free: 9.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.553, allocations: 8 kB / 422.8 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/0.5531, allocations: 11.98 kB / 422.8 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.5531, allocations: 0 / 422.8 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.5536, allocations: 43.91 kB / 422.8 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.5536, allocations: 4 kB / 422.8 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.554, allocations: 47.92 kB / 422.9 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.5541, allocations: 7.984 kB / 422.9 MB, free: 9.148 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.5543, allocations: 137.8 kB / 423 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.5544, allocations: 23.7 kB / 423 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008179/0.5552, allocations: 240 kB / 423.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5552, allocations: 4.094 kB / 423.3 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5553, allocations: 7.875 kB / 423.3 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5553, allocations: 0 / 423.3 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.5558, allocations: 265.4 kB / 423.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/0.5559, allocations: 4 kB / 423.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.5562, allocations: 43.89 kB / 423.6 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5563, allocations: 4 kB / 423.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.5563, allocations: 4 kB / 423.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5563, allocations: 0 / 423.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5563, allocations: 0 / 423.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.5575, allocations: 0.5167 MB / 424.1 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.5577, allocations: 120.8 kB / 424.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.5577, allocations: 4 kB / 424.2 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.5582, allocations: 31.97 kB / 424.3 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.5583, allocations: 19.94 kB / 424.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.5584, allocations: 4 kB / 424.3 MB, free: 7.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002778/0.5586, allocations: 196.4 kB / 424.5 MB, free: 7.438 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5587, allocations: 0 / 424.5 MB, free: 7.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006313/0.5593, allocations: 79.83 kB / 424.6 MB, free: 7.359 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/0.5611, allocations: 1.258 MB / 425.8 MB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.5622, allocations: 305.1 kB / 426.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5623, allocations: 0 / 426.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005542/0.5628, allocations: 193.2 kB / 426.3 MB, free: 5.539 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.5634, allocations: 44.53 kB / 426.4 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.5679, allocations: 2.287 MB / 428.6 MB, free: 3.121 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.5684, allocations: 0.7439 MB / 429.4 MB, free: 2.352 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.5686, allocations: 63.41 kB / 429.4 MB, free: 2.289 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5686, allocations: 0 / 429.4 MB, free: 2.289 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.723/3.292, allocations: 4.494 MB / 433.9 MB, free: 13.8 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat does not exist to compare? outputFormat=mat