Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 106.5 kB / 16.42 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 192.3 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.128/1.128, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 289.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8153/0.8153, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.6e-05, allocations: 2.281 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001126/0.00115, allocations: 0.5864 MB / 0.6826 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003727/0.001533, allocations: 183.3 kB / 0.6828 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.072e-05/0.001554, allocations: 0 / 0.6828 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.001573, allocations: 0 / 0.6828 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-06/0.001587, allocations: 0 / 0.6828 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.001907, allocations: 55.83 kB / 0.6829 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.403e-05/0.00195, allocations: 4 kB / 0.6829 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.22e-05/0.001989, allocations: 4 kB / 0.6829 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.002007, allocations: 7.984 kB / 0.6829 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.547e-05/0.002026, allocations: 0 / 0.6829 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-06/0.002036, allocations: 0 / 0.6829 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.002172, allocations: 51.89 kB / 0.6829 GB, free: 6.117 MB / 494.1 MB Notification: Performance of combineBinaries: time 2.393e-05/0.002202, allocations: 15.92 kB / 0.6829 GB, free: 6.102 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 3.717e-06/0.002212, allocations: 3.906 kB / 0.6829 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.997e-06/0.002224, allocations: 0 / 0.6829 GB, free: 6.098 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.015e-06/0.002236, allocations: 0 / 0.6829 GB, free: 6.098 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: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.000195/0.002435, allocations: 149.3 kB / 0.6831 GB, free: 5.852 MB / 494.1 MB Notification: Performance of FunctionAlias: time 3.956e-05/0.002479, allocations: 15.89 kB / 0.6831 GB, free: 5.836 MB / 494.1 MB Notification: Performance of Early Inline: time 4.951e-05/0.002534, allocations: 44.42 kB / 0.6831 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simplify1: time 3.937e-06/0.002544, allocations: 4 kB / 0.6832 GB, free: 5.762 MB / 494.1 MB Notification: Performance of Alias: time 0.0001759/0.002724, allocations: 84.62 kB / 0.6832 GB, free: 5.633 MB / 494.1 MB Notification: Performance of simplify2: time 3.677e-06/0.002737, allocations: 7.984 kB / 0.6832 GB, free: 5.625 MB / 494.1 MB Notification: Performance of Events: time 6.993e-06/0.002748, allocations: 0 / 0.6832 GB, free: 5.625 MB / 494.1 MB Notification: Performance of Detect States: time 3.922e-05/0.002792, allocations: 22.38 kB / 0.6833 GB, free: 5.59 MB / 494.1 MB Notification: Performance of Partitioning: time 3.498e-05/0.002833, allocations: 24.3 kB / 0.6833 GB, free: 5.559 MB / 494.1 MB Notification: Performance of Causalize: time 4.462e-05/0.002883, allocations: 24.06 kB / 0.6833 GB, free: 5.527 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 2.95e-05/0.00292, allocations: 48.36 kB / 0.6834 GB, free: 5.453 MB / 494.1 MB Notification: Performance of Inline: time 4.089e-05/0.002966, allocations: 56.48 kB / 0.6834 GB, free: 5.363 MB / 494.1 MB Notification: Performance of Partitioning: time 8.136e-06/0.00298, allocations: 12.31 kB / 0.6834 GB, free: 5.344 MB / 494.1 MB Notification: Performance of Cleanup: time 5.109e-06/0.00299, allocations: 0 / 0.6834 GB, free: 5.344 MB / 494.1 MB Notification: Performance of Causalize: time 5.303e-05/0.003047, allocations: 36.03 kB / 0.6835 GB, free: 5.301 MB / 494.1 MB Notification: Performance of Tearing: time 4.659e-06/0.003059, allocations: 0 / 0.6835 GB, free: 5.301 MB / 494.1 MB Notification: Performance of Initialization: time 3e-07/0.003063, allocations: 0 / 0.6835 GB, free: 5.301 MB / 494.1 MB Notification: Performance of Tearing: time 8.72e-07/0.003068, allocations: 0 / 0.6835 GB, free: 5.301 MB / 494.1 MB Notification: Performance of Categorize: time 7.193e-06/0.003078, allocations: 3.984 kB / 0.6835 GB, free: 5.297 MB / 494.1 MB Notification: Performance of Solve: time 2.373e-05/0.003106, allocations: 4 kB / 0.6835 GB, free: 5.293 MB / 494.1 MB Notification: Performance of Jacobian: time 1.006e-05/0.00312, allocations: 8.125 kB / 0.6835 GB, free: 5.285 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.418e-05/0.003152, allocations: 14.42 kB / 0.6835 GB, free: 5.281 MB / 494.1 MB Notification: Performance of SimCode: time 0.0004871/0.003643, allocations: 0.7787 MB / 0.6842 GB, free: 4.477 MB / 494.1 MB Notification: Performance of Templates: time 0.001982/0.005636, allocations: 401.3 kB / 0.6846 GB, free: 4.086 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0_functions.c:48:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _S); ^ 4 errors generated. make: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0_functions.o] Error 1