Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0",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.01026/0.01027, allocations: 90.27 kB / 15.04 MB, free: 5.582 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.001192/0.001192, allocations: 173.1 kB / 15.92 MB, free: 5.555 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.256/2.256, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.628/2.628, allocations: 252.8 MB / 0.511 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005301/0.0005304, allocations: 13.16 kB / 0.6243 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2397, allocations: 106.2 MB / 0.7281 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0008952/0.2407, allocations: 329 kB / 0.7284 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004931/0.2412, allocations: 169.1 kB / 0.7285 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.02e-05/0.2412, allocations: 0 / 0.7285 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.091e-05/0.2412, allocations: 0 / 0.7285 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-06/0.2412, allocations: 0 / 0.7285 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.2416, allocations: 39.89 kB / 0.7286 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 3.148e-05/0.2416, allocations: 4 kB / 0.7286 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.2417, allocations: 3.984 kB / 0.7286 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.2417, allocations: 0 / 0.7286 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.081e-05/0.2418, allocations: 7.938 kB / 0.7286 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.573e-06/0.2418, allocations: 0 / 0.7286 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.242, allocations: 59.94 kB / 0.7287 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.102e-06/0.242, allocations: 0 / 0.7287 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.242, allocations: 25.7 kB / 0.7287 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.998e-05/0.2422, allocations: 19.97 kB / 0.7287 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2422, allocations: 0 / 0.7287 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2422, allocations: 4 kB / 0.7287 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2422, allocations: 0 / 0.7287 GB, free: 7.438 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003014/0.2425, allocations: 319.4 kB / 0.729 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2426, allocations: 15.97 kB / 0.729 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.2426, allocations: 30.56 kB / 0.7291 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.827e-05/0.2426, allocations: 0 / 0.7291 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2427, allocations: 167 kB / 0.7292 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2428, allocations: 0 / 0.7292 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.2428, allocations: 0 / 0.7292 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.2429, allocations: 37.69 kB / 0.7293 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2429, allocations: 4 kB / 0.7293 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.2429, allocations: 0 / 0.7293 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2429, allocations: 0 / 0.7293 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.243, allocations: 0 / 0.7293 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.2431, allocations: 153.7 kB / 0.7294 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/0.2432, allocations: 18.52 kB / 0.7294 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009854/0.2442, allocations: 461.5 kB / 0.7299 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.2442, allocations: 34.56 kB / 0.7299 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.2442, allocations: 0 / 0.7299 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001452/0.2444, allocations: 29.7 kB / 0.7299 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.2444, allocations: 51.41 kB / 0.73 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.975e-05/0.2445, allocations: 93.98 kB / 0.7301 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2445, allocations: 29.7 kB / 0.7301 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.2446, allocations: 80.14 kB / 0.7302 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.2446, allocations: 3.984 kB / 0.7302 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.2446, allocations: 0 / 0.7302 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2447, allocations: 318.8 kB / 0.7305 GB, free: 5.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.2448, allocations: 7.938 kB / 0.7305 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.2448, allocations: 4 kB / 0.7305 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.468e-05/0.2448, allocations: 4.062 kB / 0.7305 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2448, allocations: 0 / 0.7305 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.527e-05/0.2449, allocations: 29.7 kB / 0.7305 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2449, allocations: 11.12 kB / 0.7305 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.245, allocations: 0 / 0.7305 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.245, allocations: 0 / 0.7305 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/0.245, allocations: 0 / 0.7305 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.245, allocations: 3.984 kB / 0.7305 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.2451, allocations: 0 / 0.7305 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2451, allocations: 4 kB / 0.7305 GB, free: 5.254 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 (1): * Single equations (assignments): 1 * 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 7.568e-05/0.2452, allocations: 117.8 kB / 0.7306 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.2452, allocations: 0 / 0.7306 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/0.2453, allocations: 44.72 kB / 0.7307 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2453, allocations: 0 / 0.7307 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2453, allocations: 3.984 kB / 0.7307 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.2453, allocations: 3.984 kB / 0.7307 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.2455, allocations: 149.6 kB / 0.7308 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2455, allocations: 0 / 0.7308 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.2455, allocations: 0 / 0.7308 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2455, allocations: 4.031 kB / 0.7308 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2455, allocations: 0 / 0.7308 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2455, allocations: 4 kB / 0.7308 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2455, allocations: 0 / 0.7308 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.44e-05/0.2456, allocations: 61.06 kB / 0.7309 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.2457, allocations: 81.06 kB / 0.731 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.2457, allocations: 0 / 0.731 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.524e-05/0.2457, allocations: 8.031 kB / 0.731 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.2457, allocations: 0 / 0.731 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.2458, allocations: 4 kB / 0.731 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.2458, allocations: 79.22 kB / 0.7311 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2458, allocations: 0 / 0.7311 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002762/0.2461, allocations: 15.98 kB / 0.7311 GB, free: 4.586 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 (1): * Single equations (assignments): 1 * 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.000526/0.2466, allocations: 0.6202 MB / 0.7317 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.062e-05/0.2467, allocations: 7.938 kB / 0.7317 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2467, allocations: 0 / 0.7317 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.715e-05/0.2468, allocations: 8 kB / 0.7317 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.2469, allocations: 4.156 kB / 0.7317 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.2472, allocations: 108.6 kB / 0.7318 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2475, allocations: 0.6731 MB / 0.7325 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.2475, allocations: 3.984 kB / 0.7325 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.2475, allocations: 7.438 kB / 0.7325 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of SimCode: time 8.81e-07/0.2475, allocations: 0 / 0.7325 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.2666, allocations: 0.9393 MB / 0.7334 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003516/0.267, allocations: 191.1 kB / 0.7336 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.565, allocations: 0 / 0.7336 GB, free: 1.98 MB / 0.5573 GB