Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 111.6 kB / 16.42 MB, free: 6.523 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.001051/0.001051, allocations: 184.2 kB / 17.36 MB, free: 5.746 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.12/1.12, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.055/2.055, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.147e-06/9.157e-06, allocations: 2.281 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001026/0.001043, allocations: 0.5774 MB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003379/0.00139, allocations: 195.4 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-06/0.001409, allocations: 0 / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.596e-06/0.001422, allocations: 0 / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.937e-06/0.00143, allocations: 0 / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.001721, allocations: 55.81 kB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 2.927e-05/0.001759, allocations: 4 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 2.739e-05/0.001791, allocations: 0 / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.736e-06/0.001804, allocations: 0 / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.478e-05/0.001822, allocations: 3.938 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.999e-06/0.001831, allocations: 0 / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.001967, allocations: 71.86 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of combineBinaries: time 1.412e-05/0.001988, allocations: 0 / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 1.773e-06/0.001994, allocations: 0 / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.968e-06/0.00201, allocations: 3.938 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of FrontEnd: time 6.592e-06/0.00202, allocations: 0 / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.0001848/0.002208, allocations: 157.3 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of FunctionAlias: time 3.384e-05/0.002247, allocations: 3.953 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of Early Inline: time 4.319e-05/0.002295, allocations: 48.36 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of simplify1: time 4.338e-06/0.002303, allocations: 4 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of Alias: time 0.0001708/0.002478, allocations: 80.86 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of simplify2: time 1.803e-06/0.002487, allocations: 0 / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of Detect States: time 4.043e-05/0.002531, allocations: 36.19 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of Events: time 9.537e-06/0.002546, allocations: 3.984 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of Partitioning: time 2.468e-05/0.002574, allocations: 16.06 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of Causalize: time 4.012e-05/0.002618, allocations: 24.11 kB / 1.02 GB, free: 7.941 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 3.33e-05/0.002657, allocations: 40.56 kB / 1.02 GB, free: 7.875 MB / 0.795 GB Notification: Performance of Inline: time 4.029e-05/0.002702, allocations: 60.48 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of Partitioning: time 7.294e-06/0.002713, allocations: 8.125 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of Cleanup: time 6.662e-06/0.002724, allocations: 7.938 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of Causalize: time 4.618e-05/0.002773, allocations: 36.12 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of Tearing: time 1.589e-05/0.002797, allocations: 12.09 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of Initialization: time 3.11e-07/0.002801, allocations: 0 / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of Tearing: time 1.042e-06/0.002806, allocations: 0 / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of Categorize: time 4.789e-06/0.002814, allocations: 0 / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of Solve: time 2.067e-05/0.002838, allocations: 3.938 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of Jacobian: time 2.304e-06/0.002845, allocations: 4 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * 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: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, 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: ........... 1 (scalar:1, 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.094e-05/0.002869, allocations: 12.92 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of SimCode: time 0.000456/0.00333, allocations: 0.7865 MB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of Templates: time 0.001773/0.005113, allocations: 386.1 kB / 1.022 GB, free: 6.512 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.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_10_Buildings_Utilities_Math_Functions_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_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.o Buildings_10_Buildings.Utilities.Math.Functions.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_10_Buildings_Utilities_Math_Functions_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_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_functions.o Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_functions.c Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ Buildings_10_Buildings.Utilities.Math.Functions.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_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_functions.o] Error 1