Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_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.00119/0.00119, allocations: 113 kB / 16.42 MB, free: 6.043 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.001113/0.001113, allocations: 183.7 kB / 17.36 MB, free: 5.621 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.15 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.938/1.938, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.487e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001986/0.002009, allocations: 1.439 MB / 0.9529 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004245/0.002444, allocations: 244.1 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.002477, allocations: 0 / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.002506, allocations: 4 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.439e-05/0.002554, allocations: 3.938 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.002837, allocations: 55.83 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.002905, allocations: 19.98 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.131e-05/0.002982, allocations: 15.92 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.003015, allocations: 7.984 kB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.003053, allocations: 11.94 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.003065, allocations: 0 / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.003191, allocations: 67.88 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of combineBinaries: time 3.781e-05/0.003236, allocations: 23.75 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.286e-05/0.003253, allocations: 23.64 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.646e-06/0.003267, allocations: 4 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.11e-05/0.003282, allocations: 3.938 kB / 0.9533 GB, free: 5.777 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.0002593/0.003546, allocations: 232.6 kB / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 4.205e-05/0.003593, allocations: 19.92 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of Early Inline: time 8.075e-05/0.00368, allocations: 88.34 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of simplify1: time 1.379e-05/0.003699, allocations: 7.984 kB / 0.9537 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of Alias: time 0.0002261/0.003929, allocations: 133.2 kB / 0.9538 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of simplify2: time 6.312e-06/0.003943, allocations: 3.984 kB / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of Detect States: time 4.592e-05/0.003993, allocations: 30.28 kB / 0.9538 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of Events: time 5.805e-05/0.004057, allocations: 31.89 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of Partitioning: time 4.278e-05/0.004106, allocations: 36.11 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001121/0.004224, allocations: 80.03 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 7.08e-05/0.004302, allocations: 100.3 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001069/0.004414, allocations: 132.4 kB / 0.9542 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.414e-05/0.004434, allocations: 20.12 kB / 0.9542 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of Cleanup: time 6.082e-06/0.004444, allocations: 0 / 0.9542 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001114/0.004559, allocations: 96.28 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of Tearing: time 7.013e-06/0.004574, allocations: 0 / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of Initialization: time 2.71e-07/0.004579, allocations: 0 / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of Tearing: time 9.82e-07/0.004585, allocations: 4 kB / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of Categorize: time 5.25e-06/0.004594, allocations: 0 / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of Solve: time 3.224e-05/0.004629, allocations: 15.98 kB / 0.9543 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.204e-06/0.004636, allocations: 0 / 0.9543 GB, free: 4.48 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.489e-05/0.004675, allocations: 17.78 kB / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005108/0.00519, allocations: 0.8332 MB / 0.9551 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of Templates: time 0.002101/0.0073, allocations: 0.5165 MB / 0.9556 GB, free: 3.098 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Utilities.Math.Examples.BesselJ0.o Buildings_9_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_9_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_9_Buildings.Utilities.Math.Examples.BesselJ0_functions.o Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_functions.c Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ Buildings_9_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_9_Buildings.Utilities.Math.Examples.BesselJ0_functions.o] Error 1