Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001991/0.001992, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 198.9 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.611/2.611, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003908/0.003908, allocations: 275.1 kB / 290.9 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.755/1.755, allocations: 169.2 MB / 0.4984 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003701/0.003701, allocations: 90.69 kB / 0.5951 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4262, allocations: 86.99 MB / 0.6801 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.004701/0.431, allocations: 1.487 MB / 0.6815 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.434, allocations: 245.4 kB / 0.6818 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.4341, allocations: 0 / 0.6818 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.464e-05/0.4341, allocations: 1.719 kB / 0.6818 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.516e-05/0.4342, allocations: 11.92 kB / 0.6818 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.4348, allocations: 43.95 kB / 0.6818 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.4349, allocations: 23.86 kB / 0.6818 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.4351, allocations: 9.25 kB / 0.6819 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.4351, allocations: 0 / 0.6819 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.4352, allocations: 18.39 kB / 0.6819 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.4352, allocations: 0 / 0.6819 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.4356, allocations: 71.86 kB / 0.6819 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.4356, allocations: 3.938 kB / 0.6819 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.4357, allocations: 7.938 kB / 0.682 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.4359, allocations: 35.95 kB / 0.682 GB, free: 15.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.4359, allocations: 2.062 kB / 0.682 GB, free: 15.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4359, allocations: 0 / 0.682 GB, free: 15.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.4359, allocations: 0 / 0.682 GB, free: 15.23 MB / 494.1 MB 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.0008372/0.4368, allocations: 347.8 kB / 0.6823 GB, free: 14.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.519e-05/0.4369, allocations: 8.75 kB / 0.6823 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.4369, allocations: 8.781 kB / 0.6823 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.4372, allocations: 169.2 kB / 0.6825 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.4372, allocations: 384 / 0.6825 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.4373, allocations: 1 kB / 0.6825 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.4375, allocations: 51.55 kB / 0.6826 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4376, allocations: 192 / 0.6826 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.4376, allocations: 3.938 kB / 0.6826 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4376, allocations: 4.75 kB / 0.6826 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.4378, allocations: 35.95 kB / 0.6826 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.4385, allocations: 244.9 kB / 0.6828 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.4387, allocations: 38.5 kB / 0.6829 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.4389, allocations: 28.89 kB / 0.6829 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.4399, allocations: 449.5 kB / 0.6833 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/0.44, allocations: 38.55 kB / 0.6834 GB, free: 13.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.44, allocations: 0 / 0.6834 GB, free: 13.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004935/0.4405, allocations: 85.58 kB / 0.6834 GB, free: 13.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.4406, allocations: 51.41 kB / 0.6835 GB, free: 13.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.4408, allocations: 105.8 kB / 0.6836 GB, free: 13.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.4408, allocations: 25.7 kB / 0.6836 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.4409, allocations: 84.05 kB / 0.6837 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.441, allocations: 3.938 kB / 0.6837 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.441, allocations: 17.72 kB / 0.6837 GB, free: 13.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003136/0.4413, allocations: 319 kB / 0.684 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.4415, allocations: 15.98 kB / 0.684 GB, free: 12.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-05/0.4416, allocations: 15.98 kB / 0.684 GB, free: 12.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.4418, allocations: 36.83 kB / 0.6841 GB, free: 12.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4418, allocations: 64 / 0.6841 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002644/0.4421, allocations: 77.44 kB / 0.6842 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.4421, allocations: 8 kB / 0.6842 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4421, allocations: 0 / 0.6842 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.4421, allocations: 0 / 0.6842 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.4423, allocations: 11.98 kB / 0.6842 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4423, allocations: 0 / 0.6842 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.4423, allocations: 11.92 kB / 0.6842 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.4424, allocations: 11.97 kB / 0.6842 GB, free: 12.65 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.4426, allocations: 111.1 kB / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.4426, allocations: 0 / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.4429, allocations: 76.72 kB / 0.6844 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.4429, allocations: 0 / 0.6844 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.443, allocations: 0 / 0.6844 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.443, allocations: 0 / 0.6844 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.4433, allocations: 165.6 kB / 0.6845 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4433, allocations: 4 kB / 0.6845 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.155e-05/0.4434, allocations: 11.98 kB / 0.6846 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4434, allocations: 0 / 0.6846 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4434, allocations: 0 / 0.6846 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4434, allocations: 0 / 0.6846 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4434, allocations: 0 / 0.6846 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.4438, allocations: 167.5 kB / 0.6847 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.4439, allocations: 81.02 kB / 0.6848 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.4439, allocations: 4 kB / 0.6848 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.444, allocations: 3.984 kB / 0.6848 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.4441, allocations: 7.938 kB / 0.6848 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.4441, allocations: 0 / 0.6848 GB, free: 11.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.585e-05/0.4442, allocations: 79.28 kB / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.048e-06/0.4442, allocations: 0 / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.4446, allocations: 23.97 kB / 0.6849 GB, free: 11.83 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003878/0.445, allocations: 115.2 kB / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.4453, allocations: 39.95 kB / 0.6851 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4453, allocations: 64 / 0.6851 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.4454, allocations: 19.98 kB / 0.6851 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.4458, allocations: 7.938 kB / 0.6851 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.4463, allocations: 136.9 kB / 0.6852 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.4469, allocations: 0.677 MB / 0.6859 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.4469, allocations: 7.438 kB / 0.6859 GB, free: 10.77 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4469, allocations: 64 / 0.6859 GB, free: 10.77 MB / 494.1 MB Notification: Performance of Templates: time 0.004305/0.4513, allocations: 0.7677 MB / 0.6866 GB, free: 10 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0CalcHelperMain.o] Error 1