Skip to content
Unstable

Changes

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/3rdParty (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was modifiedOMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/3rdParty (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/3rdParty (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was modifiedOMCompiler/CMakeLists.txt (diff)
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/3rdParty (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/3rdParty (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was modifiedOMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was modifiedOMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/3rdParty (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/3rdParty (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was modifiedOMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was modifiedOMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was modifiedOMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/3rdParty (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was modifiedOMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was modifiedOMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)

Summary

  1. [NF/NB] update binding from inst node function (#14267) (details)
  2. Fix missing icon (#14273) (details)
  3. Fix NFComponentRef.subscriptsAll (#14270) (details)
  4. [MOO] add new dynamic optimization to C runtime (#14211) (details)
  5. [NB] make jacobian generic calls unique (#14275) (details)
  6. [MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277) (details)
  7. [C, Tpl] only run homotopy initialization when operator is present (#14274) (details)
  8. [NB] add new structure to c-code of assc (#14278) (details)
  9. [MOO] remove -fno-var-tracking-assignments for clang builds (#14279) (details)
  10. [NB] fix function differentiation (#14280) (details)
  11. [MOO] fix linking on macOS, require Fortran compiler for MOO (#14283) (details)
Commit 3cb7b10b2c361a8a2d00eaecb7f2c1e1aca8a59e by 38032125+kabdelhak
[NF/NB] update binding from inst node function (#14267)

- if the binding is not avaiable, try to generate a binding from record attribute bindings
- add wild card handling
- [testsuite] add test case
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ModelicaTest.Media.TestOnly.R134a_setState_phX.mos
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/ModelicaTest/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/ModelicaTest/ReferenceFiles/ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat
Commit 9eda94054e2bb490963c3c129f1b24d656634b32 by adeel.asghar
Fix missing icon (#14273)

The file was removedOMEdit/OMEditLIB/Resources/icons/import-tlmmodel.svg
The file was modifiedOMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
The file was modifiedOMEdit/OMEditLIB/resource_omedit.qrc (diff)
The file was addedOMEdit/OMEditLIB/Resources/icons/ssp-icon.svg
Commit 9314f644b2d21f87ea30a8ca2ba280fdcc2b1bc9 by per.ostlund
Fix NFComponentRef.subscriptsAll (#14270)

* Fix NFComponentRef.subscriptsAll

- Reverse the list returned by `NFComponentRef.subscriptsAll` to comply
  with its documented behaviour, and add
  `NFComponentRef.subscriptsAllReverse` with the old behaviour.

* [NB] fix applying of subscripts

* [NF] add function to copy subscripts for one cref to another

* [testsuite] update test case

---------

Co-authored-by: kabdelhak <karim.abdelhak@hsbi.de>
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/array_handling/testVectorizedPowerSystem.mos (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBAdjacency.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff)
Commit a726d7cee8bb56bc4b9506ac9bb29f5284486445 by Langenkamp Linus
[MOO] add new dynamic optimization to C runtime (#14211)

* add MOO v.0.1.0 to C runtime
* add fallback if MOO has not been built
* hide / expose symbols for win
* use LAPACK and Metis libs from OpenModelica build
The file was addedOMCompiler/SimulationRuntime/c/moo/info.h
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.c (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.h
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.h
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.cpp
The file was modifiedOMCompiler/Compiler/Script/StaticScript.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.h
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/info.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/simulation_options.h (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.h
The file was addedOMCompiler/SimulationRuntime/c/moo/hessian_finite_diff.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/debug.cpp
The file was addedOMCompiler/SimulationRuntime/c/moo/main_opt.cpp
The file was modifiedOMCompiler/CMakeLists.txt (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/simulation_runtime.h (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/evaluations.h
The file was modifiedOMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/problem.cpp
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was addedOMCompiler/SimulationRuntime/c/moo/strategies.cpp
The file was modifiedOMCompiler/SimulationRuntime/c/util/omc_error.c (diff)
Commit cfd03301bee7def50bedc2fcba9dcef8dc9d2731 by 38032125+kabdelhak
[NB] make jacobian generic calls unique (#14275)

- follow up to subscript fix that was meant to fix subscript differentiation by #14270
- let jacobian generic calls have a unique name in code generation
- [testsuite] add test case for subscript differentiation
The file was addedtestsuite/simulation/modelica/NBackend/differentation/diff_subs.mos
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
Commit 7ce71b988efa372d41ae6353e64264f5c2452152 by Langenkamp Linus
[MOO] add MOO_MAKEPROGRAM option for third-party builds (#14277)

- sets make program for MOO's legacy third-party builds
- falls back to $ENV{MAKE} or find_program(make)
The file was modifiedOMCompiler/3rdParty (diff)
Commit a4188728cafeea8f5ec338cf16934df1ad45028c by Langenkamp Linus
[C, Tpl] only run homotopy initialization when operator is present (#14274)

* [C, Tpl] fix homotopy operator warning, improve code readability

* update test because wrong warning message is no longer present
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_alg.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was modifiedtestsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff)
The file was modifiedtestsuite/simulation/modelica/others/Bug2788.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation_data.h (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2994.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideLiteralStartFromFile_alg.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2207.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_2990.mos (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/bug_3052.mos (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff)
The file was modifiedtestsuite/simulation/modelica/start_value_selection/overrideParamStartFromFile_param.mos (diff)
The file was modifiedOMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modifiedOMCompiler/Compiler/Util/Config.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/openmodelica_func.h (diff)
The file was modifiedOMCompiler/Compiler/Template/SimCodeTV.mo (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff)
The file was modifiedtestsuite/simulation/modelica/initialization/parameters.mos (diff)
Commit bbeb7b38474fab99911effaa3f693aefd25a352f by 38032125+kabdelhak
[NB] add new structure to c-code of assc (#14278)

- add array of lists to c-code assc
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.h (diff)
The file was modifiedOMCompiler/Compiler/runtime/ASSCEXT_omc.cpp (diff)
The file was modifiedOMCompiler/SimulationRuntime/c/util/list.c (diff)
Commit 3290eceafb947c1ca6cdf0d037c07c3d75f3579b by Langenkamp Linus
[MOO] remove -fno-var-tracking-assignments for clang builds (#14279)

The file was modifiedOMCompiler/3rdParty (diff)
Commit 616ca3b3e191f8abf9c53b807f4801ed3fd1577e by 38032125+kabdelhak
[NB] fix function differentiation (#14280)

- when differentiating a function add the derivatives of the local variables to the class tree such that the function map function finds them
- works towards #14246
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit 6991cda0d4e4024f65043a9d2e244eb868738468 by Langenkamp Linus
[MOO] fix linking on macOS, require Fortran compiler for MOO (#14283)

The file was modifiedOMCompiler/3rdParty (diff)
The file was modifiedOMCompiler/CMakeLists.txt (diff)