Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_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.001376/0.001376, allocations: 111.2 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.001502/0.001502, allocations: 185.5 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.217/1.217, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.305/2.305, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.719e-05, allocations: 2.281 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002886/0.002921, allocations: 1.434 MB / 1.056 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005874/0.00352, allocations: 243.2 kB / 1.056 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.003563, allocations: 0 / 1.056 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.003603, allocations: 0 / 1.056 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.00368, allocations: 15.86 kB / 1.056 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.004068, allocations: 55.83 kB / 1.056 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.004152, allocations: 19.92 kB / 1.056 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.004252, allocations: 8 kB / 1.056 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.004294, allocations: 7.984 kB / 1.056 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.351e-05/0.004344, allocations: 23.91 kB / 1.056 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.649e-06/0.004358, allocations: 0 / 1.056 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.004513, allocations: 59.89 kB / 1.056 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of combineBinaries: time 5.255e-05/0.004573, allocations: 31.67 kB / 1.056 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.204e-05/0.004591, allocations: 19.72 kB / 1.056 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.041e-05/0.004605, allocations: 3.938 kB / 1.057 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.748e-05/0.004626, allocations: 0 / 1.057 GB, free: 5.863 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.0003124/0.004943, allocations: 240.7 kB / 1.057 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 5.117e-05/0.005, allocations: 7.953 kB / 1.057 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001007/0.005105, allocations: 88.33 kB / 1.057 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simplify1: time 1.41e-05/0.005125, allocations: 4 kB / 1.057 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002858/0.005418, allocations: 149.1 kB / 1.057 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simplify2: time 6.011e-06/0.005433, allocations: 0 / 1.057 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of Events: time 6.698e-05/0.005505, allocations: 27.97 kB / 1.057 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of Detect States: time 7.176e-05/0.005584, allocations: 44.17 kB / 1.057 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of Partitioning: time 5.811e-05/0.005648, allocations: 32.05 kB / 1.057 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001217/0.005775, allocations: 76.09 kB / 1.057 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 7.997e-05/0.005865, allocations: 104.2 kB / 1.057 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001171/0.005988, allocations: 128.4 kB / 1.057 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.866e-05/0.006012, allocations: 16.12 kB / 1.057 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of Cleanup: time 9.859e-06/0.006027, allocations: 7.938 kB / 1.057 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001191/0.00615, allocations: 92.34 kB / 1.057 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of Tearing: time 7.554e-06/0.006166, allocations: 4 kB / 1.057 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of Initialization: time 4.91e-07/0.006171, allocations: 0 / 1.057 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of Tearing: time 1.593e-06/0.006177, allocations: 4 kB / 1.057 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of Categorize: time 6.231e-06/0.006187, allocations: 0 / 1.057 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of Solve: time 6.032e-05/0.006251, allocations: 15.92 kB / 1.057 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.976e-06/0.006259, allocations: 0 / 1.057 GB, free: 4.555 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 3.089e-05/0.006295, allocations: 21.55 kB / 1.058 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0006157/0.006915, allocations: 0.8166 MB / 1.058 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of Templates: time 0.002397/0.009322, allocations: 0.5161 MB / 1.059 GB, free: 3.188 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.BesselJ0.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.BesselJ0_functions.o Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_functions.c Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.BesselJ0_functions.o] Error 1