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.BesselJ1.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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.538/4.538, allocations: 433.2 MB / 440.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.551e-05, allocations: 8 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7646, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3028/1.067, allocations: 123.3 MB / 0.7493 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.068, allocations: 75.95 kB / 0.7494 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005387/1.073, allocations: 1.259 MB / 0.7506 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/1.073, allocations: 0 / 0.7506 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.073, allocations: 0 / 0.7506 GB, free: 2.938 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003122/1.073, allocations: 334.4 kB / 0.7509 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.074, allocations: 8.031 kB / 0.7509 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/1.074, allocations: 0 / 0.7509 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/1.074, allocations: 163 kB / 0.7511 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/1.074, allocations: 4 kB / 0.7511 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/1.074, allocations: 7.984 kB / 0.7511 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.78e-05/1.074, allocations: 0 / 0.7511 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.582e-05/1.074, allocations: 29.64 kB / 0.7511 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/1.074, allocations: 0 / 0.7511 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/1.074, allocations: 4 kB / 0.7511 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/1.074, allocations: 0 / 0.7511 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/1.074, allocations: 130.2 kB / 0.7513 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/1.074, allocations: 18.58 kB / 0.7513 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/1.074, allocations: 20.88 kB / 0.7513 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.075, allocations: 441.5 kB / 0.7517 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/1.075, allocations: 38.56 kB / 0.7518 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/1.075, allocations: 0 / 0.7518 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001777/1.076, allocations: 37.64 kB / 0.7518 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/1.076, allocations: 51.41 kB / 0.7518 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.149e-05/1.076, allocations: 85 kB / 0.7519 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/1.076, allocations: 25.7 kB / 0.7519 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/1.076, allocations: 80.14 kB / 0.752 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/1.076, allocations: 0 / 0.752 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/1.076, allocations: 0 / 0.752 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.076, allocations: 310.8 kB / 0.7523 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/1.076, allocations: 4.031 kB / 0.7523 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-06/1.076, allocations: 4 kB / 0.7523 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/1.076, allocations: 3.984 kB / 0.7523 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.076, allocations: 0 / 0.7523 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.395e-05/1.076, allocations: 33.66 kB / 0.7524 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.076, allocations: 8 kB / 0.7524 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.076, allocations: 0 / 0.7524 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/1.076, allocations: 0 / 0.7524 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/1.076, allocations: 0 / 0.7524 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.076, allocations: 3.938 kB / 0.7524 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/1.076, allocations: 8.094 kB / 0.7524 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/1.076, allocations: 7.938 kB / 0.7524 GB, free: 0.8242 MB / 0.6198 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 () * 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.547e-05/1.076, allocations: 101 kB / 0.7525 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.909e-05/1.076, allocations: 37.64 kB / 0.7525 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/1.076, allocations: 0 / 0.7525 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/1.077, allocations: 37.36 kB / 0.7526 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.077, allocations: 3.984 kB / 0.7526 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.077, allocations: 4 kB / 0.7526 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.077, allocations: 8 kB / 0.7526 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/1.077, allocations: 126.2 kB / 0.7527 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/1.077, allocations: 4 kB / 0.7527 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/1.077, allocations: 0 / 0.7527 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.077, allocations: 0 / 0.7527 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/1.077, allocations: 4 kB / 0.7527 GB, free: 464 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.077, allocations: 0 / 0.7527 GB, free: 464 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.077, allocations: 0 / 0.7527 GB, free: 464 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/1.077, allocations: 61.12 kB / 0.7528 GB, free: 384 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/1.077, allocations: 81.06 kB / 0.7528 GB, free: 284 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/1.077, allocations: 4 kB / 0.7528 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/1.077, allocations: 0 / 0.7528 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/1.077, allocations: 3.938 kB / 0.7528 GB, free: 276 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/1.077, allocations: 0 / 0.7528 GB, free: 276 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.085e-05/1.077, allocations: 75.28 kB / 0.7529 GB, free: 200 kB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/1.077, allocations: 0 / 0.7529 GB, free: 200 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003174/1.077, allocations: 23.92 kB / 0.7529 GB, free: 176 kB / 0.6198 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 () * 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.0006571/1.078, allocations: 0.638 MB / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.309e-05/1.078, allocations: 7.984 kB / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.078, allocations: 0 / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/1.078, allocations: 4 kB / 0.7536 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/1.078, allocations: 4 kB / 0.7536 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/1.079, allocations: 85.55 kB / 0.7537 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/1.079, allocations: 0.6729 MB / 0.7543 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.381e-05/1.079, allocations: 0 / 0.7543 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/1.079, allocations: 15.56 kB / 0.7543 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/1.079, allocations: 0 / 0.7543 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/1.116, allocations: 0.6542 MB / 0.755 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/1.116, allocations: 141.8 kB / 0.7551 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.583, allocations: 4 kB / 0.7551 GB, free: 13.82 MB / 0.6355 GB