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.01043/0.01043, allocations: 108.6 kB / 15.06 MB, free: 6.035 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.001173/0.001173, allocations: 184.4 kB / 15.95 MB, free: 5.965 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 1.91/1.91, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.407/2.407, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004749, allocations: 15.94 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6503, allocations: 98.72 MB / 0.6834 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001842/0.6522, allocations: 1.13 MB / 0.6845 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005911/0.6528, allocations: 239 kB / 0.6848 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.6528, allocations: 0 / 0.6848 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.6529, allocations: 5.734 kB / 0.6848 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.6529, allocations: 3.984 kB / 0.6848 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.6533, allocations: 37.61 kB / 0.6848 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.567e-05/0.6533, allocations: 17.45 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.66e-05/0.6534, allocations: 8 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.6535, allocations: 4.828 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.958e-05/0.6535, allocations: 13.2 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.6536, allocations: 1.156 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.6538, allocations: 64.59 kB / 0.6849 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.6538, allocations: 5.875 kB / 0.6849 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.6538, allocations: 27.58 kB / 0.6849 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.6539, allocations: 36.7 kB / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.654, allocations: 0 / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.247e-06/0.654, allocations: 0 / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.654, allocations: 5.219 kB / 0.685 GB, free: 15.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004559/0.6544, allocations: 343.4 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6545, allocations: 9.594 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.6545, allocations: 36.69 kB / 0.6853 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.6546, allocations: 9.438 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/0.6547, allocations: 165 kB / 0.6855 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.6547, allocations: 1.25 kB / 0.6855 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.6547, allocations: 1.312 kB / 0.6855 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.655, allocations: 61.61 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.655, allocations: 0 / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.655, allocations: 0 / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.655, allocations: 1.062 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.6553, allocations: 50.92 kB / 0.6856 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.6557, allocations: 249.8 kB / 0.6859 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.6559, allocations: 42.19 kB / 0.6859 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008946/0.6568, allocations: 463.2 kB / 0.6863 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.6568, allocations: 32.52 kB / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.6568, allocations: 0 / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000549/0.6574, allocations: 97.28 kB / 0.6865 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.6574, allocations: 52.95 kB / 0.6865 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.6575, allocations: 104.9 kB / 0.6866 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.6575, allocations: 25.83 kB / 0.6866 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.6576, allocations: 90.77 kB / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.6576, allocations: 4.75 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.6576, allocations: 1.406 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.6577, allocations: 311.8 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.6578, allocations: 23.73 kB / 0.6871 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.658, allocations: 22.25 kB / 0.6871 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.6581, allocations: 27.19 kB / 0.6871 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6582, allocations: 0 / 0.6871 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003364/0.6585, allocations: 80.69 kB / 0.6872 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6585, allocations: 9.719 kB / 0.6872 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6586, allocations: 1.25 kB / 0.6872 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6586, allocations: 0 / 0.6872 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.6587, allocations: 12.14 kB / 0.6872 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.6587, allocations: 0 / 0.6872 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.459e-05/0.6588, allocations: 16.75 kB / 0.6872 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.6588, allocations: 0 / 0.6872 GB, free: 13.57 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 (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 6.441e-05/0.6589, allocations: 112.8 kB / 0.6873 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.659, allocations: 5.766 kB / 0.6873 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/0.6593, allocations: 84.98 kB / 0.6874 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.6594, allocations: 0.6562 kB / 0.6874 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6594, allocations: 4.984 kB / 0.6874 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6594, allocations: 0 / 0.6874 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.6596, allocations: 159.4 kB / 0.6876 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6596, allocations: 1.734 kB / 0.6876 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/0.6597, allocations: 10.81 kB / 0.6876 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.6597, allocations: 1.188 kB / 0.6876 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.6597, allocations: 4.031 kB / 0.6876 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6597, allocations: 0.5625 kB / 0.6876 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6597, allocations: 5.375 kB / 0.6876 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.6601, allocations: 176.1 kB / 0.6878 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.6601, allocations: 78.61 kB / 0.6878 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.6602, allocations: 5.625 kB / 0.6878 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.6603, allocations: 7.688 kB / 0.6878 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.6604, allocations: 2.938 kB / 0.6879 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.6604, allocations: 1.562 kB / 0.6879 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.6604, allocations: 87.56 kB / 0.6879 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6604, allocations: 0 / 0.6879 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003532/0.6608, allocations: 21.59 kB / 0.688 GB, free: 12.86 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 (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.0006871/0.6615, allocations: 0.7261 MB / 0.6887 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.6618, allocations: 47.92 kB / 0.6887 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6618, allocations: 0 / 0.6887 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.662, allocations: 28.36 kB / 0.6887 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.6622, allocations: 3.641 kB / 0.6887 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.6627, allocations: 154.2 kB / 0.6889 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.6629, allocations: 0.6777 MB / 0.6896 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.6629, allocations: 2 kB / 0.6896 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.663, allocations: 9.844 kB / 0.6896 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.663, allocations: 0 / 0.6896 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.6886, allocations: 1.246 MB / 0.6908 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/0.6889, allocations: 174.7 kB / 0.6909 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/2.856, allocations: 4 kB / 0.6909 GB, free: 10.89 MB / 0.5261 GB