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.001061/0.00106, allocations: 104.2 kB / 16.42 MB, free: 6.512 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.001196/0.001196, allocations: 188.3 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.164/1.164, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001918, allocations: 279.1 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 0.8333/0.8333, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/1.968e-05, allocations: 4.672 kB / 0.682 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.001934/0.001962, allocations: 1.424 MB / 0.6834 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004255/0.002399, allocations: 248.1 kB / 0.6837 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.002432, allocations: 0 / 0.6837 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.002462, allocations: 3.938 kB / 0.6837 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.424e-05/0.002507, allocations: 4 kB / 0.6837 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.002814, allocations: 55.81 kB / 0.6837 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.002885, allocations: 27.86 kB / 0.6837 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.618e-05/0.002967, allocations: 11.98 kB / 0.6838 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.938e-05/0.003005, allocations: 12 kB / 0.6838 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.348e-05/0.003043, allocations: 19.91 kB / 0.6838 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.003056, allocations: 0 / 0.6838 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.003184, allocations: 59.89 kB / 0.6838 GB, free: 5.191 MB / 494.1 MB Notification: Performance of combineBinaries: time 4.511e-05/0.003236, allocations: 35.58 kB / 0.6839 GB, free: 5.156 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 9.858e-06/0.003251, allocations: 15.81 kB / 0.6839 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.112e-05/0.003266, allocations: 3.938 kB / 0.6839 GB, free: 5.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.098e-05/0.003281, allocations: 0 / 0.6839 GB, free: 5.137 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.0002523/0.003537, allocations: 228.7 kB / 0.6841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of FunctionAlias: time 4.209e-05/0.003585, allocations: 15.94 kB / 0.6841 GB, free: 4.797 MB / 494.1 MB Notification: Performance of Early Inline: time 8.001e-05/0.00367, allocations: 92.31 kB / 0.6842 GB, free: 4.68 MB / 494.1 MB Notification: Performance of simplify1: time 1.261e-05/0.00369, allocations: 8 kB / 0.6842 GB, free: 4.672 MB / 494.1 MB Notification: Performance of Alias: time 0.00023/0.003924, allocations: 141 kB / 0.6844 GB, free: 4.48 MB / 494.1 MB Notification: Performance of simplify2: time 5.21e-06/0.003939, allocations: 0 / 0.6844 GB, free: 4.48 MB / 494.1 MB Notification: Performance of Events: time 5.661e-05/0.004, allocations: 23.98 kB / 0.6844 GB, free: 4.457 MB / 494.1 MB Notification: Performance of Detect States: time 5.346e-05/0.004059, allocations: 36.23 kB / 0.6844 GB, free: 4.406 MB / 494.1 MB Notification: Performance of Partitioning: time 4.555e-05/0.00411, allocations: 36.09 kB / 0.6845 GB, free: 4.363 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001096/0.004225, allocations: 87.97 kB / 0.6845 GB, free: 4.27 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 7.634e-05/0.00431, allocations: 104.3 kB / 0.6846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of Inline: time 0.0001087/0.004424, allocations: 132.4 kB / 0.6848 GB, free: 3.977 MB / 494.1 MB Notification: Performance of Partitioning: time 1.033e-05/0.00444, allocations: 8.125 kB / 0.6848 GB, free: 3.961 MB / 494.1 MB Notification: Performance of Cleanup: time 8.796e-06/0.004454, allocations: 4 kB / 0.6848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001158/0.004574, allocations: 96.28 kB / 0.6849 GB, free: 3.855 MB / 494.1 MB Notification: Performance of Tearing: time 4.699e-06/0.004587, allocations: 0 / 0.6849 GB, free: 3.855 MB / 494.1 MB Notification: Performance of Initialization: time 4.61e-07/0.004592, allocations: 0 / 0.6849 GB, free: 3.855 MB / 494.1 MB Notification: Performance of Tearing: time 1.062e-06/0.004597, allocations: 0 / 0.6849 GB, free: 3.855 MB / 494.1 MB Notification: Performance of Categorize: time 5.621e-06/0.004607, allocations: 4 kB / 0.6849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of Solve: time 3.414e-05/0.004645, allocations: 11.98 kB / 0.6849 GB, free: 3.84 MB / 494.1 MB Notification: Performance of Jacobian: time 4.9e-06/0.004655, allocations: 7.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.954e-05/0.004688, allocations: 16.64 kB / 0.6849 GB, free: 3.824 MB / 494.1 MB Notification: Performance of SimCode: time 0.0005152/0.005208, allocations: 0.8177 MB / 0.6857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of Templates: time 0.002183/0.007401, allocations: 0.5278 MB / 0.6862 GB, free: 2.461 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 -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_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.Examples.BesselJ0.o BuildingSystems_BuildingSystems.Utilities.Math.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_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.Examples.BesselJ0_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ0_functions.o] Error 1