Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 105.8 kB / 16.42 MB, free: 6.465 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.001232/0.001232, allocations: 183.2 kB / 17.36 MB, free: 5.699 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.155/1.155, 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.001846/0.001846, allocations: 290.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8226/0.8226, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.842e-05, allocations: 4.531 kB / 0.682 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.001934/0.001961, allocations: 1.428 MB / 0.6834 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000447/0.002419, allocations: 256 kB / 0.6837 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.002451, allocations: 0 / 0.6837 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.002479, allocations: 0 / 0.6837 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.002519, allocations: 3.938 kB / 0.6837 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.00284, allocations: 67.81 kB / 0.6837 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.041e-05/0.00291, allocations: 27.86 kB / 0.6838 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.002989, allocations: 4 kB / 0.6838 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.937e-05/0.003024, allocations: 11.98 kB / 0.6838 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.179e-05/0.003061, allocations: 7.922 kB / 0.6838 GB, free: 5.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.003075, allocations: 4 kB / 0.6838 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.003201, allocations: 59.89 kB / 0.6839 GB, free: 5.199 MB / 494.1 MB Notification: Performance of combineBinaries: time 4.637e-05/0.003254, allocations: 39.56 kB / 0.6839 GB, free: 5.16 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.02e-05/0.00327, allocations: 15.81 kB / 0.6839 GB, free: 5.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.077e-05/0.003285, allocations: 11.94 kB / 0.6839 GB, free: 5.133 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.034e-05/0.0033, allocations: 0 / 0.6839 GB, free: 5.133 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 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.000253/0.003557, allocations: 228.7 kB / 0.6841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of FunctionAlias: time 4.011e-05/0.003602, allocations: 15.94 kB / 0.6841 GB, free: 4.793 MB / 494.1 MB Notification: Performance of Early Inline: time 8.1e-05/0.003688, allocations: 92.33 kB / 0.6842 GB, free: 4.676 MB / 494.1 MB Notification: Performance of simplify1: time 1.129e-05/0.003705, allocations: 0 / 0.6842 GB, free: 4.676 MB / 494.1 MB Notification: Performance of Alias: time 0.0002271/0.003937, allocations: 149 kB / 0.6844 GB, free: 4.477 MB / 494.1 MB Notification: Performance of simplify2: time 1.274e-05/0.003962, allocations: 7.938 kB / 0.6844 GB, free: 4.469 MB / 494.1 MB Notification: Performance of Events: time 5.574e-05/0.004022, allocations: 23.97 kB / 0.6844 GB, free: 4.445 MB / 494.1 MB Notification: Performance of Detect States: time 5.404e-05/0.004082, allocations: 40.23 kB / 0.6844 GB, free: 4.391 MB / 494.1 MB Notification: Performance of Partitioning: time 3.974e-05/0.004127, allocations: 24.11 kB / 0.6845 GB, free: 4.359 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001115/0.004244, allocations: 91.95 kB / 0.6846 GB, free: 4.262 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 8.187e-05/0.004333, allocations: 104.3 kB / 0.6847 GB, free: 4.133 MB / 494.1 MB Notification: Performance of Inline: time 0.0001042/0.004442, allocations: 124.4 kB / 0.6848 GB, free: 3.977 MB / 494.1 MB Notification: Performance of Partitioning: time 1.03e-05/0.004459, allocations: 12.12 kB / 0.6848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of Cleanup: time 1.3e-05/0.004476, allocations: 8 kB / 0.6848 GB, free: 3.949 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001093/0.004589, allocations: 92.02 kB / 0.6849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of Tearing: time 4.859e-06/0.004602, allocations: 0 / 0.6849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of Initialization: time 2.7e-07/0.004607, allocations: 0 / 0.6849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of Tearing: time 2.194e-06/0.004613, allocations: 4 kB / 0.6849 GB, free: 3.848 MB / 494.1 MB Notification: Performance of Categorize: time 5.541e-06/0.004622, allocations: 0 / 0.6849 GB, free: 3.848 MB / 494.1 MB Notification: Performance of Solve: time 3.498e-05/0.00466, allocations: 11.98 kB / 0.6849 GB, free: 3.836 MB / 494.1 MB Notification: Performance of Jacobian: time 2.324e-06/0.004668, allocations: 3.938 kB / 0.6849 GB, free: 3.832 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ................. 2 (2) {$TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, 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: ........... 4 (scalar:4, 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.939e-05/0.004702, allocations: 14.86 kB / 0.6849 GB, free: 3.824 MB / 494.1 MB Notification: Performance of SimCode: time 0.0005085/0.005214, allocations: 0.82 MB / 0.6857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of Templates: time 0.002143/0.007367, allocations: 0.5372 MB / 0.6862 GB, free: 2.453 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.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_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.Examples.BesselJ1.o BuildingSystems_BuildingSystems.Utilities.Math.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_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.Examples.BesselJ1_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ1_functions.o] Error 1