Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Average.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.Examples.Average,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_Average",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.01132/0.01132, 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.001287/0.001288, 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.034/2.034, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.338/2.338, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004971, allocations: 15.98 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6761/0.6767, allocations: 98.72 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2661/0.9428, allocations: 124.7 MB / 0.8052 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.9432, allocations: 75.95 kB / 0.8053 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004914/0.9481, allocations: 1.107 MB / 0.8064 GB, free: 416 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9481, allocations: 0 / 0.8064 GB, free: 416 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.9482, allocations: 8 kB / 0.8064 GB, free: 408 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000739/0.9489, allocations: 379.2 kB / 0.8067 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.949, allocations: 8.031 kB / 0.8067 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.949, allocations: 30.56 kB / 0.8068 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.9491, allocations: 7.906 kB / 0.8068 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.9494, allocations: 194.8 kB / 0.807 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.9494, allocations: 8 kB / 0.807 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.9494, allocations: 0 / 0.807 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.9499, allocations: 105.6 kB / 0.8071 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.9499, allocations: 0 / 0.8071 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.9499, allocations: 3.938 kB / 0.8071 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.95, allocations: 4 kB / 0.8071 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00059/0.9506, allocations: 103.8 kB / 0.8072 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.9514, allocations: 340.6 kB / 0.8075 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.9518, allocations: 74.53 kB / 0.8076 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.9518, allocations: 0 / 0.8076 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.9519, allocations: 30.56 kB / 0.8076 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.9519, allocations: 0 / 0.8076 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.00105/0.9529, allocations: 181.7 kB / 0.8078 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.953, allocations: 55.39 kB / 0.8078 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.9531, allocations: 101 kB / 0.8079 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.9532, allocations: 29.69 kB / 0.808 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.9533, allocations: 99.98 kB / 0.808 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.9533, allocations: 3.906 kB / 0.8081 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.9533, allocations: 4 kB / 0.8081 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.9535, allocations: 318.8 kB / 0.8084 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.9538, allocations: 43.97 kB / 0.8084 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.9541, allocations: 47.95 kB / 0.8084 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.9544, allocations: 43.95 kB / 0.8085 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.9544, allocations: 4 kB / 0.8085 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006622/0.9551, allocations: 125.5 kB / 0.8086 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.9551, allocations: 8 kB / 0.8086 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.9551, allocations: 0 / 0.8086 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.9552, allocations: 0 / 0.8086 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.9554, allocations: 31.92 kB / 0.8087 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.9554, allocations: 0 / 0.8087 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.9556, allocations: 19.98 kB / 0.8087 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.9556, allocations: 0 / 0.8087 GB, free: 13.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.000116/0.9558, allocations: 113.8 kB / 0.8088 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.9558, allocations: 4 kB / 0.8088 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/0.9565, allocations: 141.4 kB / 0.8089 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.9566, allocations: 0 / 0.8089 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.9566, allocations: 11.89 kB / 0.8089 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9566, allocations: 0 / 0.8089 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.9568, allocations: 177.5 kB / 0.8091 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9569, allocations: 4 kB / 0.8091 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.9571, allocations: 23.97 kB / 0.8091 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.9571, allocations: 0 / 0.8091 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.9571, allocations: 4.375 kB / 0.8091 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.9571, allocations: 0 / 0.8091 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9571, allocations: 0 / 0.8091 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006771/0.9578, allocations: 227.4 kB / 0.8093 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.9579, allocations: 89.02 kB / 0.8094 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.9579, allocations: 3.938 kB / 0.8094 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.9581, allocations: 15.98 kB / 0.8095 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.9582, allocations: 7.922 kB / 0.8095 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.9582, allocations: 4 kB / 0.8095 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.95e-05/0.9583, allocations: 91.27 kB / 0.8095 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9583, allocations: 4 kB / 0.8096 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003019/0.9586, allocations: 15.89 kB / 0.8096 GB, free: 12.8 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.001005/0.9596, allocations: 0.7554 MB / 0.8103 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006298/0.9603, allocations: 95.86 kB / 0.8104 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9603, allocations: 0 / 0.8104 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.9606, allocations: 55.95 kB / 0.8105 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.9609, allocations: 6.656 kB / 0.8105 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.9627, allocations: 0.5755 MB / 0.811 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.963, allocations: 0.6965 MB / 0.8117 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.699e-05/0.9631, allocations: 7.984 kB / 0.8117 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.9631, allocations: 19.42 kB / 0.8117 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.9631, allocations: 0 / 0.8117 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.989, allocations: 1.457 MB / 0.8131 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003984/0.9895, allocations: 171.9 kB / 0.8133 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/3.656, allocations: 0 / 0.8133 GB, free: 8.902 MB / 0.6355 GB