Problem with non-int's in Expression after 2019.1 update

Hi,

after the update to 2019.1 my code did not work anymore. The line

Zugbelastung_Zeit_Linear = Expression(‘time/t_Last_end*Zugbelastung’, time=time, t_Last_end=t_Last_end, Zugbelastung=Zugbelastung, degree=1)

‘time’, ‘t_Last_end’ and ‘Zugbelastung’ beeing numpy floats. I resolved the error by using ‘xxx=int(xxx)’ and so on. Is this known? Any other solution?

Thanks and regards.

Error output:

Moving new file over differing existing file:
[…]1b99c043967c4e5188fbc36a8b5d7641/error.log.5c3ac01adca1432ba77f011eb5515432
[…]/jitfailure-dolfin_expression_1b99c043967c4e5188fbc36a8b5d7641/error.log
[…]jitfailure-dolfin_expression_1b99c043967c4e5188fbc36a8b5d7641/error.log.old
Backup file exists, overwriting.
------------------- Start compiler output ------------------------
/tmp/tmp8fsydrws/dolfin_expression_1b99c043967c4e5188fbc36a8b5d7641.cpp: In member function ‘virtual void dolfin::dolfin_expression_1b99c043967c4e5188fbc36a8b5d7641::eval(Eigen::Ref<Eigen::Matrix<double, -1, 1> >, Eigen::Ref<const Eigen::Matrix<double, -1, 1> >) const’:
/tmp/tmp8fsydrws/dolfin_expression_1b99c043967c4e5188fbc36a8b5d7641.cpp:62:28: error: ‘t_Last_end’ was not declared in this scope
values[0] = time/t_Last_end*Zugbelastung;
^~~~~~~~~~

------------------- End compiler output ------------------------
Compilation failed! Sources, command, and errors have been written to: […]/jitfailure-dolfin_expression_1b99c043967c4e5188fbc36a8b5d7641
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/dolfin/jit/jit.py”, line 167, in compile_class
mpi_comm=mpi_comm)
File “/usr/lib/python3/dist-packages/dolfin/jit/jit.py”, line 47, in mpi_jit
return local_jit(*args, **kwargs)
File “/usr/lib/python3/dist-packages/dolfin/jit/jit.py”, line 103, in dijitso_jit
return dijitso.jit(*args, **kwargs)
File “/usr/lib/python3/dist-packages/dijitso/jit.py”, line 217, in jit
% err_info[‘fail_dir’], err_info)
dijitso.jit.DijitsoError: Dijitso JIT compilation failed, see ‘[…]/jitfailure-dolfin_expression_1b99c043967c4e5188fbc36a8b5d7641’ for details

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “[…]”, line 1886, in
Zugbelastung_Zeit_Linear = Expression(‘time/t_Last_end*Zugbelastung’, time=time, t_Last_end=t_Last_end, Zugbelastung=Zugbelastung, degree=1)
File “/usr/lib/python3/dist-packages/dolfin/function/expression.py”, line 400, in init
self._cpp_object = jit.compile_expression(cpp_code, params)
File “/usr/lib/python3/dist-packages/dolfin/function/jit.py”, line 158, in compile_expression
expression = compile_class(cpp_data, mpi_comm=mpi_comm)
File “/usr/lib/python3/dist-packages/dolfin/jit/jit.py”, line 170, in compile_class
raise RuntimeError(“Unable to compile C++ code with dijitso”)
RuntimeError: Unable to compile C++ code with dijitso

Were you running the code in 2018.1 before? I’m wondering if there is a mismatch in dijitso subcode versions. If that’s the problem then dijitso clean would clear it.