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_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.237/2.237, allocations: 234.9 MB / 250.5 MB, free: 9.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004376, allocations: 12 kB / 314.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3556, allocations: 54.86 MB / 369.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.5272, allocations: 85.67 MB / 455 MB, free: 6.992 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004969/0.5278, allocations: 91.94 kB / 455.1 MB, free: 6.902 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03974/0.5676, allocations: 7.642 MB / 462.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5676, allocations: 0 / 462.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.5676, allocations: 4 kB / 462.8 MB, free: 15.21 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008205/0.5685, allocations: 462.6 kB / 463.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5685, allocations: 8.031 kB / 463.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.389e-05/0.5686, allocations: 54.53 kB / 463.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/0.572, allocations: 199.5 kB / 463.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.5724, allocations: 234.8 kB / 463.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.5724, allocations: 8 kB / 463.7 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.5725, allocations: 8 kB / 463.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/0.5735, allocations: 359.6 kB / 464.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5735, allocations: 0 / 464.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.5735, allocations: 8 kB / 464.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.5736, allocations: 11.98 kB / 464.1 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.5748, allocations: 399.5 kB / 464.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/0.5774, allocations: 0.7929 MB / 465.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.5785, allocations: 354.2 kB / 465.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.5785, allocations: 3.984 kB / 465.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.5786, allocations: 30.56 kB / 465.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.5786, allocations: 0 / 465.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.001622/0.5802, allocations: 457.2 kB / 466.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.5803, allocations: 55.41 kB / 466.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.5806, allocations: 203.2 kB / 466.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.5806, allocations: 25.7 kB / 466.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5808, allocations: 186.3 kB / 466.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.5809, allocations: 47.34 kB / 466.6 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.5809, allocations: 4 kB / 466.6 MB, free: 11.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.581, allocations: 314.9 kB / 466.9 MB, free: 10.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.5815, allocations: 131.8 kB / 467.1 MB, free: 10.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.582, allocations: 163.2 kB / 467.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.5825, allocations: 143.8 kB / 467.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5825, allocations: 0 / 467.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001222/0.5838, allocations: 357.8 kB / 467.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.5838, allocations: 7.938 kB / 467.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5838, allocations: 0 / 467.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5839, allocations: 4 kB / 467.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05407/0.6379, allocations: 1.509 MB / 469.2 MB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04479/0.6828, allocations: 10.68 MB / 479.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.6835, allocations: 36.11 kB / 479.9 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.6836, allocations: 15.97 kB / 480 MB, free: 12.97 MB / 410.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.0002324/0.6838, allocations: 145.7 kB / 480.1 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.6839, allocations: 19.8 kB / 480.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.6841, allocations: 33.52 kB / 480.2 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6841, allocations: 4 kB / 480.2 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.6841, allocations: 64 / 480.2 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.6841, allocations: 4 kB / 480.2 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.6846, allocations: 285.4 kB / 480.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.6847, allocations: 3.953 kB / 480.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.054/0.7387, allocations: 1.505 MB / 482 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.7387, allocations: 0 / 482 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.7388, allocations: 15.97 kB / 482 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0451/0.7839, allocations: 10.68 MB / 492.6 MB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.784, allocations: 4.312 kB / 492.6 MB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.7852, allocations: 411 kB / 493 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/0.7853, allocations: 100.8 kB / 493.1 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.7854, allocations: 8.062 kB / 493.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.786, allocations: 15.98 kB / 493.2 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/0.7863, allocations: 51.83 kB / 493.2 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.7863, allocations: 11.97 kB / 493.2 MB, free: 14.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002415/0.7866, allocations: 167.2 kB / 493.4 MB, free: 14.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7866, allocations: 0 / 493.4 MB, free: 14.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009043/0.7875, allocations: 108 kB / 493.5 MB, free: 14.53 MB / 426.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): 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 Backend phase and start with SimCode phase: time 0.001595/0.7892, allocations: 0.9892 MB / 494.5 MB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04253/0.8317, allocations: 1.311 MB / 495.8 MB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.8317, allocations: 4 kB / 495.8 MB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04209/0.8738, allocations: 1.174 MB / 497 MB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.8744, allocations: 39.84 kB / 497 MB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009062/0.8835, allocations: 2.114 MB / 499.1 MB, free: 8.785 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.8839, allocations: 0.7436 MB / 499.9 MB, free: 8.016 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.8841, allocations: 47.42 kB / 499.9 MB, free: 7.969 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.8841, allocations: 0 / 499.9 MB, free: 7.969 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.961/3.845, allocations: 7.344 MB / 0.4954 GB, free: 0.6367 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_overall_KC_res.mat does not exist to compare? outputFormat=mat