Xcos / Coselica Support

see Scilab 2025.0.0 unable save graph in Xcos - #2 by flysohigh

The proposed solution is a temporary one. It is very annoying to create manually an empty file each time we want to save it.
I hope for an update to come soon :slight_smile:

There is no empty file to create, the message says To work around this, manually select the ā€œ.zcosā€ file format in the list of supported file formats

Yes, you are right. I had just read the last message. My mistake…

I’d like to take this opportunity to point out the following problem, which is not solved by simply installing vcredist_x86.exe:

ā€œc_pass1: build the modelica meta-block failedā€
ā€œxcos_simulate: Error updating block parametersā€.

when runnig this xcos diagram:

Please add the diagram file (not just its image).

S.

Essai_SIMM_MODELICA.zcos (3.0 KB)

I have something under macOS:

 Main Modelica : /private/var/folders/x8/hp4jj1ts03j_x02qwhfwv8140000gn/T/SCI_TMP_74634_vhcYMF/Essai_SIMM_MODELICA_im.mo

 Flat Modelica : /private/var/folders/x8/hp4jj1ts03j_x02qwhfwv8140000gn/T/SCI_TMP_74634_vhcYMF/Essai_SIMM_MODELICA_imf.mo
 Simulation C code :/private/var/folders/x8/hp4jj1ts03j_x02qwhfwv8140000gn/T/SCI_TMP_74634_vhcYMF/Essai_SIMM_MODELICA_im.c
   Generate a loader file
   Generate a Makefile
   ilib_gen_Make: configure : Generate Makefile.
   ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
   ilib_gen_Make: Copy Essai_SIMM_MODELICA_im.c to TMPDIR
   ilib_gen_Make: configure : Generate Makefile.
   ilib_gen_Make: Modification of the Makefile in TMPDIR.
   Running the Makefile
   Generate a cleaner file
Shared archive loaded.
Link done.
WARNING: Diagram contains implicit blocks, compiling for implicit Solver.
WARNING: Diagram has been compiled for implicit solver
WARNING: switching to implicit Solver
--------------------------------------------\
 Main Modelica : /private/var/folders/x8/hp4jj1ts03j_x02qwhfwv8140000gn/T/SCI_TMP_74634_vhcYMF/Essai_SIMM_MODELICA_im.mo

 Flat Modelica : /private/var/folders/x8/hp4jj1ts03j_x02qwhfwv8140000gn/T/SCI_TMP_74634_vhcYMF/Essai_SIMM_MODELICA_imf.mo
 Simulation C code :/private/var/folders/x8/hp4jj1ts03j_x02qwhfwv8140000gn/T/SCI_TMP_74634_vhcYMF/Essai_SIMM_MODELICA_im.c
   Generate a loader file
   Generate a Makefile
   ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
   ilib_gen_Make: Copy Essai_SIMM_MODELICA_im.c to TMPDIR
   ilib_gen_Make: Modification of the Makefile in TMPDIR.
   Running the Makefile
   Generate a cleaner file
Shared archive loaded.
Link done.
WARNING: Diagram contains implicit blocks, compiling for implicit Solver.
WARNING: Diagram has been compiled for implicit solver
WARNING: switching to implicit Solver


The scope complains about OutputPort size which should be of size 2.

Be sure to have installed latest versions of coselica, SIMM and CPGE, and Scilab 2025.0.0.

S.

The versions installed are the following ones :

CPGE : 1.7.2

COSELICA : 2024.0.0-1

SIMM : 0.6.2.3

I think they are the latest ones.

I will try under MacOs :slight_smile:

Thank you and have a nice weekend

Hello, it’s working fine under MacOs.
So the problem is due to Windows.
After viewing on this site, I took a look on internet, other people have met the same pb, without finding a solution.
Wait & see…