"Undefined variable: xcos_block" when simulating a diagram twice.

Reported by Ibrahim ERTURK (@ierturk)

-- Bug description --


Attached XCOS file is running properly, when at first time, but then, when click a block for change parameters, Scilab produces below error. Hereafter, Scilab can not run that Xcos model.


-- Scilab error message --


P_3652_\xcos7679285139668557539.h5", xcos_block, "set", "C:\Documents and Se
                                       !--error 4 
Undefined variable: xcos_block

while executing a callback


-- How to reproduce the bug --


Created an attachment (id=2194)
xcos model produces bug