﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6204	Issues with Buildings model writing files to tmp directory	Francesco Casella	Martin Sjölund	"Please check [https://libraries.openmodelica.org/branches/newInst/Buildings_7.0.0/files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix].

The Jenkins server [https://libraries.openmodelica.org/branches/newInst/Buildings_7.0.0/files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim reports]:
{{{
assert            | debug   | Not possible to construct full path name of ""tmp""
|                 | |       | No such file or directory
}}}
This apparently happens when this statement
{{{
    Modelica.Utilities.Files.createDirectory(""tmp"");
}}}
is executed in the {{{TemperatureResponseMatrix()}}} function. Since some models may need to use some temporary storage space in the simulation directory, we should allow this during testing as well.

When I simulate the model with OMEdit, I get
{{{
... loading ""TStep"" from ""tmp/temperatureResponseMatrix/TemperatureResponseMatrix_validationTStep.mat""

Solving a linear system of equations with function
""Matrices.solve"" is not possible, because the system has either
no or infinitely many solutions (A is singular).
simulation terminated by an assertion at initialization
}}}
so there is probably some other additional issue with the computation and/or writing and/or reading of that matrix.
"	defect	closed	high	1.17.0	Run-time		fixed		Martin Sjölund
