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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.538/2.538, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.506e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3637, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.5296, allocations: 84.89 MB / 443 MB, free: 9.844 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003932/0.5301, allocations: 99.86 kB / 443.1 MB, free: 9.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03815/0.5682, allocations: 7.584 MB / 450.7 MB, free: 2.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5683, allocations: 0 / 450.7 MB, free: 2.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.5683, allocations: 4 kB / 450.7 MB, free: 2.121 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.0009608/0.5693, allocations: 448 kB / 451.2 MB, free: 1.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.5694, allocations: 11.97 kB / 451.2 MB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/0.573, allocations: 195.5 kB / 451.4 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.5736, allocations: 232.1 kB / 451.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.5737, allocations: 4 kB / 451.6 MB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.5737, allocations: 4 kB / 451.6 MB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009176/0.5747, allocations: 324 kB / 451.9 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/0.5754, allocations: 319.8 kB / 452.2 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.5755, allocations: 0 / 452.2 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.5755, allocations: 3.938 kB / 452.2 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-05/0.5756, allocations: 27.89 kB / 452.3 MB, free: 500 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.5784, allocations: 0.7281 MB / 453 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/0.5793, allocations: 330.2 kB / 453.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.5796, allocations: 108.7 kB / 453.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/0.5797, allocations: 11.91 kB / 453.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.5798, allocations: 30.56 kB / 453.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 3.627e-06/0.5798, allocations: 0 / 453.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009451/0.5807, allocations: 277.5 kB / 453.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.5808, allocations: 55.36 kB / 453.8 MB, free: 14.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.581, allocations: 140 kB / 453.9 MB, free: 14.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.5811, allocations: 29.7 kB / 453.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.5812, allocations: 198.5 kB / 454.1 MB, free: 14.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.5813, allocations: 35.45 kB / 454.2 MB, free: 14.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.5814, allocations: 0 / 454.2 MB, free: 14.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5815, allocations: 322.8 kB / 454.5 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.5819, allocations: 99.88 kB / 454.6 MB, free: 14.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.5822, allocations: 139.2 kB / 454.7 MB, free: 13.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.5826, allocations: 131.8 kB / 454.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5826, allocations: 0 / 454.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009371/0.5836, allocations: 305.2 kB / 455.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.5836, allocations: 4 kB / 455.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5836, allocations: 4 kB / 455.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.5837, allocations: 0 / 455.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05539/0.6391, allocations: 1.509 MB / 456.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03994/0.6791, allocations: 10.02 MB / 466.7 MB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.6798, allocations: 24.06 kB / 466.7 MB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.6799, allocations: 19.97 kB / 466.7 MB, free: 1.184 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.0001791/0.6801, allocations: 108.9 kB / 466.8 MB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008757/0.681, allocations: 277.4 kB / 467.1 MB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.6811, allocations: 11.84 kB / 467.1 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.6813, allocations: 24.75 kB / 467.1 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.6813, allocations: 7.984 kB / 467.2 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6813, allocations: 7.891 kB / 467.2 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6813, allocations: 3.938 kB / 467.2 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.6819, allocations: 254 kB / 467.4 MB, free: 468 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6819, allocations: 0 / 467.4 MB, free: 468 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3838/1.066, allocations: 1.505 MB / 468.9 MB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/1.066, allocations: 0 / 468.9 MB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/1.066, allocations: 13.5 kB / 468.9 MB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0446/1.111, allocations: 10.01 MB / 478.9 MB, free: 94.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.111, allocations: 3.891 kB / 478.9 MB, free: 94.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/1.112, allocations: 372.4 kB / 479.3 MB, free: 94.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/1.112, allocations: 90.53 kB / 479.4 MB, free: 93.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/1.112, allocations: 1.812 kB / 479.4 MB, free: 93.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008719/1.113, allocations: 14.7 kB / 479.4 MB, free: 93.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003917/1.113, allocations: 48.25 kB / 479.5 MB, free: 93.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/1.113, allocations: 20.34 kB / 479.5 MB, free: 93.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001919/1.114, allocations: 117 kB / 479.6 MB, free: 93.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.114, allocations: 0 / 479.6 MB, free: 93.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001538/1.115, allocations: 98.78 kB / 479.7 MB, free: 93.9 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 () * 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.001629/1.117, allocations: 0.9452 MB / 480.6 MB, free: 93.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.05718/1.174, allocations: 1.265 MB / 481.9 MB, free: 93.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.174, allocations: 0 / 481.9 MB, free: 93.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04199/1.216, allocations: 1.159 MB / 483.1 MB, free: 93.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/1.217, allocations: 17.22 kB / 483.1 MB, free: 93.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/1.223, allocations: 0.5533 MB / 483.6 MB, free: 92.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/1.223, allocations: 0.7359 MB / 484.4 MB, free: 92.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/1.223, allocations: 41.89 kB / 484.4 MB, free: 92.08 MB / 394.7 MB Notification: Performance of SimCode: time 9.61e-07/1.223, allocations: 1.594 kB / 484.4 MB, free: 92.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.237/4.46, allocations: 6.927 MB / 491.3 MB, free: 86.38 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_KC_res.mat does not exist to compare? outputFormat=mat