Francesco Casella

Results 219 issues of Francesco Casella

Please open Buildings.Fluid.HeatPumps.ModularReversible.Examples.AirToWater2D_OneRoomRadiator from the master branch of the Buildings library and simulate it. Despite the model having ```modelica experiment( StartTime=0, StopTime=86400, Tolerance=1e-08), ``` both OMEdit and the CI simulate...

COMP/GUI/OMEdit

If I try to flatten Buildings.Fluid.HeatPumps.ModularReversible.Examples.AirToWater2D_OneRoomRadiator with -f, I get this error: ``` [1] 09:36:30 Translation Notification [Modelica.Media: 6549:9-6549:14]: [From here:](omeditmessagesbrowser:///Modelica.Media?lineNumber=6549) [2] 09:36:30 Translation Error [Modelica.Media: 5093:7-5094:64]: [Type mismatch in...

COMP/Base Modelica
COMP/OMC/Frontend

Today I had a discussion with @marcochiaramello, @rosiereflo, and @joyelfeghali about using C code generated with `--daeMode --generateSymbolicJacobian`. Consider the following test case: ```modelica model DAE Real u "known input...

COMP/OMC/Frontend

Please check https://build.openmodelica.org/Documentation/Modelica.html All image links are broken. Can we fix that?

documentation

### Steps to Reproduce Consider the following MWE: ```modelica package P model M Real x[2]; equation x = {1, time}; end M; model S M m[2]; end S; end P;...

COMP/OMC/Frontend

At the moment, OMEdit provides limited support for library compatibility and conversion scenarios: - it is possible to upgrade a model or package B that uses an installed package A...

COMP/GUI/OMEdit

Please check [Buildings.Fluid.Geothermal.ZonedBorefields.Examples.SeriesConnectedZones](https://libraries.openmodelica.org/branches/master/Buildings_latest/files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.Examples.SeriesConnectedZones.err). The backend fails after 1800 s with the following stack trace: ``` /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f855ebdb520] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(matching+0x4d2)[0x7f8560207e82] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEExtImpl__matching+0x19b)[0x7f85601fc64b] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Matching_matchingExternal+0x2ac)[0x7f855fb93f4c] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Matching_PFPlusExternal+0x1d1)[0x7f855fb95621] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Causalize_singularSystemCheck1+0x2e5)[0x7f855fc9e375] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Causalize_singularSystemCheck+0x2c6)[0x7f855fc9e776] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_BackendDAEUtil_causalizeDAEWork+0x3bc)[0x7f855fcf924c] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_BackendDAEUtil_mapCausalizeDAE+0xde)[0x7f855fcf945e] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_BackendDAEUtil_causalizeDAE+0x78)[0x7f855fcf8358] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Initialization_createInitialDAEFromSystem+0x32e)[0x7f855fbbbf9e] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Initialization_solveInitialSystem+0x88c)[0x7f855fbbcb9c] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_BackendDAEUtil_getSolvedSystem+0x4c2)[0x7f855fcf9b52] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModelCallBackendOB+0x481)[0x7f855f7df191] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModel+0x55a)[0x7f855f7e031a]...

COMP/OMC/Backend

@perost, please check the [Buildings.Fluid.Geothermal.ZonedBorefields.Validation.FEFLOW.InletTemperaturePulse](https://libraries.openmodelica.org/branches/master/Buildings_latest/files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.Validation.FEFLOW.InletTemperaturePulse.err) model that was recently added to the master branch of Buildings, along with other similar models failing in the same way. The NF reports: ```...

COMP/OMC/Frontend

Base Modelica does not have the protected keyword, hence Base Modelica functions should not have a protected section for the declaration of local (non-input, non-output) variables. Consider the following MWE...

COMP/Base Modelica
COMP/OMC/Frontend

Follow-up of [#12381](https://github.com/OpenModelica/OpenModelica/issues/12381#issuecomment-2116364740), check the description there. Keeping @fedetftpolimi in the loop.

COMP/OMC/Frontend
COMP/GUI/OMEdit