﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5426	Compiler fails when model name is too long in OMEdit	dariomangoni@…	Adrian Pop	"I know it's an almost-duplicate ticket compared to [https://trac.openmodelica.org/OpenModelica/ticket/5315], but I think it's conceptually very different: this is specifically for OMEdit, where the user does *not* handle directly the `fileNamePrefix` as if it was for the `buildModel` and `buildModelFMU` script commands (except if it specifically sets the equivalent option in the Simulation Setup>Output>File Name Prefix).

Long-name models (even those whose name comes from a deep nesting) fail to build with no meaningful error message.
Such a problem could be very annoying to debug if someone does not know about the modelname length problem: if allowing long names it's a problem, then at least the user should be warned about the issue.

The very simple model
{{{
model shortModelName
  Real t;
equation
  t = time;
end shortModelName;
}}}

when nested into something like this:

{{{
model longModelName
  model longModelName
  model longModelName
  model longModelName
  model longModelName
  model longModelName
  model shortModelName
    Real t;
  equation
    t = time;
  end shortModelName;
  end longModelName;
  end longModelName;
  end longModelName;
  end longModelName;
  end longModelName;
end longModelName;
}}}

gives the following error:
{{{
[1] 15:55:51 Scripting Error
Error writing to file BipartiteGraph_longModelName.longModelName.longModelName.longModelName.longModelName.longModelName.shortModelName.graphml.
}}}


Obviously, I'm not playing to make long names on purpose!
I hit this problem when I had to run a real model: `CrtVehicleTesting.Mechanics.Rotational.Differentials.DifferentialElectronicLimitedSlipTest`
"	defect	assigned	blocker	2.0.0	Frontend	v1.14.0-dev-nightly			
