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.002409/0.002409, allocations: 111.8 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.002216/0.002217, allocations: 183.1 kB / 17.35 MB, free: 5.723 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.607/1.607, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002259/0.00226, allocations: 286.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.706e-05, allocations: 2.281 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001484/0.00152, allocations: 0.5724 MB / 0.6826 GB, free: 6.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004691/0.002003, allocations: 191.3 kB / 0.6828 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.002032, allocations: 0 / 0.6828 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.002052, allocations: 0 / 0.6828 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.124e-06/0.002064, allocations: 0 / 0.6828 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.002497, allocations: 47.83 kB / 0.6829 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.089e-05/0.002558, allocations: 4 kB / 0.6829 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.002611, allocations: 7.984 kB / 0.6829 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.225e-05/0.002631, allocations: 4 kB / 0.6829 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.894e-05/0.002654, allocations: 0 / 0.6829 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-06/0.002667, allocations: 3.938 kB / 0.6829 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.002839, allocations: 63.88 kB / 0.6829 GB, free: 6.137 MB / 494.1 MB Notification: Performance of combineBinaries: time 2.75e-05/0.002874, allocations: 7.938 kB / 0.6829 GB, free: 6.129 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 4.969e-06/0.002884, allocations: 3.906 kB / 0.683 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.064e-05/0.002899, allocations: 0 / 0.683 GB, free: 6.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.776e-06/0.002912, allocations: 0 / 0.683 GB, free: 6.125 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.0002967/0.003212, allocations: 153.3 kB / 0.6831 GB, free: 5.875 MB / 494.1 MB Notification: Performance of FunctionAlias: time 5.529e-05/0.003273, allocations: 11.94 kB / 0.6831 GB, free: 5.863 MB / 494.1 MB Notification: Performance of Early Inline: time 7.947e-05/0.003358, allocations: 48.36 kB / 0.6832 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simplify1: time 6.331e-06/0.003371, allocations: 4 kB / 0.6832 GB, free: 5.785 MB / 494.1 MB Notification: Performance of Alias: time 0.0002381/0.003615, allocations: 88.69 kB / 0.6832 GB, free: 5.652 MB / 494.1 MB Notification: Performance of simplify2: time 2.765e-06/0.003627, allocations: 0 / 0.6832 GB, free: 5.652 MB / 494.1 MB Notification: Performance of Detect States: time 5.351e-05/0.003685, allocations: 16.25 kB / 0.6833 GB, free: 5.621 MB / 494.1 MB Notification: Performance of Events: time 1.109e-05/0.003704, allocations: 11.92 kB / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of Partitioning: time 5.009e-05/0.003758, allocations: 16.31 kB / 0.6833 GB, free: 5.586 MB / 494.1 MB Notification: Performance of Causalize: time 6.305e-05/0.003828, allocations: 24.06 kB / 0.6833 GB, free: 5.555 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 4.226e-05/0.003878, allocations: 40.42 kB / 0.6833 GB, free: 5.488 MB / 494.1 MB Notification: Performance of Inline: time 5.645e-05/0.003939, allocations: 64.45 kB / 0.6834 GB, free: 5.391 MB / 494.1 MB Notification: Performance of Partitioning: time 2.55e-05/0.003971, allocations: 8.125 kB / 0.6834 GB, free: 5.375 MB / 494.1 MB Notification: Performance of Cleanup: time 6.522e-06/0.003983, allocations: 4.188 kB / 0.6834 GB, free: 5.371 MB / 494.1 MB Notification: Performance of Causalize: time 6.411e-05/0.004051, allocations: 32.05 kB / 0.6834 GB, free: 5.332 MB / 494.1 MB Notification: Performance of Tearing: time 1.094e-05/0.00407, allocations: 0 / 0.6834 GB, free: 5.332 MB / 494.1 MB Notification: Performance of Initialization: time 3.406e-06/0.004078, allocations: 4 kB / 0.6835 GB, free: 5.328 MB / 494.1 MB Notification: Performance of Tearing: time 2.094e-06/0.004084, allocations: 3.938 kB / 0.6835 GB, free: 5.324 MB / 494.1 MB Notification: Performance of Categorize: time 6.332e-06/0.004094, allocations: 0 / 0.6835 GB, free: 5.324 MB / 494.1 MB Notification: Performance of Solve: time 3.114e-05/0.004129, allocations: 0 / 0.6835 GB, free: 5.324 MB / 494.1 MB Notification: Performance of Jacobian: time 6.232e-06/0.00414, allocations: 3.938 kB / 0.6835 GB, free: 5.32 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 3.879e-05/0.004183, allocations: 15.94 kB / 0.6835 GB, free: 5.312 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006808/0.004868, allocations: 0.7725 MB / 0.6842 GB, free: 4.516 MB / 494.1 MB Notification: Performance of Templates: time 0.002437/0.007317, allocations: 393.2 kB / 0.6846 GB, free: 4.133 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