Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001392, allocations: 111.8 kB / 16.43 MB, free: 6.461 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.001426/0.001426, allocations: 188.2 kB / 17.36 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.494/1.494, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 286.3 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.084/1.084, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.455e-05, allocations: 4.531 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001786/0.001821, allocations: 0.584 MB / 0.6826 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005405/0.002374, allocations: 199.2 kB / 0.6828 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.397e-05/0.0024, allocations: 0 / 0.6828 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.002422, allocations: 0 / 0.6828 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-06/0.002433, allocations: 0 / 0.6828 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.002878, allocations: 63.81 kB / 0.6829 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.125e-05/0.002929, allocations: 0 / 0.6829 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.002976, allocations: 4 kB / 0.6829 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.002998, allocations: 0 / 0.6829 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.204e-05/0.003024, allocations: 0 / 0.6829 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.003034, allocations: 0 / 0.6829 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.003267, allocations: 63.92 kB / 0.6829 GB, free: 6.094 MB / 494.1 MB Notification: Performance of combineBinaries: time 2.939e-05/0.003305, allocations: 3.938 kB / 0.683 GB, free: 6.09 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 5.35e-06/0.003315, allocations: 7.844 kB / 0.683 GB, free: 6.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.162e-05/0.003331, allocations: 0 / 0.683 GB, free: 6.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.007e-06/0.003344, allocations: 0 / 0.683 GB, free: 6.082 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.000252/0.003603, allocations: 157.3 kB / 0.6831 GB, free: 5.828 MB / 494.1 MB Notification: Performance of FunctionAlias: time 4.362e-05/0.003652, allocations: 7.938 kB / 0.6831 GB, free: 5.82 MB / 494.1 MB Notification: Performance of Early Inline: time 6.052e-05/0.003718, allocations: 48.38 kB / 0.6832 GB, free: 5.746 MB / 494.1 MB Notification: Performance of simplify1: time 6.853e-06/0.003731, allocations: 3.984 kB / 0.6832 GB, free: 5.742 MB / 494.1 MB Notification: Performance of Alias: time 0.0002344/0.00397, allocations: 88.69 kB / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of simplify2: time 2.425e-06/0.003981, allocations: 0 / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of Events: time 1.024e-05/0.003996, allocations: 0 / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of Detect States: time 0.0003061/0.004306, allocations: 38.7 kB / 0.6833 GB, free: 5.559 MB / 494.1 MB Notification: Performance of Partitioning: time 4.153e-05/0.004354, allocations: 16.06 kB / 0.6833 GB, free: 5.535 MB / 494.1 MB Notification: Performance of Causalize: time 5.654e-05/0.004416, allocations: 28.05 kB / 0.6833 GB, free: 5.5 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 3.627e-05/0.004459, allocations: 36.42 kB / 0.6834 GB, free: 5.438 MB / 494.1 MB Notification: Performance of Inline: time 6.144e-05/0.004526, allocations: 60.69 kB / 0.6834 GB, free: 5.344 MB / 494.1 MB Notification: Performance of Partitioning: time 1.422e-05/0.004546, allocations: 12.11 kB / 0.6834 GB, free: 5.324 MB / 494.1 MB Notification: Performance of Cleanup: time 8.786e-06/0.004559, allocations: 4 kB / 0.6834 GB, free: 5.32 MB / 494.1 MB Notification: Performance of Causalize: time 5.723e-05/0.004622, allocations: 28.05 kB / 0.6835 GB, free: 5.285 MB / 494.1 MB Notification: Performance of Tearing: time 1.378e-05/0.004644, allocations: 4 kB / 0.6835 GB, free: 5.281 MB / 494.1 MB Notification: Performance of Initialization: time 3.31e-07/0.004649, allocations: 0 / 0.6835 GB, free: 5.281 MB / 494.1 MB Notification: Performance of Tearing: time 1.713e-06/0.004655, allocations: 0 / 0.6835 GB, free: 5.281 MB / 494.1 MB Notification: Performance of Categorize: time 8.265e-06/0.004667, allocations: 3.984 kB / 0.6835 GB, free: 5.277 MB / 494.1 MB Notification: Performance of Solve: time 2.816e-05/0.004701, allocations: 4.188 kB / 0.6835 GB, free: 5.273 MB / 494.1 MB Notification: Performance of Jacobian: time 2.846e-06/0.00471, allocations: 3.938 kB / 0.6835 GB, free: 5.27 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.675e-05/0.004752, allocations: 16.8 kB / 0.6835 GB, free: 5.262 MB / 494.1 MB Notification: Performance of SimCode: time 0.0007164/0.005473, allocations: 0.7904 MB / 0.6843 GB, free: 4.445 MB / 494.1 MB Notification: Performance of Templates: time 0.002336/0.00782, allocations: 397.3 kB / 0.6846 GB, free: 4.059 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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_BesselJ1 -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.BesselJ1.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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_BesselJ1 -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.BesselJ1_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1_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.BesselJ1_functions.o] Error 1