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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001219/0.001219, allocations: 108.8 kB / 16.42 MB, free: 6.535 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: 186 kB / 17.36 MB, free: 5.723 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.209/1.209, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.335/2.335, allocations: 472.6 MB / 0.7459 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.497e-05, allocations: 8.75 kB / 1.07 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002138/0.002172, allocations: 1.435 MB / 1.071 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004461/0.00263, allocations: 239.2 kB / 1.072 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.002667, allocations: 0 / 1.072 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.002697, allocations: 7.938 kB / 1.072 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.451e-05/0.002736, allocations: 0 / 1.072 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.003069, allocations: 63.81 kB / 1.072 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.882e-05/0.003137, allocations: 23.92 kB / 1.072 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.012e-05/0.003222, allocations: 7.984 kB / 1.072 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.778e-05/0.003255, allocations: 4 kB / 1.072 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.003293, allocations: 11.92 kB / 1.072 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.003307, allocations: 4 kB / 1.072 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.00345, allocations: 67.88 kB / 1.072 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of combineBinaries: time 5.073e-05/0.003507, allocations: 35.58 kB / 1.072 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.088e-05/0.003523, allocations: 19.66 kB / 1.072 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.003542, allocations: 4 kB / 1.072 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.554e-05/0.003561, allocations: 4 kB / 1.072 GB, free: 7.734 MB / 0.8419 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.0002689/0.003834, allocations: 220.8 kB / 1.072 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 5.786e-05/0.003897, allocations: 15.89 kB / 1.072 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of Early Inline: time 8.101e-05/0.003985, allocations: 88.39 kB / 1.072 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of simplify1: time 1.102e-05/0.004003, allocations: 7.938 kB / 1.072 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002657/0.004273, allocations: 137.1 kB / 1.072 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of simplify2: time 9.318e-06/0.00429, allocations: 11.98 kB / 1.072 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of Detect States: time 5.511e-05/0.00435, allocations: 36.17 kB / 1.072 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of Events: time 6.268e-05/0.004417, allocations: 31.91 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.791e-05/0.004472, allocations: 24.12 kB / 1.072 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000114/0.00459, allocations: 80.08 kB / 1.073 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 7.593e-05/0.004674, allocations: 100.3 kB / 1.073 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001194/0.004799, allocations: 132.4 kB / 1.073 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.17e-05/0.004816, allocations: 8.125 kB / 1.073 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.105e-05/0.004831, allocations: 11.94 kB / 1.073 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001318/0.004967, allocations: 92.33 kB / 1.073 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of Tearing: time 7.604e-06/0.004982, allocations: 0 / 1.073 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of Initialization: time 4.01e-07/0.004988, allocations: 4 kB / 1.073 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of Tearing: time 1.463e-06/0.004997, allocations: 7.938 kB / 1.073 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of Categorize: time 7.134e-06/0.005008, allocations: 0 / 1.073 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of Solve: time 3.461e-05/0.005046, allocations: 15.92 kB / 1.073 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.545e-06/0.005054, allocations: 0 / 1.073 GB, free: 6.441 MB / 0.8419 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.863e-05/0.005086, allocations: 18.95 kB / 1.073 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0006303/0.00572, allocations: 0.8331 MB / 1.074 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.002352/0.008084, allocations: 0.5165 MB / 1.074 GB, free: 5.055 MB / 0.8419 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