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.BesselJ0.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01112/0.01112, allocations: 109.2 kB / 15.06 MB, free: 5.555 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.001194/0.001194, allocations: 183 kB / 15.95 MB, free: 5.52 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.233/2.233, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.287/2.287, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005051/0.0005052, allocations: 16 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6448/0.6453, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007483/0.6461, allocations: 305.7 kB / 0.6837 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004402/0.6465, allocations: 170.5 kB / 0.6839 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.468e-06/0.6466, allocations: 1.219 kB / 0.6839 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.6466, allocations: 0 / 0.6839 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.6466, allocations: 0 / 0.6839 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.6469, allocations: 41.59 kB / 0.6839 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 3.268e-05/0.647, allocations: 2.219 kB / 0.6839 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.647, allocations: 4 kB / 0.6839 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.376e-05/0.6471, allocations: 1.812 kB / 0.6839 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 2.074e-05/0.6471, allocations: 4 kB / 0.684 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-06/0.6471, allocations: 0 / 0.684 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.6473, allocations: 58.22 kB / 0.684 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.153e-06/0.6473, allocations: 3.984 kB / 0.684 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.6474, allocations: 26.73 kB / 0.684 GB, free: 16.4 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.863e-05/0.6475, allocations: 20.2 kB / 0.6841 GB, free: 16.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.6475, allocations: 1.469 kB / 0.6841 GB, free: 16.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6475, allocations: 0 / 0.6841 GB, free: 16.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.6475, allocations: 4 kB / 0.6841 GB, free: 16.39 MB / 0.5261 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.0002192/0.6477, allocations: 313.9 kB / 0.6844 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.6478, allocations: 9.438 kB / 0.6844 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.6478, allocations: 31.27 kB / 0.6844 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.018e-05/0.6478, allocations: 1 kB / 0.6844 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.62e-05/0.6479, allocations: 164.4 kB / 0.6846 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.6479, allocations: 0 / 0.6846 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.648, allocations: 1.031 kB / 0.6846 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.335e-05/0.648, allocations: 37.28 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.6481, allocations: 7.984 kB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.6481, allocations: 0 / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.6481, allocations: 3.938 kB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.817e-05/0.6481, allocations: 1.344 kB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.6483, allocations: 148.4 kB / 0.6847 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.526e-05/0.6483, allocations: 21.97 kB / 0.6848 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008395/0.6492, allocations: 459.2 kB / 0.6852 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.6492, allocations: 36 kB / 0.6852 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.6492, allocations: 0 / 0.6852 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001268/0.6493, allocations: 32.39 kB / 0.6853 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.6494, allocations: 55.41 kB / 0.6853 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.977e-05/0.6494, allocations: 93.98 kB / 0.6854 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.6494, allocations: 25.7 kB / 0.6854 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.424e-05/0.6494, allocations: 81.05 kB / 0.6855 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.6495, allocations: 1.125 kB / 0.6855 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.6495, allocations: 1.156 kB / 0.6855 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.6495, allocations: 314.8 kB / 0.6858 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.6496, allocations: 1.531 kB / 0.6858 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.505e-06/0.6496, allocations: 2.328 kB / 0.6858 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.929e-05/0.6496, allocations: 5.125 kB / 0.6858 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6496, allocations: 4 kB / 0.6858 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.915e-05/0.6497, allocations: 36.77 kB / 0.6859 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.6497, allocations: 4.406 kB / 0.6859 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6497, allocations: 1.125 kB / 0.6859 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6497, allocations: 0 / 0.6859 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.597e-05/0.6498, allocations: 2.766 kB / 0.6859 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.6498, allocations: 0.7969 kB / 0.6859 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.6498, allocations: 1.062 kB / 0.6859 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.6499, allocations: 0 / 0.6859 GB, free: 14.35 MB / 0.5261 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 5.526e-05/0.6499, allocations: 115.7 kB / 0.686 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/0.6499, allocations: 1.469 kB / 0.686 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.985e-05/0.65, allocations: 39.11 kB / 0.686 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.65, allocations: 0 / 0.686 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6501, allocations: 1.703 kB / 0.686 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6501, allocations: 0 / 0.686 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.02e-05/0.6501, allocations: 156.5 kB / 0.6862 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6501, allocations: 0 / 0.6862 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.6502, allocations: 2.031 kB / 0.6862 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6502, allocations: 5.031 kB / 0.6862 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.6502, allocations: 0.5156 kB / 0.6862 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.6502, allocations: 5.344 kB / 0.6862 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6502, allocations: 3.938 kB / 0.6862 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.322e-05/0.6503, allocations: 53.61 kB / 0.6862 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.6503, allocations: 89.8 kB / 0.6863 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.6503, allocations: 5.875 kB / 0.6863 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.6504, allocations: 4.031 kB / 0.6863 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.6504, allocations: 1.625 kB / 0.6863 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.6504, allocations: 0 / 0.6863 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.483e-05/0.6504, allocations: 75.28 kB / 0.6864 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6504, allocations: 1.062 kB / 0.6864 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002743/0.6507, allocations: 14.86 kB / 0.6864 GB, free: 13.73 MB / 0.5261 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.0003859/0.6511, allocations: 0.617 MB / 0.687 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.04e-05/0.6512, allocations: 7.688 kB / 0.687 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6512, allocations: 0 / 0.687 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.6512, allocations: 2.781 kB / 0.687 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.6513, allocations: 5.438 kB / 0.687 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.6517, allocations: 113 kB / 0.6872 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.6518, allocations: 0.674 MB / 0.6878 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.407e-05/0.6518, allocations: 1.5 kB / 0.6878 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.319e-05/0.6518, allocations: 7.438 kB / 0.6878 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of SimCode: time 6.02e-07/0.6518, allocations: 0 / 0.6878 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.673, allocations: 0.9487 MB / 0.6887 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.6732, allocations: 188.5 kB / 0.6889 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.096, allocations: 0 / 0.6889 GB, free: 11.86 MB / 0.5261 GB