Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01991/0.01991, allocations: 106.2 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001685/0.001685, allocations: 186.3 kB / 15.95 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.022/2.022, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.249/2.249, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007474/0.0007476, allocations: 16 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7256, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/0.9592, allocations: 123.8 MB / 0.8043 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.9595, allocations: 75.95 kB / 0.8044 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00187/0.9614, allocations: 0.5567 MB / 0.805 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.484e-06/0.9615, allocations: 0 / 0.805 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.9615, allocations: 0 / 0.805 GB, free: 1.719 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003518/0.9619, allocations: 353.1 kB / 0.8053 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.9619, allocations: 8.031 kB / 0.8053 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.962, allocations: 30.56 kB / 0.8053 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.9621, allocations: 8 kB / 0.8053 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.9622, allocations: 167 kB / 0.8055 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.9622, allocations: 3.938 kB / 0.8055 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.9622, allocations: 0 / 0.8055 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.9624, allocations: 53.67 kB / 0.8055 GB, free: 1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.9625, allocations: 7.938 kB / 0.8056 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.9625, allocations: 4 kB / 0.8056 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.9625, allocations: 4 kB / 0.8056 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.9626, allocations: 23.92 kB / 0.8056 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.963, allocations: 264.8 kB / 0.8058 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/0.9631, allocations: 18.58 kB / 0.8059 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.9631, allocations: 0 / 0.8059 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.9632, allocations: 38.5 kB / 0.8059 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.9632, allocations: 0 / 0.8059 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002554/0.9634, allocations: 71.41 kB / 0.806 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.9635, allocations: 81.11 kB / 0.806 GB, free: 408 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.9637, allocations: 104.9 kB / 0.8061 GB, free: 296 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.9637, allocations: 29.7 kB / 0.8062 GB, free: 260 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.9638, allocations: 107.8 kB / 0.8063 GB, free: 148 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.9638, allocations: 4 kB / 0.8063 GB, free: 144 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.9638, allocations: 0 / 0.8063 GB, free: 144 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.964, allocations: 319 kB / 0.8066 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.964, allocations: 11.98 kB / 0.8066 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.03e-05/0.9641, allocations: 58.8 kB / 0.8066 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.9642, allocations: 45.7 kB / 0.8067 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9642, allocations: 0 / 0.8067 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002218/0.9644, allocations: 115.2 kB / 0.8068 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.9645, allocations: 37.69 kB / 0.8068 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.9645, allocations: 4.25 kB / 0.8068 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.9646, allocations: 7.953 kB / 0.8068 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.9647, allocations: 12 kB / 0.8069 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.9647, allocations: 0 / 0.8069 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/0.9648, allocations: 15.84 kB / 0.8069 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.9648, allocations: 12 kB / 0.8069 GB, free: 15.46 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001165/0.965, allocations: 143.5 kB / 0.807 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.965, allocations: 8 kB / 0.807 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.965, allocations: 3.531 kB / 0.807 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.9651, allocations: 4 kB / 0.807 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9651, allocations: 7.891 kB / 0.807 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.9651, allocations: 0 / 0.807 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.9653, allocations: 149.7 kB / 0.8072 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.9653, allocations: 0 / 0.8072 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.9653, allocations: 4 kB / 0.8072 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.9653, allocations: 0 / 0.8072 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.9653, allocations: 0 / 0.8072 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.9653, allocations: 3.984 kB / 0.8072 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9653, allocations: 0 / 0.8072 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.9655, allocations: 173.1 kB / 0.8074 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.9656, allocations: 81.11 kB / 0.8074 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.9656, allocations: 7.984 kB / 0.8074 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.9657, allocations: 3.938 kB / 0.8074 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.9657, allocations: 3.984 kB / 0.8075 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.9657, allocations: 4 kB / 0.8075 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.9658, allocations: 95.67 kB / 0.8075 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9658, allocations: 4.031 kB / 0.8076 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003225/0.9662, allocations: 16 kB / 0.8076 GB, free: 14.65 MB / 0.6355 GB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0005233/0.9667, allocations: 0.6971 MB / 0.8082 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.9669, allocations: 91.42 kB / 0.8083 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.9669, allocations: 0 / 0.8083 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.967, allocations: 55.41 kB / 0.8084 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.9671, allocations: 8 kB / 0.8084 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.9676, allocations: 144.3 kB / 0.8085 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.9679, allocations: 0.677 MB / 0.8092 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.16e-05/0.968, allocations: 20.59 kB / 0.8092 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.968, allocations: 11.44 kB / 0.8092 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of SimCode: time 8.01e-07/0.968, allocations: 0 / 0.8092 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.9873, allocations: 1.208 MB / 0.8104 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003112/0.9877, allocations: 194.1 kB / 0.8106 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.439, allocations: 0 / 0.8106 GB, free: 11.5 MB / 0.6355 GB