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.808/2.808, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.797e-05, allocations: 0 / 309.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4162, allocations: 54.86 MB / 364.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.5766, allocations: 85.56 MB / 450.2 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/0.577, allocations: 91.94 kB / 450.3 MB, free: 10.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0375/0.6145, allocations: 7.666 MB / 458 MB, free: 3.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6146, allocations: 0 / 458 MB, free: 3.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.6146, allocations: 4 kB / 458 MB, free: 3.133 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.0007937/0.6154, allocations: 438 kB / 458.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.6155, allocations: 15.97 kB / 458.4 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.921e-05/0.6156, allocations: 50.55 kB / 458.5 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/0.6191, allocations: 191.5 kB / 458.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.6196, allocations: 234.7 kB / 458.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.6196, allocations: 11.98 kB / 458.9 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.6197, allocations: 4 kB / 458.9 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008568/0.6206, allocations: 339.7 kB / 459.2 MB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.6206, allocations: 0 / 459.2 MB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.6207, allocations: 15.92 kB / 459.2 MB, free: 1.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/0.6207, allocations: 23.94 kB / 459.3 MB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.6217, allocations: 349 kB / 459.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.6245, allocations: 0.7981 MB / 460.4 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.6255, allocations: 334.2 kB / 460.7 MB, free: 204 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.6259, allocations: 109.5 kB / 460.8 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/0.626, allocations: 4 kB / 460.8 MB, free: 88 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.626, allocations: 38.5 kB / 460.9 MB, free: 40 kB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.926e-06/0.626, allocations: 0 / 460.9 MB, free: 40 kB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001027/0.6271, allocations: 290 kB / 461.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.6271, allocations: 55.41 kB / 461.2 MB, free: 15.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.6275, allocations: 205.6 kB / 461.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.6275, allocations: 29.7 kB / 461.4 MB, free: 15.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.6277, allocations: 178.4 kB / 461.6 MB, free: 15.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.557e-05/0.6277, allocations: 47.3 kB / 461.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.6278, allocations: 4 kB / 461.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6279, allocations: 314.8 kB / 462 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.6283, allocations: 111.9 kB / 462.1 MB, free: 14.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.6287, allocations: 140.8 kB / 462.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.6291, allocations: 137.2 kB / 462.4 MB, free: 14.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6292, allocations: 0 / 462.4 MB, free: 14.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001015/0.6302, allocations: 305.3 kB / 462.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.6302, allocations: 8 kB / 462.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6302, allocations: 0 / 462.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.6303, allocations: 8.047 kB / 462.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05639/0.6867, allocations: 1.509 MB / 464.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04072/0.7275, allocations: 10.39 MB / 474.6 MB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/0.7283, allocations: 23.97 kB / 474.6 MB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.7283, allocations: 19.91 kB / 474.6 MB, free: 1.43 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.0001671/0.7285, allocations: 116.9 kB / 474.7 MB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.761e-05/0.7286, allocations: 19.75 kB / 474.7 MB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.7288, allocations: 33.73 kB / 474.8 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.7288, allocations: 0 / 474.8 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.7288, allocations: 0 / 474.8 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7288, allocations: 0 / 474.8 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.7294, allocations: 297.3 kB / 475.1 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7294, allocations: 4 kB / 475.1 MB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.06058/0.79, allocations: 1.501 MB / 476.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.79, allocations: 0 / 476.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.7902, allocations: 15.97 kB / 476.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04966/0.8399, allocations: 10.4 MB / 487 MB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.8399, allocations: 3.953 kB / 487 MB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.8413, allocations: 379.3 kB / 487.4 MB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.8415, allocations: 101.1 kB / 487.5 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.8416, allocations: 4 kB / 487.5 MB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000958/0.8426, allocations: 15.98 kB / 487.5 MB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/0.843, allocations: 47.83 kB / 487.5 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-05/0.8431, allocations: 19.92 kB / 487.5 MB, free: 3.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003577/0.8434, allocations: 168.4 kB / 487.7 MB, free: 3.441 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.8435, allocations: 0 / 487.7 MB, free: 3.441 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001275/0.8448, allocations: 108 kB / 487.8 MB, free: 3.336 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): 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.00186/0.8466, allocations: 0.9463 MB / 488.8 MB, free: 2.363 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.04393/0.8906, allocations: 1.268 MB / 490 MB, free: 1.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.8907, allocations: 4 kB / 490 MB, free: 1.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04353/0.9342, allocations: 1.162 MB / 491.2 MB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.9348, allocations: 40.39 kB / 491.2 MB, free: 15.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/0.9413, allocations: 0.5801 MB / 491.8 MB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.9417, allocations: 0.7477 MB / 492.6 MB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.9418, allocations: 43.42 kB / 492.6 MB, free: 14.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/0.9419, allocations: 0 / 492.6 MB, free: 14.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.166/4.108, allocations: 7.309 MB / 499.9 MB, free: 7.137 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