Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01318/0.01319, allocations: 89.84 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001665/0.001665, allocations: 169.7 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.427/2.427, allocations: 205.5 MB / 222.2 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.351/2.351, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004804, allocations: 12 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 106.2 MB / 0.7281 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002355/0.2274, allocations: 1.288 MB / 0.7293 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2286, allocations: 0.521 MB / 0.7298 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.2287, allocations: 0 / 0.7298 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.2288, allocations: 11.88 kB / 0.7298 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.2289, allocations: 19.89 kB / 0.7299 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.2292, allocations: 31.91 kB / 0.7299 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.2293, allocations: 47.94 kB / 0.7299 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.2295, allocations: 36.19 kB / 0.73 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.2296, allocations: 31.84 kB / 0.73 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.2297, allocations: 27.86 kB / 0.73 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.2297, allocations: 4 kB / 0.73 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.2298, allocations: 7.984 kB / 0.73 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.2299, allocations: 15.92 kB / 0.7301 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.2299, allocations: 41.64 kB / 0.7301 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.2301, allocations: 56.17 kB / 0.7301 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2301, allocations: 0 / 0.7301 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2301, allocations: 0 / 0.7301 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2301, allocations: 0 / 0.7301 GB, free: 8.027 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006728/0.2308, allocations: 399 kB / 0.7305 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2309, allocations: 8.031 kB / 0.7305 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.2309, allocations: 34.56 kB / 0.7306 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.231, allocations: 19.77 kB / 0.7306 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.2312, allocations: 183 kB / 0.7308 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.2313, allocations: 11.94 kB / 0.7308 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.2313, allocations: 4 kB / 0.7308 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.2317, allocations: 121.6 kB / 0.7309 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2317, allocations: 0 / 0.7309 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2317, allocations: 0 / 0.7309 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2317, allocations: 0 / 0.7309 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.2322, allocations: 111.9 kB / 0.731 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.2331, allocations: 388.5 kB / 0.7314 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.2333, allocations: 70.5 kB / 0.7314 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.2334, allocations: 3.984 kB / 0.7314 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.2334, allocations: 30.56 kB / 0.7315 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/0.2335, allocations: 8 kB / 0.7315 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0007796/0.2343, allocations: 185.6 kB / 0.7317 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.2343, allocations: 55.41 kB / 0.7317 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.2345, allocations: 134 kB / 0.7318 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.2345, allocations: 25.7 kB / 0.7319 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.2346, allocations: 104.2 kB / 0.732 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.2346, allocations: 19.8 kB / 0.732 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.2347, allocations: 4 kB / 0.732 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2348, allocations: 314.8 kB / 0.7323 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.235, allocations: 51.97 kB / 0.7323 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.2352, allocations: 47.91 kB / 0.7324 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.2355, allocations: 51.97 kB / 0.7324 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2355, allocations: 0 / 0.7324 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005191/0.236, allocations: 137.4 kB / 0.7326 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2361, allocations: 8 kB / 0.7326 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2361, allocations: 0 / 0.7326 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2361, allocations: 7.938 kB / 0.7326 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.2364, allocations: 23.97 kB / 0.7326 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2364, allocations: 0 / 0.7326 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.2365, allocations: 8 kB / 0.7326 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.2366, allocations: 7.984 kB / 0.7326 GB, free: 5.277 MB / 0.5573 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 (6): * Single equations (assignments): 6 * 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.0001252/0.2367, allocations: 117.8 kB / 0.7327 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.2368, allocations: 15.86 kB / 0.7327 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005928/0.2374, allocations: 150.3 kB / 0.7329 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2374, allocations: 3.984 kB / 0.7329 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2374, allocations: 0 / 0.7329 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2374, allocations: 8 kB / 0.7329 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.2378, allocations: 201.6 kB / 0.7331 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2378, allocations: 0 / 0.7331 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.238, allocations: 19.98 kB / 0.7331 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.238, allocations: 0 / 0.7331 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.238, allocations: 8.438 kB / 0.7331 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.238, allocations: 0 / 0.7331 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.238, allocations: 0 / 0.7331 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.2386, allocations: 243.3 kB / 0.7333 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.2387, allocations: 92.94 kB / 0.7334 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.2387, allocations: 0 / 0.7334 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.2389, allocations: 19.94 kB / 0.7335 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.239, allocations: 4 kB / 0.7335 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.239, allocations: 7.984 kB / 0.7335 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001282/0.2392, allocations: 102.2 kB / 0.7336 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2392, allocations: 0 / 0.7336 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000347/0.2395, allocations: 19.91 kB / 0.7336 GB, free: 4.188 MB / 0.5573 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 (6): * Single equations (assignments): 6 * 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.001887/0.2414, allocations: 0.7709 MB / 0.7343 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005369/0.242, allocations: 111.9 kB / 0.7344 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.242, allocations: 0 / 0.7344 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.2423, allocations: 67.95 kB / 0.7345 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.2425, allocations: 7.891 kB / 0.7345 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.2443, allocations: 0.7142 MB / 0.7352 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.2447, allocations: 0.7087 MB / 0.7359 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.2448, allocations: 19.97 kB / 0.7359 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.2449, allocations: 23.42 kB / 0.7359 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of SimCode: time 9.72e-07/0.2449, allocations: 0 / 0.7359 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.2652, allocations: 1.688 MB / 0.7376 GB, free: 92 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.2655, allocations: 175.6 kB / 0.7378 GB, free: 15.86 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/2.783, allocations: 0 / 0.7378 GB, free: 15.86 MB / 0.573 GB