Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.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.001338/0.001339, allocations: 112.7 kB / 16.42 MB, free: 6.477 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.001466/0.001466, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.313/2.313, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.752e-05, allocations: 2.281 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002057/0.002083, allocations: 1.434 MB / 1.056 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004553/0.00255, allocations: 259.1 kB / 1.056 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.002585, allocations: 0 / 1.056 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.002614, allocations: 3.938 kB / 1.056 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.002661, allocations: 3.938 kB / 1.056 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.002974, allocations: 59.81 kB / 1.056 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.623e-05/0.003039, allocations: 23.92 kB / 1.056 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.00312, allocations: 8 kB / 1.056 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.72e-05/0.003154, allocations: 11.98 kB / 1.056 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.156e-05/0.003191, allocations: 15.92 kB / 1.056 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.003203, allocations: 0 / 1.056 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.003329, allocations: 67.94 kB / 1.056 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of combineBinaries: time 3.971e-05/0.003375, allocations: 31.67 kB / 1.056 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.113e-05/0.003391, allocations: 19.66 kB / 1.057 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.506e-06/0.003404, allocations: 0 / 1.057 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.21e-05/0.00342, allocations: 4 kB / 1.057 GB, free: 5.801 MB / 0.8262 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.0002462/0.00367, allocations: 232.6 kB / 1.057 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 3.753e-05/0.003713, allocations: 15.94 kB / 1.057 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of Early Inline: time 7.759e-05/0.003796, allocations: 88.33 kB / 1.057 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simplify1: time 1.271e-05/0.003817, allocations: 12 kB / 1.057 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of Alias: time 0.000228/0.00405, allocations: 133.1 kB / 1.057 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of simplify2: time 7.484e-06/0.004066, allocations: 4 kB / 1.057 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of Events: time 5.491e-05/0.004125, allocations: 23.98 kB / 1.057 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of Detect States: time 5.265e-05/0.004184, allocations: 40.12 kB / 1.057 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of Partitioning: time 4.502e-05/0.004235, allocations: 36.05 kB / 1.057 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001089/0.004348, allocations: 80.09 kB / 1.057 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 7.84e-05/0.004435, allocations: 100.4 kB / 1.057 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001081/0.004549, allocations: 132.7 kB / 1.057 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.134e-05/0.004566, allocations: 12.12 kB / 1.057 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.111e-05/0.004581, allocations: 11.92 kB / 1.057 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001186/0.004704, allocations: 92.08 kB / 1.057 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of Tearing: time 6.813e-06/0.004718, allocations: 0 / 1.057 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of Initialization: time 3.4e-07/0.004723, allocations: 0 / 1.057 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of Tearing: time 1.132e-06/0.004728, allocations: 0 / 1.057 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of Categorize: time 6.252e-06/0.004737, allocations: 0 / 1.057 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of Solve: time 3.622e-05/0.004777, allocations: 23.86 kB / 1.058 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.096e-06/0.004786, allocations: 3.938 kB / 1.058 GB, free: 4.492 MB / 0.8262 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.66e-05/0.004817, allocations: 17.5 kB / 1.058 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005473/0.005368, allocations: 0.8238 MB / 1.058 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.002209/0.007587, allocations: 0.5183 MB / 1.059 GB, free: 3.117 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile make -j1 -f Buildings_latest_Buildings.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=Buildings_latest_Buildings_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 Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.o Buildings_latest_Buildings.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=Buildings_latest_Buildings_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 Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_functions.o Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_functions.c Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ Buildings_latest_Buildings.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: *** [: Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_functions.o] Error 1