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_overall.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_overall,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.544/2.544, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.562e-05/4.574e-05, allocations: 4 kB / 309.8 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.407, allocations: 54.84 MB / 364.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.5719, allocations: 87.33 MB / 452 MB, free: 9.125 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/0.5723, allocations: 99.92 kB / 452.1 MB, free: 9.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08948/0.6618, allocations: 8.989 MB / 461.1 MB, free: 40 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6618, allocations: 0 / 461.1 MB, free: 40 kB / 378.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.6619, allocations: 4 kB / 461.1 MB, free: 36 kB / 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.00183/0.6637, allocations: 0.4981 MB / 461.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.767e-05/0.6638, allocations: 11.97 kB / 461.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.664, allocations: 46.55 kB / 461.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.6641, allocations: 23.72 kB / 461.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.6646, allocations: 210.8 kB / 461.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.6646, allocations: 12.22 kB / 461.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.6647, allocations: 12 kB / 461.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005321/0.67, allocations: 234.7 kB / 462.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.6701, allocations: 0 / 462.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.6701, allocations: 7.953 kB / 462.1 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.617e-05/0.6702, allocations: 20.16 kB / 462.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007172/0.6709, allocations: 164.5 kB / 462.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.6733, allocations: 0.8218 MB / 463.1 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/0.6739, allocations: 175.7 kB / 463.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.6742, allocations: 74.53 kB / 463.4 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.188e-05/0.6743, allocations: 11.94 kB / 463.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.6743, allocations: 34.69 kB / 463.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 4.588e-06/0.6743, allocations: 0 / 463.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009287/0.6753, allocations: 177.2 kB / 463.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.6754, allocations: 110.9 kB / 463.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.6759, allocations: 228.8 kB / 463.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.676, allocations: 25.7 kB / 463.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.6762, allocations: 194 kB / 464.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.745e-05/0.6762, allocations: 47.39 kB / 464.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.6763, allocations: 0 / 464.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6764, allocations: 314.8 kB / 464.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.6767, allocations: 63.94 kB / 464.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.677, allocations: 110.8 kB / 464.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.6772, allocations: 67.94 kB / 464.7 MB, free: 12.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.6773, allocations: 4 kB / 464.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006777/0.678, allocations: 217.2 kB / 464.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.678, allocations: 4 kB / 464.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.64e-05/0.678, allocations: 11.98 kB / 464.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.6781, allocations: 4 kB / 464.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.6786, allocations: 48.12 kB / 465 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.6786, allocations: 7.938 kB / 465 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.6791, allocations: 35.81 kB / 465 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.6791, allocations: 11.98 kB / 465 MB, free: 11.75 MB / 394.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 () * 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.0001162/0.6793, allocations: 109 kB / 465.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.6794, allocations: 19.77 kB / 465.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.6801, allocations: 203.3 kB / 465.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.6801, allocations: 4 kB / 465.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6801, allocations: 0 / 465.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6801, allocations: 0 / 465.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.6807, allocations: 257.5 kB / 465.6 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/0.6808, allocations: 8 kB / 465.6 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.6812, allocations: 39.89 kB / 465.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.6812, allocations: 4 kB / 465.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.6813, allocations: 7.953 kB / 465.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.6813, allocations: 7.938 kB / 465.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6813, allocations: 0 / 465.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.682, allocations: 446.6 kB / 466.1 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.6821, allocations: 104.8 kB / 466.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.6821, allocations: 4 kB / 466.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.6826, allocations: 19.98 kB / 466.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.6827, allocations: 15.97 kB / 466.3 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.6828, allocations: 8 kB / 466.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002911/0.6831, allocations: 193.3 kB / 466.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6831, allocations: 4 kB / 466.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006982/0.6838, allocations: 99.86 kB / 466.6 MB, free: 10.12 MB / 394.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 () * 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.001503/0.6853, allocations: 1.23 MB / 467.8 MB, free: 8.852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006423/0.686, allocations: 224.9 kB / 468 MB, free: 8.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.686, allocations: 320 / 468 MB, free: 8.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.6863, allocations: 161 kB / 468.2 MB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.6869, allocations: 29.19 kB / 468.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.6886, allocations: 439.4 kB / 468.6 MB, free: 7.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.6891, allocations: 0.7478 MB / 469.4 MB, free: 7.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.6894, allocations: 59.36 kB / 469.4 MB, free: 7.102 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6894, allocations: 0 / 469.4 MB, free: 7.102 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.62/3.309, allocations: 4.889 MB / 474.3 MB, free: 2.227 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_overall_res.mat does not exist to compare? outputFormat=mat