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.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_BesselJ1",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.01147/0.01147, allocations: 107.6 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.00123/0.00123, allocations: 181.5 kB / 15.94 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.009/2.009, 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.291/2.291, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006424/0.0006425, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7352/0.7359, allocations: 98.72 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3233/1.059, allocations: 124.7 MB / 0.8052 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000408/1.06, allocations: 71.97 kB / 0.8053 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01174/1.072, allocations: 1.559 MB / 0.8068 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.256e-06/1.072, allocations: 0 / 0.8068 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.719e-06/1.072, allocations: 0 / 0.8068 GB, free: 15.84 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007303/1.072, allocations: 363.3 kB / 0.8071 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/1.072, allocations: 8.031 kB / 0.8071 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.184e-05/1.073, allocations: 38.55 kB / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/1.073, allocations: 0 / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/1.073, allocations: 170.9 kB / 0.8073 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/1.073, allocations: 0 / 0.8073 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/1.073, allocations: 8 kB / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/1.073, allocations: 53.67 kB / 0.8074 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/1.073, allocations: 0 / 0.8074 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/1.073, allocations: 7.938 kB / 0.8074 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/1.073, allocations: 0 / 0.8074 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/1.074, allocations: 47.95 kB / 0.8075 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/1.075, allocations: 264.9 kB / 0.8077 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/1.075, allocations: 42.56 kB / 0.8078 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/1.076, allocations: 449.5 kB / 0.8082 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/1.076, allocations: 34.5 kB / 0.8082 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.228e-06/1.076, allocations: 4 kB / 0.8082 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0008758/1.077, allocations: 93.64 kB / 0.8083 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/1.077, allocations: 51.53 kB / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/1.077, allocations: 101 kB / 0.8085 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/1.078, allocations: 25.7 kB / 0.8085 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/1.078, allocations: 84.12 kB / 0.8086 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/1.078, allocations: 11.91 kB / 0.8086 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.078, allocations: 0 / 0.8086 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.078, allocations: 310.8 kB / 0.8089 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/1.078, allocations: 31.92 kB / 0.8089 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/1.078, allocations: 15.98 kB / 0.8089 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/1.079, allocations: 31.91 kB / 0.8089 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.079, allocations: 0 / 0.8089 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005635/1.079, allocations: 73.73 kB / 0.809 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.079, allocations: 4 kB / 0.809 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.079, allocations: 4 kB / 0.809 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.079, allocations: 0 / 0.809 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/1.08, allocations: 11.98 kB / 0.809 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.08, allocations: 4.031 kB / 0.809 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/1.08, allocations: 11.98 kB / 0.809 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/1.08, allocations: 7.891 kB / 0.8091 GB, free: 13.21 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 (2): * Single equations (assignments): 2 * 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.0001414/1.08, allocations: 109.8 kB / 0.8092 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/1.08, allocations: 3.906 kB / 0.8092 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006238/1.081, allocations: 88.72 kB / 0.8092 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.081, allocations: 0 / 0.8092 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.081, allocations: 0 / 0.8092 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/1.081, allocations: 3.984 kB / 0.8092 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/1.081, allocations: 157.6 kB / 0.8094 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.081, allocations: 0 / 0.8094 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/1.081, allocations: 16.02 kB / 0.8094 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.081, allocations: 4.188 kB / 0.8094 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/1.081, allocations: 0 / 0.8094 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/1.081, allocations: 0 / 0.8094 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.081, allocations: 0 / 0.8094 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/1.082, allocations: 185.9 kB / 0.8096 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/1.082, allocations: 77.11 kB / 0.8097 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/1.082, allocations: 4 kB / 0.8097 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/1.082, allocations: 7.984 kB / 0.8097 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/1.082, allocations: 4 kB / 0.8097 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/1.083, allocations: 0 / 0.8097 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.952e-05/1.083, allocations: 87.31 kB / 0.8098 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.001e-06/1.083, allocations: 0 / 0.8098 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005791/1.083, allocations: 31.92 kB / 0.8098 GB, free: 12.34 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 (2): * Single equations (assignments): 2 * 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.001362/1.085, allocations: 0.7357 MB / 0.8105 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005495/1.085, allocations: 51.94 kB / 0.8106 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.085, allocations: 0 / 0.8106 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/1.085, allocations: 27.97 kB / 0.8106 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/1.086, allocations: 9.312 kB / 0.8106 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008036/1.087, allocations: 154.2 kB / 0.8107 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/1.087, allocations: 0.6809 MB / 0.8114 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.757e-05/1.087, allocations: 0 / 0.8114 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/1.087, allocations: 7.438 kB / 0.8114 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of SimCode: time 1.393e-06/1.087, allocations: 0 / 0.8114 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07212/1.159, allocations: 1.224 MB / 0.8126 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/1.16, allocations: 172.9 kB / 0.8128 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.617, allocations: 0 / 0.8128 GB, free: 9.23 MB / 0.6355 GB