Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001153/0.001153, allocations: 110.5 kB / 16.38 MB, free: 6.48 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.00111/0.00111, allocations: 190.5 kB / 17.31 MB, free: 5.797 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9304/0.9304, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.628e-05, allocations: 2.281 kB / 0.5031 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002693/0.002738, allocations: 1.437 MB / 0.5045 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005122/0.003264, allocations: 240.1 kB / 0.5048 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.003302, allocations: 0 / 0.5048 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.003333, allocations: 0 / 0.5048 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.711e-05/0.003385, allocations: 11.92 kB / 0.5048 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.003787, allocations: 55.81 kB / 0.5048 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.003877, allocations: 31.86 kB / 0.5049 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003985, allocations: 8 kB / 0.5049 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.004027, allocations: 4 kB / 0.5049 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.004076, allocations: 15.92 kB / 0.5049 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.00409, allocations: 0 / 0.5049 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.00424, allocations: 63.92 kB / 0.505 GB, free: 9.16 MB / 430.1 MB Notification: Performance of combineBinaries: time 5.615e-05/0.004304, allocations: 27.66 kB / 0.505 GB, free: 9.133 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 1.442e-05/0.004324, allocations: 23.66 kB / 0.505 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.403e-05/0.004342, allocations: 0 / 0.505 GB, free: 9.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.55e-05/0.004364, allocations: 11.88 kB / 0.505 GB, free: 9.098 MB / 430.1 MB 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.0003479/0.004717, allocations: 232.8 kB / 0.5052 GB, free: 8.77 MB / 430.1 MB Notification: Performance of FunctionAlias: time 4.372e-05/0.004766, allocations: 4 kB / 0.5052 GB, free: 8.766 MB / 430.1 MB Notification: Performance of Early Inline: time 0.0001019/0.004875, allocations: 92.33 kB / 0.5053 GB, free: 8.648 MB / 430.1 MB Notification: Performance of simplify1: time 1.656e-05/0.004897, allocations: 11.97 kB / 0.5053 GB, free: 8.637 MB / 430.1 MB Notification: Performance of Alias: time 0.000263/0.005164, allocations: 125.2 kB / 0.5055 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simplify2: time 7.033e-06/0.005181, allocations: 4 kB / 0.5055 GB, free: 8.457 MB / 430.1 MB Notification: Performance of Events: time 6.492e-05/0.005252, allocations: 27.86 kB / 0.5055 GB, free: 8.43 MB / 430.1 MB Notification: Performance of Detect States: time 6.337e-05/0.005322, allocations: 36.23 kB / 0.5055 GB, free: 8.379 MB / 430.1 MB Notification: Performance of Partitioning: time 6.483e-05/0.005393, allocations: 36.11 kB / 0.5056 GB, free: 8.336 MB / 430.1 MB Notification: Performance of Causalize: time 0.0001443/0.005543, allocations: 120 kB / 0.5057 GB, free: 8.211 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001088/0.00566, allocations: 104.3 kB / 0.5058 GB, free: 8.082 MB / 430.1 MB Notification: Performance of Inline: time 0.0001193/0.005786, allocations: 124.5 kB / 0.5059 GB, free: 7.926 MB / 430.1 MB Notification: Performance of Partitioning: time 2.526e-05/0.005817, allocations: 8.125 kB / 0.5059 GB, free: 7.91 MB / 430.1 MB Notification: Performance of Cleanup: time 1.102e-05/0.005832, allocations: 8 kB / 0.5059 GB, free: 7.902 MB / 430.1 MB Notification: Performance of Causalize: time 0.0001456/0.005983, allocations: 135.9 kB / 0.506 GB, free: 7.762 MB / 430.1 MB Notification: Performance of Tearing: time 8.696e-06/0.006002, allocations: 4.062 kB / 0.506 GB, free: 7.758 MB / 430.1 MB Notification: Performance of Initialization: time 3.81e-07/0.006007, allocations: 3.938 kB / 0.506 GB, free: 7.754 MB / 430.1 MB Notification: Performance of Tearing: time 7.92e-07/0.006013, allocations: 3.938 kB / 0.506 GB, free: 7.75 MB / 430.1 MB Notification: Performance of Categorize: time 8.506e-06/0.006027, allocations: 4 kB / 0.506 GB, free: 7.746 MB / 430.1 MB Notification: Performance of Solve: time 4.176e-05/0.006073, allocations: 15.98 kB / 0.5061 GB, free: 7.73 MB / 430.1 MB Notification: Performance of Jacobian: time 2.415e-06/0.006081, allocations: 0 / 0.5061 GB, free: 7.73 MB / 430.1 MB 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.714e-05/0.006122, allocations: 30.55 kB / 0.5061 GB, free: 7.703 MB / 430.1 MB Notification: Performance of SimCode: time 0.0006869/0.006815, allocations: 0.8137 MB / 0.5069 GB, free: 6.867 MB / 430.1 MB Notification: Performance of Templates: time 0.002557/0.009383, allocations: 0.5007 MB / 0.5074 GB, free: 6.367 MB / 430.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile make -j1 -f IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.o IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0_functions.o IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0_functions.c IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0_functions.c:39:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0_functions.c:42:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0_functions.c:45:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _R); ^ IDEAS_IDEAS.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: *** [: IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0_functions.o] Error 1