﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6077	OM 1.16 fails to read XML parameters from input file	john.pye@…	Andreas Heuermann	"Hi there,

In SolarTherm (https://github.com/SolarTherm/SolarTherm), we make direct use of the compiled model executable ('C runtime') to run our simulations, and we pass modified parameters into each simulation by writing customised XML input files for each run-case.

However we have noticed that since Modelica 1.16, we have not been able to use this feature successfully. It is as though OM 1.16 is *not reading* the XML file provided.

We've written a test case to show the problem This case works correctly with OM 1.14 but fails with 1.16.

https://github.com/SolarTherm/SolarTherm/blob/master/tests/TestXMLParameter.py

This code basically compiles a simple model file, then modifies the XML input file and runs the simulation. If the updated value from the XML file has been successfully used, the test passes. If not, the test fails.

Details on running this case are here:
https://github.com/SolarTherm/SolarTherm/wiki/Building-SolarTherm

I tested with Ubuntu 18.04.

Note that there is ANOTHER bug with OM 1.16 which also impacts on successful running of this test, which I will report separately.

Cheers
JP"	defect	reopened	high		Run-time	v1.16.0-dev			Francesco Casella
