Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.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.001743/0.001743, allocations: 114.3 kB / 16.43 MB, free: 6.055 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.001745/0.001745, allocations: 196.7 kB / 17.36 MB, free: 5.617 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.121/1.121, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.045/2.045, allocations: 437 MB / 0.7111 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.758e-06/9.758e-06, allocations: 2.281 kB / 1.019 GB, free: 9.527 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001764/0.001782, allocations: 1.438 MB / 1.021 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003999/0.002193, allocations: 249.5 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.002225, allocations: 4 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.002251, allocations: 0 / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.949e-05/0.002286, allocations: 7.875 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.002567, allocations: 59.81 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.979e-05/0.002635, allocations: 27.92 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.002702, allocations: 0 / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.456e-05/0.002735, allocations: 15.98 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.597e-05/0.002775, allocations: 19.91 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.002788, allocations: 4 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.002902, allocations: 51.89 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of combineBinaries: time 4.008e-05/0.002948, allocations: 31.67 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 1.1e-05/0.002964, allocations: 19.72 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.347e-06/0.002977, allocations: 7.938 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.029e-05/0.002991, allocations: 0 / 1.021 GB, free: 7.59 MB / 0.795 GB 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.0002445/0.003239, allocations: 232.7 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of FunctionAlias: time 3.529e-05/0.003279, allocations: 15.94 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of Early Inline: time 7.089e-05/0.003355, allocations: 88.33 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of simplify1: time 1.243e-05/0.003373, allocations: 8 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of Alias: time 0.0002139/0.003591, allocations: 137.1 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of simplify2: time 5.14e-06/0.003604, allocations: 0 / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of Detect States: time 3.93e-05/0.003649, allocations: 32.19 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of Events: time 5.143e-05/0.003707, allocations: 27.98 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of Partitioning: time 4.399e-05/0.003757, allocations: 32.06 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001041/0.003866, allocations: 84.08 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 7.556e-05/0.003948, allocations: 96.33 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of Inline: time 9.724e-05/0.00405, allocations: 136.4 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of Partitioning: time 9.287e-06/0.004064, allocations: 8.125 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of Cleanup: time 1.04e-05/0.004079, allocations: 11.92 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001124/0.004195, allocations: 88.09 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of Tearing: time 6.803e-06/0.004209, allocations: 0 / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of Initialization: time 3.01e-07/0.004213, allocations: 0 / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of Tearing: time 2.495e-06/0.004219, allocations: 4 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of Categorize: time 5.22e-06/0.004229, allocations: 4.5 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of Solve: time 3.18e-05/0.004264, allocations: 11.92 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of Jacobian: time 2.325e-06/0.004272, allocations: 0 / 1.022 GB, free: 6.305 MB / 0.795 GB 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.457e-05/0.004299, allocations: 19.92 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of SimCode: time 0.0004864/0.00479, allocations: 0.8165 MB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of Templates: time 0.002009/0.006808, allocations: 0.517 MB / 1.023 GB, free: 4.941 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile make -j1 -f Buildings_10_Buildings.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=Buildings_10_Buildings_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 Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.o Buildings_10_Buildings.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=Buildings_10_Buildings_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 Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_functions.o Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_functions.c Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ Buildings_10_Buildings.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: *** [: Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_functions.o] Error 1