Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_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.00114/0.00114, allocations: 115.8 kB / 16.43 MB, free: 6.496 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.001144/0.001144, allocations: 187.7 kB / 17.35 MB, free: 5.754 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.183/1.183, 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 9.1.3-maint.9.1.x/package.mo): time 1.968/1.968, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.642e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002025/0.002049, allocations: 1.437 MB / 0.9529 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004311/0.002491, allocations: 248.1 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.002525, allocations: 0 / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.002556, allocations: 3.938 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.172e-05/0.002602, allocations: 4 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.002898, allocations: 59.77 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.00298, allocations: 35.84 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.09e-05/0.003056, allocations: 4 kB / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.694e-05/0.003089, allocations: 11.98 kB / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.401e-05/0.003128, allocations: 15.92 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.003141, allocations: 4 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.003256, allocations: 55.89 kB / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of combineBinaries: time 4.473e-05/0.003307, allocations: 31.72 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.234e-05/0.003324, allocations: 23.66 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.129e-05/0.003339, allocations: 4 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.307e-06/0.003352, allocations: 3.938 kB / 0.9533 GB, free: 5.766 MB / 0.7325 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.0002615/0.003618, allocations: 232.7 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 3.867e-05/0.003662, allocations: 11.94 kB / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of Early Inline: time 7.827e-05/0.003745, allocations: 92.33 kB / 0.9537 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of simplify1: time 1.038e-05/0.003763, allocations: 4 kB / 0.9537 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of Alias: time 0.0002334/0.004, allocations: 141.1 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of simplify2: time 6.212e-06/0.004015, allocations: 4 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of Detect States: time 4.861e-05/0.004067, allocations: 36.17 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of Events: time 6.186e-05/0.004134, allocations: 23.97 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of Partitioning: time 3.946e-05/0.00418, allocations: 24.12 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001091/0.004295, allocations: 92 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 8.372e-05/0.004386, allocations: 100.3 kB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001077/0.004499, allocations: 136.4 kB / 0.9542 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.172e-05/0.004516, allocations: 12.12 kB / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.55e-05/0.004536, allocations: 4 kB / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001136/0.004653, allocations: 92.02 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of Tearing: time 8.196e-06/0.004671, allocations: 4 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of Initialization: time 2.61e-07/0.004675, allocations: 0 / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of Tearing: time 9.72e-07/0.00468, allocations: 0 / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of Categorize: time 5.29e-06/0.004688, allocations: 0 / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of Solve: time 3.951e-05/0.004731, allocations: 12 kB / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of Jacobian: time 3.717e-06/0.00474, allocations: 3.938 kB / 0.9543 GB, free: 4.473 MB / 0.7325 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.461e-05/0.004779, allocations: 30.08 kB / 0.9543 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005265/0.005311, allocations: 0.8358 MB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of Templates: time 0.002103/0.007424, allocations: 0.5123 MB / 0.9557 GB, free: 3.09 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Utilities.Math.Examples.BesselJ1.o Buildings_9_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_9_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_9_Buildings.Utilities.Math.Examples.BesselJ1_functions.o Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_functions.c Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ Buildings_9_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_9_Buildings.Utilities.Math.Examples.BesselJ1_functions.o] Error 1