Commit
f8ab091bc46e9b905d0e21ce1074ece3471dfb82
by Hannebohm Philip Fix issue #7848 (#7856) I don't even understand how this worked before. The data about the nonlinear system was initialized after checking for the sparse pattern, but at that time the sparse pattern was not initialized yet so that case should have never occured. I swapped the order of that so now it reports correctly to use a sparse solver. Also the solver is now chosen after all systems have been looked at. This avoids some segmentation faults that haven't been found before by accident I guess. This helps a handfull of models in the testsuite but also breaks one, namely Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed This fails for some other reason. TODO find and fix that other reason! The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff) The file was modified
testsuite/simulation/libraries/msl32/Makefile (diff) The file was modified
testsuite/simulation/modelica/solver/problem1-symSolverImp.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was modified
testsuite/simulation/modelica/solver/problem1-symSolverImpSsc.mos (diff) The file was modified
testsuite/openmodelica/cruntime/simoptions/nlssMinSize.mos (diff) The file was modified
testsuite/simulation/modelica/daemode/testDAEScaling.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo (diff) The file was modified
testsuite/simulation/modelica/nonlinear_system/problem6_symjac.mos (diff)
Commit
dc51ad747eba857ac1600edc1d2e504ecd2982fb
by Mahder Gebremedhin [cmake] Complete linking of libOpenModelicaFMIRuntimeC. - This library is built as a static library and contains everything needed to run an OpenModelica FMU. Therefore it has to include the functionality from the other libraries. - It is not complete yet. I have to see what more needs to go in here. The file was modified
OMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff) The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff)
Commit
395c1164f9a543662387a4318a93a2c52b8043d3
by Mahder Gebremedhin Specify static fmu linking flags using config. - Do not add a library to the link command line using MetaModelica code (CevalScriptBackend.mo). It is more conveninet to do it usuing config files. A new variable `Autoconf.ldflags_runtime_fmu_static` specifies the libraries to be linked for static source code FMUs. The file was modified
OMCompiler/configure.ac (diff) The file was modified
OMCompiler/Compiler/Util/Autoconf.mo.omdev.mingw (diff) The file was modified
OMCompiler/Compiler/Util/Autoconf.mo.in (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff)
Commit
ddedfde79af262d2dd18f5fc486c5e4ad139c164
by Mahder Gebremedhin [cmake] Link simulation exe to zlib explicitly. - The CMake build currently does not link libSimulationRuntimeC or the generated simulation code to libfmil. libfmil has embedded zlib code within itself. As far as I can tell this is why the normal autoconf guided simulation exe compilation never complained about zlib missing. It is all so confusing to follow. The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/model_help.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/simulation_options.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/linearSystem.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/varinfo.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation_data.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/model_help.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/varinfo.c (diff)
Commit
1bffd0415959df6b3ceaadf659380531d4b9b30a
by Mahder Gebremedhin [cmake] Prefer static versions of the libraries. - We sometimes have both static and dynmaic versions of some libraries. e.g. right now sundials libs are built as both static and dynamic since the CPP runtime needs dynamic versions and FMUs need static versions. So make sure we link to the static ones when building static versions of FMUs The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff) The file was modified
OMCompiler/configure.ac (diff) The file was modified
OMCompiler/Compiler/Template/CodegenFMU.tpl (diff) The file was modified
OMEdit/OMEditLIB/OMEditLIB.pro (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff) The file was modified
OMCompiler/SimulationRuntime/c/dataReconciliation/dataReconciliation.cpp (diff) The file was modified
doc/bibliography/papers.cite (diff) The file was modified
doc/bibliography/openmodelica.bib (diff)
Commit
683c6a47f9d0be73df132003b10090fd651d1e85
by Mahder Gebremedhin Restructure and organize source code FMU handling - It is better to rewrite this than to try and make sense of it. - Name variables properly. - Follow the same code structure and style. - Make intentions clear. - Add comments where needed. - I am still not sure what more is needed or what needs to be removed. We will see as we go. For now this simplification is a good starting place. The file was modified
OMCompiler/SimulationRuntime/c/Makefile.common (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/RuntimeSources.mo.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/c/cmake/source_code_fmu_config.cmake (diff) The file was modified
OMCompiler/SimulationRuntime/c/RuntimeSources.mo.cmake (diff) The file was modified
OMCompiler/Makefile.in (diff) The file was modified
OMEdit/OMEditLIB/Debugger/GDB/GDBAdapter.h (diff) The file was modified
OMEdit/OMEditLIB/Debugger/Parser/GDBMIOutput.g (diff) The file was modified
OMEdit/OMEditLIB/Debugger/Parser/GDBMIParser.h (diff) The file was modified
OMEdit/OMEditLIB/Debugger/GDB/GDBAdapter.cpp (diff) The file was modified
OMEdit/OMEditLIB/Debugger/Parser/GDBMIParser.cpp (diff)
Commit
b9f58eb5926be232642b00c18715b02187a48658
by Mahder Gebremedhin Change sundials install directory. - Sundials will be installed in `<install_dir>/include/omc` instead of `<install_dir>/include/omc/c` Note the c. - More libraries should be fixed like this. Ipopt is already done some time ago. Figured that now is as good a time as any to fix sundials. The file was modified
OMCompiler/SimulationRuntime/cpp/CMakeLists.txt (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/Makefile.common (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/CMakeLists.txt (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was modified
doc/bibliography/openmodelica.bib (diff) The file was modified
doc/bibliography/journals.cite (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/simulation_input_xml.c (diff)
Commit
5e2fb7fd112318c74985cfbc91044df75e0e7b93
by Östlund Per Improve handling of DynamicSelect in OMEdit (#7946) - Implemented an Expression class for parsing and evaluating flat modelica expressions, with support for most builtin operators and functions. - Use the new Expression class for textString annotations to enable dynamic behaviour via DynamicSelect. The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.h (diff) The file was added OMEdit/OMEditLIB/FlatModelica/Expression.cpp The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMEditLIB.pro (diff) The file was modified
testsuite/openmodelica/interactive-API/Ticket6167.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff) The file was added OMEdit/OMEditLIB/FlatModelica/Expression.h The file was added OMEdit/OMEditLIB/FlatModelica/ExpressionFuncs.cpp The file was modified
OMEdit/OMEditLIB/Annotations/TextAnnotation.cpp (diff) The file was added OMEdit/OMEditLIB/FlatModelica/ExpressionFuncs.h The file was added OMEdit/Testsuite/Expression/ExpressionTest.h The file was added OMEdit/Testsuite/Expression/ExpressionTest.cpp The file was modified
OMEdit/Testsuite/Testsuite.pro (diff) The file was modified
OMEdit/Testsuite/RunOMEditTestsuite.sh (diff) The file was added OMEdit/Testsuite/Expression/Expression.pro
Commit
d6d4eaf2d9032512366137a6bc8e85f836ef690b
by Östlund Per Improve DynamicSelect handling in OMEdit (#7952) - Improve StringHandler::getStrings to handle strings that contain Modelica expressions better. - Change both old and new frontend to just return DynamicSelect calls as they are and let OMEdit handle them. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff) The file was modified
OMEdit/OMEditLIB/Util/StringHandler.h (diff) The file was modified
testsuite/openmodelica/interactive-API/getIconAnnotation.mos (diff) The file was modified
OMEdit/OMEditLIB/Element/Transformation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp (diff) The file was modified
OMEdit/OMEditLIB/Util/StringHandler.cpp (diff) The file was modified
testsuite/openmodelica/interactive-API/Ticket6167.mos (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Static.mo (diff) The file was modified
testsuite/openmodelica/interactive-API/interactive_api_annotations.mos (diff) The file was modified
OMCompiler/Compiler/Script/CevalScript.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff)
Commit
df49713fdaba0ef67da53d24bc022ed652723cea
by Östlund Per Add more tests of the Expression class (#7955) - Add more tests. - Remove the case in Expression that evaluates DynamicSelect to its second argument, since it ended up not being used in OMEdit and removing it improves the testing. The file was modified
OMEdit/Testsuite/Expression/ExpressionTest.cpp (diff) The file was modified
OMEdit/Testsuite/Expression/ExpressionTest.h (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.cpp (diff) The file was modified
.CI/cache/Dockerfile (diff) The file was modified
Jenkinsfile (diff) The file was modified
Jenkinsfile (diff) The file was added .CI/cache-without-cmake/Dockerfile
Commit
fa2abe1d2021f8336e07848b160906d323667912
by Östlund Per Downgrade OMEditLIB to c++14 (#7956) - Downgrade to c++14 in OMEditLIB for better compatibility with older distributions. - Remove CONFIG from OMEdit.pro since it doesn't seem to have any effect. The file was modified
OMEdit/OMEdit.pro (diff) The file was modified
OMEdit/OMEditLIB/OMEditLIB.pro (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was modified
OMCompiler/3rdParty (diff) The file was modified
OMCompiler/3rdParty (diff) The file was added OMCompiler/SimulationRuntime/cpp/Core/CMakeLists.txt The file was modified
OMCompiler/SimulationRuntime/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/CMakeLists.txt (diff) The file was added OMCompiler/SimulationRuntime/cpp/cmake_3.14.cmake The file was added OMCompiler/SimulationRuntime/cpp/Solver/CMakeLists.txt
Commit
ba2cc3caa58d2ded56bf88b6232461527d106e9a
by Mahder Gebremedhin [cmake] Improve config support for CPP runtime. - Added libraries - libOMCppDataExchange.so - libOMCppExtensionUtilities.so - libOMCppModelicaUtilities.so - libOMCppOMCFactory.so - libOMCppSimController.so - libOMCppSimulationSettings.so - libOMCppSystem.so - Improve installation of headers. - Fix some config variables. - There are many more to fix. They will be added based on test failures as I can not be sure what they all means right now. The file was added OMCompiler/SimulationRuntime/cpp/SimCoreFactory/CMakeLists.txt The file was modified
OMCompiler/SimulationRuntime/cpp/cmake_3.14.cmake (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/CMakeLists.txt (diff)
Commit
ca4d5c1e45495cb4b8fe919caafc1942243fa0a0
by Östlund Per Document Expression and fix some design issues (#7963) - Document the public interface of the Expression class. - Implement Expression::isBooleanish that can be used to check if an Expression is convertible to bool. - Split toString into two methods: stringValue that returns the string contained in a String expression and toString that returns the expression printed as a string. toString previously had different behaviour depending on whether the Expression was a string or not, which was potentially confusing. - Rename toInteger -> intValue, toReal -> realValue, and toBoolean -> boolValue to reflect the design change with toString. - Change Expression::size to use a 0-based index instead of 1-based. The file was modified
OMEdit/OMEditLIB/FlatModelica/ExpressionFuncs.cpp (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.cpp (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.h (diff) The file was modified
OMEdit/OMEditLIB/Debugger/Parser/GDBMIParser.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/BitmapAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/TextAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/PolygonAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/EllipseAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/RectangleAnnotation.cpp (diff)
Commit
33c81d1725405aba5d01961602925062f41af8de
by Östlund Per Improve Expression class in OMEdit (#7968) - Fix parsing of >= and == that didn't consume the last =. - Fix binaryOpFromToken for ==, <> and <, which was wrong due to a copy/paste error. - Simplify unary operators when the operand is a literal so that e.g. -5 becomes -5 instead of -(5). The file was modified
OMEdit/Testsuite/Expression/ExpressionTest.cpp (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.h (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.cpp (diff)
Commit
4449cc07e0ae4e1ae06965e42805f01eea0e13fc
by Östlund Per Implement DynamicSelect for more annotations (#7975) - Implement DynamicSelect-aware classes for the various types used in annotations and replace some of the the static variables with those. - Add warning message when trying to read the value of a variable that's not in the result file. The file was added OMEdit/OMEditLIB/Annotations/DynamicAnnotation.h The file was added OMEdit/OMEditLIB/Annotations/RealAnnotation.cpp The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/RectangleAnnotation.h (diff) The file was added OMEdit/OMEditLIB/Annotations/PointAnnotation.h The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/PolygonAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/TextAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp (diff) The file was added OMEdit/OMEditLIB/Annotations/ExtentAnnotation.cpp The file was added OMEdit/OMEditLIB/Annotations/BooleanAnnotation.h The file was added OMEdit/OMEditLIB/Annotations/ExtentAnnotation.h The file was modified
OMEdit/OMEditLIB/Annotations/LineAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/BitmapAnnotation.cpp (diff) The file was added OMEdit/OMEditLIB/Annotations/DynamicAnnotation.cpp The file was modified
OMEdit/OMEditLIB/OMEditLIB.pro (diff) The file was added OMEdit/OMEditLIB/Annotations/ColorAnnotation.cpp The file was modified
OMEdit/OMEditLIB/Annotations/EllipseAnnotation.cpp (diff) The file was added OMEdit/OMEditLIB/Annotations/ColorAnnotation.h The file was modified
OMEdit/OMEditLIB/Annotations/TextAnnotation.h (diff) The file was added OMEdit/OMEditLIB/Annotations/PointAnnotation.cpp The file was modified
OMEdit/OMEditLIB/Annotations/RectangleAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/EllipseAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Plotting/VariablesWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/BitmapAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/PolygonAnnotation.h (diff) The file was added OMEdit/OMEditLIB/Annotations/BooleanAnnotation.cpp The file was added OMEdit/OMEditLIB/Annotations/RealAnnotation.h The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.cpp (diff)
Commit
7a55db8b2c525067594a7df9aab20658a907b364
by Mahder Gebremedhin [cmake] Improve CMake config for CPP runtime. - Add libraries - libOMCppDASSL - libOMCppDgesv - libOMCppNewton - Improve generation of config file LibrariesConfig.h - All tests that use the shared build of CPP runtime are passing now. The file was modified
OMCompiler/SimulationRuntime/cpp/cmake_3.14.cmake (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/FMU/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Solver/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/CMakeLists.txt (diff)
Commit
82881f3affb3af3b762794d6145010944d142824
by Mahder Gebremedhin [cmake] Add static versions of CPP runtime libs. - Add the required static libraries based on tests in the testsuite. If more of them are needed to be built as static then they will be added later. Right now this is purely test guided and trying to make sure the tests in the testsuite are passing. The file was modified
OMCompiler/SimulationRuntime/cpp/Core/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Solver/CMakeLists.txt (diff) The file was added OMCompiler/SimulationRuntime/cpp/FMU/cmake_3.14.cmake
Commit
6fee5fcbb8725347a73c55f2a79611128e07e949
by Mahder Gebremedhin [cmake] Install CPP runtime FMU2 files. - Just a nitpick, the folders should be restructured a bit. A cpp/FMU folder should contain folder FMU1 and FMU2, i.e, - cpp - FMU - FMU1 - FMU2 Then the FMU folder's cmake file can take care of both folders. The file was added OMCompiler/SimulationRuntime/cpp/FMU2/CMakeLists.txt The file was modified
OMCompiler/SimulationRuntime/cpp/cmake_3.14.cmake (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/Script/NFApi.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/AssertInvalid4.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was added testsuite/flattening/modelica/scodeinst/Assert4.mo
Commit
04c84c7f0303d2dc7f4c93f7aa7b0cf23fe46f7b
by Östlund Per Minor refactoring of connection set handling (#7978) - Use the new UnorderedMap in DisjointSets instead of the old BaseHashTable, since it's more efficient and easier to use. - Add UnorderedMap.toArray to speed up cases where we just want to iterate over key-value pairs, and UnorderedMap.toVector for good measure. The file was modified
OMCompiler/Compiler/Util/UnorderedMap.mo (diff) The file was modified
OMCompiler/Compiler/Util/DisjointSets.mo (diff)
Commit
fe2de1e9f0d46bffa584db0b405e3cb2be9ee83d
by 38032125+kabdelhak New balance initialization (#7903) * [BE] new balance initial system algorithm - related to ticket #6200 - problem: old balancing algorithm is way to convoluted and seems to make errors - solution: from scratch implementation with new approach: 1. sort init vars to be matched last 2. compute adjacency matrix 3. inverse match (var->eq) 4. remove unmatched equations 5. fix unmatched vars 6. success - ToDo: 4. check removed equations for consistency 5. check fixing of unmatched vars for fixability 6. more documentation * [BE] update some comments * [BE] remove unwanted commit * ping commit * reset submodules * [BE] update initialization balancing - branch off initial equations before balancing - remove unwanted old stuff * [BE] update new initialization - use ASSC - update adjacency matrix handling of missing equations * [BE] update ASSC - add flag --realASSC which allows ASSC to use real valued coefficients (default: false) - add flag --initASSC to activate it for the initialization (default: false) * [BE] add consistency check to new initialization - reactivate old consistancy check for removed equations during balance initialization - add comments * [BE] copy removedEqns for balance initialization * [BE] fix consistancy check new initialization * [testsuite] fix for new initialization The file was modified
testsuite/simulation/modelica/initialization/OverdeterminedInitialization.Electrical.Test3PhaseSystemsFullInitial.mos (diff) The file was modified
testsuite/simulation/modelica/initialization/bug_2263.mos (diff) The file was modified
testsuite/simulation/modelica/msl22/Test3PhaseInitOver.mos (diff) The file was modified
testsuite/simulation/modelica/initialization/OverdeterminedInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.mos (diff) The file was modified
testsuite/simulation/libraries/3rdParty/PlanarMechanics/PlanarMechanicsForTesting.Examples.TestIdealWheel.mos (diff) The file was modified
testsuite/simulation/modelica/start_value_selection/UnevaluateableFixedAttribute.mos (diff) The file was modified
OMCompiler/Compiler/Util/FlagsUtil.mo (diff) The file was modified
testsuite/simulation/modelica/initialization/OverdeterminedInitialization.Fluid.DynamicPipeLumpedPressureInitialization.mos (diff) The file was modified
testsuite/simulation/modelica/initialization/bug_2583.mos (diff) The file was modified
testsuite/simulation/modelica/indexreduction/ASSC.mo (diff) The file was modified
testsuite/simulation/modelica/synchronous/TestClockParameterEvaluation.mos (diff) The file was modified
testsuite/simulation/modelica/indexreduction/ASSC.mos (diff) The file was modified
testsuite/openmodelica/debugDumps/optdaedump.mos (diff) The file was modified
testsuite/simulation/modelica/initialization/OverdeterminedInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.mos (diff) The file was modified
testsuite/simulation/modelica/initialization/OverdeterminedInitialization.Mechanical.TwoMassesFullInitial.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendEquation.mo (diff) The file was modified
testsuite/simulation/modelica/initialization/OverdeterminedInitialization.Fluid.DynamicPipesSeriesLargeNSteadyStateInitial.mos (diff) The file was modified
testsuite/simulation/modelica/algorithms_functions/InverseAlgorithm4.mos (diff) The file was modified
testsuite/simulation/modelica/initialization/OverdeterminedInitialization.Fluid.DynamicPipesSeriesSteadyStateInitial.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/Sorting.mo (diff) The file was modified
testsuite/simulation/libraries/msl31/Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.mos (diff) The file was modified
testsuite/simulation/modelica/initialization/OverdeterminedInitialization.Mechanical.TwoMassesFullInitialInconsistent.mos (diff) The file was modified
testsuite/simulation/modelica/initialization/SingularInitial.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/Initialization.mo (diff) The file was modified
testsuite/simulation/modelica/initialization/bug_2566.mos (diff) The file was modified
testsuite/simulation/modelica/initialization/OverdeterminedInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.mos (diff) The file was modified
OMCompiler/Compiler/Util/Flags.mo (diff) The file was modified
testsuite/openmodelica/cruntime/optimization/basic/TFC6.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo (diff) The file was modified
testsuite/openmodelica/cruntime/optimization/basic/testAlgLoop6.mos (diff)
Commit
aec55cb3aeb7e47ff72603d374b14fc173840683
by Mahder Gebremedhin [cmake] Fix 3rdParty install include dir specifiers. - Use `CMAKE_INSTALL_INCLUDEDIR` instead of manually specifying a folder name like `include`. This way the person who is building your library can parameterize their installation as they want. The file was modified
OMCompiler/3rdParty (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/OMSI/solver/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/c/Makefile.omdev.mingw (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was modified
OMCompiler/Makefile.omdev.mingw (diff) The file was modified
OMCompiler/SimulationRuntime/c/cmake_2.8.cmake (diff) The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFLookup.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/FrontEnd/BackendInterface.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/LookupLibrary1.mo The file was modified
OMCompiler/configure.ac (diff) The file was removed common/m4/ax_cxx_compile_stdcxx_11.m4 The file was modified
OMPlot/configure.ac (diff) The file was modified
OMPlot/qwt/Makefile.unix.in (diff) The file was modified
OMEdit/configure.ac (diff) The file was modified
OMShell/configure.ac (diff) The file was added common/m4/ax_cxx_compile_stdcxx.m4 The file was modified
OMNotebook/configure.ac (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/kinsolSolver.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/simulation_input_xml.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/kinsolSolver.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/sundials_error.c (diff)
Commit
5d89b2da3c9d10f5885f1fd999494263ec632c4f
by Mahder Gebremedhin Clean OMSI build directories. - These were forgotten and not cleaned. It is problematic because our Makefiles usually just check for the timestap of the generated Makefiles in these "CMake generated" directories. If they are cleaned not properly then they can prevent reconfigurations and recompilations. The file was modified
OMCompiler/Makefile.omsi.common (diff)
Commit
896c93e42947f2d6d3a59e02f1a04bc4d376175e
by Mahder Gebremedhin Use zlib from ModelicaExternalC. - We have decided to use zlib from here. We could have used the system zlib. However, modelica annotations request for "zlib" while the system zlib is OFTEN (but not always) called "libz" which means it should be used as "z". We can modify the annotations to use "z" but then it will be the same issue on systems that call it "zlib". So we need to find a solution Originally I was tried creating a sym link to the system zlib in our lib directories. However, that might be confusing for others. So it might be better to explicitly build it and use it from here An added advantage of this is that we can compile it with -fpic so that we can link it into our static FMUs. - This also means that FMIL now uses the zlib from ModelicaExternalC instead of building its own. There should not be multiple instances of the same library building multiple times. The file was modified
OMCompiler/Makefile.omdev.mingw (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was modified
OMCompiler/3rdParty (diff) The file was modified
OMCompiler/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff) The file was modified
OMCompiler/SimulationRuntime/c/RuntimeSources.mo.cmake (diff) The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff) The file was modified
OMCompiler/README.cmake.md (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/cmake_3.14.cmake (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was modified
OMCompiler/3rdParty (diff)
Commit
a1b18e11a79b12af0775042cf92b6c8a86da3175
by Mahder Gebremedhin Silence Sundails install messages. - They do not add anything usefull to the printouts. Plus they are printed whether or not the actual target is updated or not. - Set the default install message printing to LAZY, i.e., only print info if something is actually updated. The file was modified
OMCompiler/CMakeLists.txt (diff) The file was modified
OMCompiler/3rdParty (diff)
Commit
757e9d6d31752c950cf880a37fa720e12e7b8e3f
by Mahder Gebremedhin [cmake] Configure from root OpenModelica. - So far only the OMCompiler subfolder had cmake support. Now the configuration is stable enough that we can move up and configure from the OpenModelica directory itself. - This means we can now start working on subfolders like 'libraries', or after some time OMSimulator and then the others at some point. The file was modified
OMCompiler/CMakeLists.txt (diff) The file was removed OMCompiler/.cmake/omc_check_exists.cmake The file was added cmake/omc_target_info.cmake The file was removed OMCompiler/.cmake/omc_utils.cmake The file was removed OMCompiler/.cmake/omc_target_info.cmake The file was added cmake/omc_check_exists.cmake The file was added cmake/omc_utils.cmake The file was modified
.CI/common.groovy (diff) The file was added CMakeLists.txt The file was modified
OMCompiler/Makefile.omdev.mingw (diff) The file was modified
OMEdit/OMEditLIB/Annotations/PointAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Element/Element.cpp (diff) The file was modified
OMCompiler/Compiler/Script/Interactive.mo (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff) The file was modified
OMEdit/Testsuite/Expression/ExpressionTest.cpp (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.cpp (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/PrecompiledHeader.cmake (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp (diff)
Commit
ed2124ea8907f0bd5c1690e4c0b373f50da0c73d
by rdgfranke Split Cpp initialization equations as already done for other equations This avoids compiler optimization warnings about lost track. It also speeds up compilation a bit. This commit reintroduces local extra functions for initialization that had been removed with commit aa6b151cafdef28d25195819aa8892ff437d9416 (Suport closures in Cpp algebraic loops as well). The file was modified
OMCompiler/Compiler/Template/CodegenCppHpcomOld.tpl (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCppHpcom.tpl (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCppOld.tpl (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCpp.tpl (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was added testsuite/openmodelica/fmi/CoSimulation/2.0/fmi_interpolation_01.mos The file was modified
OMCompiler/Compiler/Template/CodegenFMU2.tpl (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was modified
OMCompiler/Compiler/Template/SimCodeTV.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
OMCompiler/Compiler/Template/CodegenFMU.tpl (diff) The file was modified
testsuite/openmodelica/fmi/CoSimulation/2.0/Makefile (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc (diff)
Commit
e3f0db305ed56a3ea2a972e65ac72fff4efc5111
by adeel.asghar Fix Windows build for zlib changes (#7989) * Fix OMEdit compilation Link with -lzlib * Fix OMSI build * Add the ModelicaExternal dir to get zlib. * Fix suitesparse header install for msvc build. - suitesparse itself puts its headers in 'suitesparse' dir now. So there should not be added 'suitesparse' dir from the Makefile specified CMAKE_INSTALL_INCLUDEDIR. * Provide zlib's include dir for linked libs. * Explicitly tell fmil where to include zlib headers * Install the zlib headers from the Makefile as well - Apparently the autoconf generated makefile install for zlib in ModelicaExternaC does not actually install the headers. Do it manually. * Use the Windows path (cygpath) for msvc builds. * See if MSVC can configure ModelicaExternalC. - If so we build and install zlib. - If this does not work we might have to move zlib out of ModelicaExternalC and in to its own directory. * See if we can use MSYS cmake instead of OMDev's Co-authored-by: Mahder Gebremedhin <mahder.geb@gmail.com> The file was modified
OMCompiler/3rdParty (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/runtime/src/CMakeLists.txt (diff) The file was modified
OMCompiler/Makefile.omdev.mingw (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Core/System/OMSI/CMakeLists.txt (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was modified
OMEdit/OMEditGUI/OMEditGUI.win.config.pri (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Solver/Newton/Newton.cpp (diff) The file was modified
testsuite/simulation/libraries/msl32_cpp/Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.mos (diff) The file was modified
testsuite/simulation/libraries/msl32_cpp/Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.mos (diff) The file was modified
testsuite/simulation/libraries/msl32_cpp/Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.mos (diff) The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.WindTurbine_PSGR.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.AdmittanceTest.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Sensor.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.DoubleLine.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Source.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Machines.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.GeneratorTest2.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.DoubleLine.out The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.ReferenceInertial.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Transformer.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Fault.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.PowerWorld.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkControlled.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.PowerAngle.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/Makefile The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.WindTurbine_PSGI.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.WindTurbine_IG.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.FaultTline.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.GenOrder3and7.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.ImpedanceTest.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Load.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Line.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.CityTest.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.Frequency.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Breaker.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.InitialSteadyState.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.PQsource.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Fault.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkOpened.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.PVsource.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Inverter.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASM.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.SimulationSteadyInitial.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.SM_ctrl.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.PMeterTest.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.RXline.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.Display.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.TieLine.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.Tline.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Machines.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.Islanding.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASMav.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.LocalGeneration.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.WindFarm.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.WindTurbine_DFIG.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.ReferenceSynchron.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.Units.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.Tables.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.FixedLoadTest.mos The file was modified
testsuite/libraries-for-testing/index.json (diff) The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Impedance.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.Vsource.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.SimulationFixedInitial.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.SimulationSteadyState.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkLoop.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.Test.RotorTest.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/common.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.GeneratorTest.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.BLDC.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transformation.TapChanger.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.FaultRXline.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mos The file was added testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.mos
Commit
69d44f1c19fe2b11df0689e16f73f8444cae501a
by rdgfranke Remove bad simlification e1/tanh(e2) --> e1*cosh(e1)/sinh(e2) This avoids two instead of one calls to builtin functions. It also avoids potential numerical overflows for large values of e2 when sinh returns inf. See: PowerSystems.Examples.AC3ph.Inverters.InverterToLoad See also issue #8005. The file was modified
testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.mos (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSubscript.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/CevalRecordArray7.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff) The file was modified
testsuite/openmodelica/conversion/ConvertClass5.mos (diff) The file was modified
testsuite/openmodelica/conversion/ConvertClass4.mos (diff) The file was added testsuite/openmodelica/conversion/ConvertClass8.mos The file was modified
OMCompiler/Compiler/Script/Conversion.mo (diff) The file was added testsuite/openmodelica/conversion/ConvertClass7.mos The file was modified
testsuite/Makefile (diff) The file was modified
testsuite/openmodelica/conversion/Makefile (diff) The file was modified
OMCompiler/Compiler/Script/Conversion.mo (diff) The file was modified
testsuite/openmodelica/conversion/Makefile (diff) The file was added testsuite/openmodelica/conversion/ConvertElement2.mos The file was added testsuite/openmodelica/conversion/scripts/ConvertElement2.mos
Commit
ee62d1dce63389b7e4d71d75f5fd22ef528b19f0
by rdgfranke Always write a complete results file with Cpp runtime This simplifies the analysis of initialization errors and it works around crashes of OMEdit, see issue #8008 (OMEdit crashes if a simulation fails or is canceled). - SimManager.cpp: write out values after initialization, also in case of failure for the analysis of intermediate results - SolverDefaultImplementation: decouple writing of variable names from initialization of solver. Write them before first values instead. The file was modified
OMCompiler/SimulationRuntime/cpp/Core/Solver/SolverDefaultImplementation.h (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/Solver/SolverDefaultImplementation.cpp (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/SimController/SimManager.cpp (diff) The file was modified
testsuite/Makefile (diff) The file was modified
OMCompiler/Compiler/Script/Conversion.mo (diff) The file was modified
OMCompiler/Compiler/Util/UnorderedMap.mo (diff)
Commit
8ec18b706ff0c837dd2bf864de7ef40b9373fd05
by rdgfranke Fix Cpp reduction for array, remove obsolete create/fill_array_from_shape See ModelicaTest.Fluid.TestComponents.ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics in particular pumpPolynomial using Modelica.Fluid.Machines.BaseClasses.PumpCharacteristics.polynomialFlow The file was modified
OMCompiler/Compiler/Template/CodegenCppCommon.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/Math/ArrayOperations.h (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/Math/ArrayOperations.cpp (diff)
Commit
4ff92b6b57291ad7e17f4757e64cc76e6c52e4a9
by rdgfranke Fix Cpp reduction for record and add test Remove special treatment to treat array of record as regular array. Also remove idx_type, spec_type and getNextIndex from ArrayOperations that are not used anymore since removal of create/fill_array_from_shape. The file was added testsuite/openmodelica/cppruntime/testReduction.mos The file was modified
testsuite/openmodelica/cppruntime/Makefile (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/Math/ArrayOperations.h (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCppCommon.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/Math/ArrayOperations.cpp (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFLookup.mo (diff)
Commit
7fd3c06771f42cdaedff813ddb63ed4aed0b94a2
by Östlund Per Improve handling of graphical primitives with nfAPI (#8027) - When instantiating graphical expression, try to find function names in the top scope before checking the regular scope in case there's a user-defined function with the same name. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstContext.mo (diff) The file was modified
OMCompiler/Compiler/Script/NFApi.mo (diff) The file was modified
OMEdit/OMEditLIB/Util/StringHandler.cpp (diff)
Commit
ada8e716ed64e0cd4ee03d8aa2a6f5b55fec51d7
by Mahder Gebremedhin Generate the antlr config header in the build dir. - Generating it in the source/include directory is conflicting with the autoconf build. They keep overwriting the same file. It should have been in the build folder from the begining anyway. It belongs there. Should not pollute the source dir as much as possible. The file was modified
OMCompiler/3rdParty (diff)
Commit
ba1034502715d91d929e52f2d3821683e9a99194
by Mahder Gebremedhin Do not throw from runtime system. - OMEdit sometimes uses the runtime functions directly instead of going through an API. However, it can not handle the MM longjumps as it is now. So remove the throw on failures of reading a file. We need to find a more suitable solution to handle cases like this in general. Otherwise the runtime system should never 'not return' (throw, assert, exit ...) at all. The file was modified
OMCompiler/SimulationRuntime/c/util/omc_file.c (diff)
Commit
a0697d80dd4ed524bc11f491cecc3e16265874a7
by adeel.asghar Added GUI support for package manager (#7982) * Added GUI support for package manager * Added missing files * Removed library management dialog Added menu item to upgrade installed packages Ignore some files * Improved the system libraries menu Added filters to install library dialog The file was added OMEdit/OMEditLIB/Modeling/InstallLibraryDialog.cpp The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.h (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.h (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/Script/PackageManagement.mo (diff) The file was modified
OMEdit/.gitignore (diff) The file was added OMEdit/OMEditLIB/Modeling/InstallLibraryDialog.h The file was modified
OMEdit/OMEditLIB/Util/Helper.h (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
OMPlot/.gitignore (diff) The file was modified
OMEdit/OMEditLIB/OMEditLIB.pro (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.cpp (diff) The file was modified
OMEdit/OMEditLIB/Debugger/DebuggerConfigurationsDialog.cpp (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMEdit/OMEditLIB/Plotting/VariablesWidget.h (diff) The file was modified
OMEdit/OMEditLIB/Plotting/VariablesWidget.cpp (diff)
Commit
3d8acd86d678103ff74808046737cdf1cca5e0da
by Mahder Gebremedhin Fix wrong list of dgesv sources. - [cmake] Install the dgesv headers to fmu sources dir for now. I will add lapack to 3rdParty soon. Since we need to build it ourselves for multiple reasons. When that is done the proper headers will be installed in omc include directory like every other 3rdParty lib. Until then this suffices. The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/cmake/source_code_fmu_config.cmake (diff) The file was modified
OMCompiler/Compiler/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModifier.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/RedeclareMod9.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit
68cae5a14bb54421af446189a2ec05b27e4f2b97
by Franke Ruediger Make hideResult optional in BackEnd, SimCode and model init XML (#8035) * Make hideResult optional in BackEndDAE.VAR and SimCodeVar.SIMVAR Missing HideResult annotations are treated as NONE() instead of using the protection level as default value. This is needed for OMEdit to show protected variables if emit protected has been checked, see issue #8008, referring to #4346. * Update tests for optional hideResult The file was modified
OMCompiler/Compiler/SimCode/ReduceDAE.mo (diff) The file was modified
OMCompiler/Compiler/Template/SimCodeTV.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/testBug5673.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/ticket5670.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/OnRelaxation.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendInline.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SerializeInitXML.mo (diff) The file was modified
testsuite/openmodelica/cruntime/xmlFiles/testxmlInitForChangeableparameter.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/Uncertainties.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/DynamicOptimization.mo (diff) The file was modified
testsuite/simulation/modelica/parameters/hideResult.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAE.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/Differentiate.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/FindZeroCrossings.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/EvaluateParameter.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/Initialization.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendEquation.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCppInit.tpl (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAECreate.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeVar.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEOptimize.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/IndexReduction.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/VisualXML.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/HpcOmEqSystems.mo (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationOptions.h (diff) The file was modified
OMEdit/OMEditLIB/Plotting/VariablesWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.h (diff) The file was modified
OMEdit/OMEditLIB/Plotting/VariablesWidget.h (diff)
Commit
e128d881e83085087a48a2b48338a74abde3ac57
by Franke Ruediger Set hideResult flag for cse variables (#8037) * Set hideResult flag for cse variables It was already set in function createCSEVar, but not in createCSEArrayVar. * Adapt optimization test runExReduceDrumBoiler.mos to emit start values * Don't use index counter as hideResult flag This looks like a copy/paste error from SIMVAR to VAR that has not been detected by compiler type checks. The file was modified
testsuite/openmodelica/cruntime/optimization/benchmark/runExReduceDrumBoiler.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/ReduceDAE.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/CevalRecordArray8.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit
998ecd73cc1ae845db0319249edefefd8d724f9b
by Ruge Vitalij [C/DO]: fixed values for discrete variables stored in the section for real variables (#8036) * fix: issue4979 * refacator code avoid duplicated code * algorithmen, handling only state and inputs * copy of the real discret value was missing * test: update output * TFC5 was broken. * updated the initial guess. The file was modified
OMCompiler/SimulationRuntime/c/optimization/DataManagement/DebugeOptimization.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/optimization/DataManagement/InitialGuess.c (diff) The file was modified
testsuite/openmodelica/cruntime/optimization/basic/Makefile (diff) The file was added testsuite/openmodelica/cruntime/optimization/basic/InputOptIssues.mo The file was added testsuite/openmodelica/cruntime/optimization/basic/InputOptIssues.mos The file was modified
testsuite/openmodelica/cruntime/optimization/benchmark/runDrumBoiler.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/optimization/OptimizerLocalFunction.h (diff) The file was modified
testsuite/openmodelica/cruntime/optimization/basic/TFC5.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/optimization/eval_all/EvalL.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/optimization/DataManagement/DerStructure.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/optimization/DataManagement/MoveData.c (diff) The file was modified
testsuite/openmodelica/cruntime/optimization/benchmark/runReduceDrumBoiler.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVarTransform.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/FindZeroCrossings.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAEUtil.mo (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/SimCoreFactory/OMCFactory/OMCFactory.cpp (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/DataExchange/XmlPropertyReader.cpp (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/SimulationSettings/IGlobalSettings.h (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was added testsuite/openmodelica/cruntime/optimization/basic/issue7969.mos The file was modified
testsuite/openmodelica/cruntime/optimization/basic/Makefile (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Makefile.omdev.mingw (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/LibrariesConfig.h.in (diff) The file was modified
OMCompiler/Makefile.omdev.mingw (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/Makefile.omdev.mingw (diff) The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Nox/FactoryExport.cpp The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/include/Solver/Nox/NoxLapackInterface.h The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Nox/NOX_StatusTest_SgnChange.H The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Nox/NoxLapackInterface.h The file was modified
OMCompiler/SimulationRuntime/OMSICpp/runtime/include/Core/Utils/Modelica/ModelicaSimulationError.h (diff) The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Nox/NoxLapackInterface.cpp The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/include/Solver/Nox/NoxSettings.h The file was modified
OMCompiler/SimulationRuntime/cpp/CMakeLists.txt (diff) The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Nox/NOX_StatusTest_SgnChange.C The file was modified
OMCompiler/SimulationRuntime/cpp/README (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/README (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/Utils/Modelica/ModelicaSimulationError.h (diff) The file was modified
Makefile.omdev.mingw (diff) The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Nox/FactoryExport.h The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Nox/NoxSettings.cpp The file was modified
OMCompiler/SimulationRuntime/OMSICpp/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/runtime/include/SimCoreFactory/Policies/NonLinSolverOMCFactory.h (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/runtime/src/LibrariesConfig.h.in (diff) The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Nox/NOX_StatusTest_SgnChange.C The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Nox/CMakeLists.txt The file was modified
OMCompiler/Makefile.common (diff) The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Nox/NoxSettings.cpp The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/include/Solver/Nox/FactoryExport.h The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Nox/NoxSettings.h The file was modified
OMCompiler/SimulationRuntime/cpp/SimCoreFactory/Policies/NonLinSolverOMCFactory.h (diff) The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Nox/Nox.cpp The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Nox/Nox.cpp The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Nox/NoxLapackInterface.cpp The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Nox/FactoryExport.cpp The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Nox/Nox.h The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Nox/CMakeLists.txt The file was modified
OMCompiler/SimulationRuntime/OMSI/Makefile.omdev.mingw (diff) The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/include/Solver/Nox/Nox.h The file was modified
OMCompiler/3rdParty (diff)
Commit
7e091bb317a4f2fcfeb1c3d856d654f77571c3f6
by Östlund Per Fix #7767 (#8046) - Fix lookup so that it works also on iterators of complex type. - Improve Expression.replaceIterator so it handles qualified iterator names. - Improve construction of record array bindings in Ceval, evaluate each element instead of evaluating only one and filling an array. - Add simplification of record element expressions, to make sure mutable expressions are simplified away properly. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpandExp.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/ArrayConstructorRecord2.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/ArrayConstructorRecord1.mo The file was modified
doc/bibliography/papers.cite (diff) The file was modified
doc/bibliography/openmodelica.bib (diff)
Commit
70d8980081074e50e59bf5d5123bdf37310849e4
by Mahder Gebremedhin Initialize base_array member 'flexible'. - I am not sure if this covers every creation path. Unfortunately the array creation code is in multiple places. I had a plan to remove all of them and redirect every array creation to `generic_array.c::simple_array_create()'. Maybe it is time to start that change. The file was modified
OMCompiler/SimulationRuntime/c/util/base_array.c (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.h (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/DynamicAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ExtentAnnotation.cpp (diff) The file was added OMEdit/OMEditLIB/Annotations/StringAnnotation.h The file was modified
OMEdit/OMEditLIB/OMEditLIB.pro (diff) The file was modified
OMEdit/OMEditLIB/Annotations/DynamicAnnotation.h (diff) The file was added OMEdit/OMEditLIB/Annotations/StringAnnotation.cpp The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/TextAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.cpp (diff)
Commit
707b677a010db5f0602376afc6dedc34f12eb078
by Mahder Gebremedhin [cmake] Reorganize FMI runtime handling a bit more - We now have libSimulationRuntimeFMI and libOpenModelicaFMIRuntimeC just like the normal build system. It simplifies things for now and allows us to pass all tests with minimal effort. We can come back and modify them later. - libSimulationRuntimeFMI contains everything needed for source code FMUs. - libOpenModelicaFMIRuntimeC contains some FMU related files (see the cmake files). This is separate because it is used by annotations in some places. Until we fix that we keep them separate. The file was modified
OMCompiler/SimulationRuntime/c/cmake/source_code_fmu_config.cmake (diff) The file was modified
OMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff) The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff)
Commit
a61de2e1f7dad2bdff140459269ce19aee12f6a6
by Mahder Gebremedhin [cmake] Initial simple support for OMSimulator. - We use the existing OMSimulator build approach. Basically we emulate what the makefiles used to do. - This only builds OMSimulator optionally. That means you have to explicitly specify 'omsimulator' target if you want to build it. It is not part of the 'ALL' target. - NOTE: The actual compilation on Jenkins is disabled for now since omsimulator can not be compiled with gcc-5 due to not-included headers. The file was added omsimulator.cmake The file was modified
CMakeLists.txt (diff) The file was modified
OMEdit/OMEditLIB/Util/StringHandler.cpp (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ExtentAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/RealAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/RealAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ColorAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/PointAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ExtentAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/DynamicAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/DynamicAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/StringAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/StringAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/PointAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/BooleanAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ColorAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/BooleanAnnotation.cpp (diff) The file was modified
OMCompiler/Compiler/runtime/om_curl.c (diff)
Commit
331aa1d8a04ae64176415b30eab5836478c92d81
by Mahder Gebremedhin [cmake] Multiple fixes for Windows build. - omc_config.h is in OMCompier. - It used to be in OMCompier/Compiler/runtime. It was moved a while back but the windows Makefile was still 'touching' it in the old folder and ending up creating an empty file. - Do not specify -rdynamic for omc on Windows. - Install the scripts (Compiler/scripts) to the share dir. - Link with wsock32 and ws2_32 where needed. The file was modified
OMCompiler/SimulationRuntime/cpp/SimCoreFactory/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff) The file was modified
OMCompiler/Compiler/CMakeLists.txt (diff) The file was modified
OMCompiler/Makefile.omdev.mingw (diff)
Commit
2c5c1b64d871a2740e7755c058a92bd60fd3560e
by Mahder Gebremedhin Do not use GKRegex. It is not compatible. - Do not enable the use of GKRegex (i.e, -DUSE_GKREGEX) if it is not requested explicitly by the option GKREGEX above. It is not compatible with the regex implementation OpenModelica expects. It segfaults in quite confusing ways. The file was modified
OMCompiler/3rdParty (diff) The file was modified
OMCompiler/3rdParty (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCpp.tpl (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCppOld.tpl (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/Tearing.mo (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapePropertiesDialog.cpp (diff) The file was modified
OMCompiler/Compiler/Script/CevalScript.mo (diff)
Commit
da82258737aca940d8b09b7c531024b9cddc7b0f
by Östlund Per Fix #7835 (#8074) - Subscript dimension expressions if they have too many dimensions after being evaluated. - Improve the typing of split expressions to account for bindings that become ragged arrays after evaluation. - Move splitRecordCref from Expression to Flatten and make sure crefs it creates are flattened. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/CevalRecordArray9.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSubscript.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFDimension.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff) The file was modified
OMEdit/OMEditLIB/Element/ElementProperties.cpp (diff)
Commit
57c1a39efd380ceba4e9d6fe7015bb0d230a09f5
by Östlund Per Remove AbsynUtil.printComponentRefStr (#8077) - Remove AbsynUtil.printComponentRefStr and replace any uses of it with Dump.printComponentRefStr. They are not the same since the AbsynUtil one ignores subscripts, but it's hard to know whether it's used intentionally or if the user just mistook it for the Dump one. - Also remove the unused function AbsynUtil.expComponentRefStr. The file was modified
OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/AbsynUtil.mo (diff) The file was modified
OMCompiler/Compiler/FFrontEnd/FGraphBuild.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Static.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Inst.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/InstExtends.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/InstSection.mo (diff) The file was modified
OMCompiler/Compiler/Script/InteractiveUtil.mo (diff) The file was modified
OMCompiler/Compiler/Script/Interactive.mo (diff) The file was modified
OMCompiler/Compiler/FFrontEnd/FGraphDump.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/InstUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ValuesUtil.mo (diff) The file was modified
OMCompiler/3rdParty (diff) The file was modified
OMCompiler/Compiler/FrontEnd/AbsynUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/InstSection.mo (diff)
Commit
af03d9593cfc9f7c4c33a9365dc8c248e33c50d0
by Martin Sjölund Give the error functions default values. (#8073) * Give the error functions default values. - The default values given to the are the 'functions' versions, e.g. `omc_assert = omc_assert_function` - This way we do not have to initialize them in every executable code that links to the OpenModelicaRuntimeC. If you do not specify anything you get the default value. - For simulations set them to the 'simulation' versions in the simulation executables 'main' function, e.g, `omc_assert = omc_assert_simulation` - Windows tests are now on track to start working without complaining about undefined references in 'function' mode. - The testcase is intended to test parameter overriding. However it had a terminate statement that fired when t > 1 but also specified an experiment stop time of 2. Use the default stop time of 1 so the test does not terminate before doing what is is supposed to test. Co-authored-by: Mahder Gebremedhin <mahder.geb@gmail.com> The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/testChangeParam.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/simulation_omc_assert.c (diff) The file was modified
OMShell/mosh/src/omcinteractiveenvironment.cpp (diff) The file was modified
OMCompiler/Compiler/boot/bootstrap-sources/build/_main.c (diff) The file was modified
OMOptim (diff) The file was modified
OMShell/OMShell/OMShellGUI/omcinteractiveenvironment.cpp (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/c/Makefile.common (diff) The file was modified
OMCompiler/SimulationRuntime/c/Makefile.objs (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/omcWrapper/omcCAPI/include/OMCFunctions.h (diff) The file was added OMCompiler/SimulationRuntime/c/simulation/simulation_omc_assert.h The file was modified
OMCompiler/SimulationRuntime/c/util/omc_error.h (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/omcinteractiveenvironment.cpp (diff) The file was modified
OMCompiler/Compiler/.cmake/omc_entry_point.c (diff) The file was modified
OMPlot/OMPlot/OMPlotGUI/main.cpp (diff) The file was modified
OMCompiler/Compiler/boot/Makefile.common (diff) The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/omc_error.c (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationOutputWidget.cpp (diff) The file was added testsuite/flattening/modelica/scodeinst/CevalRecordArray10.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff) The file was modified
CONTRIBUTING.md (diff)
Commit
b1113d939897eb4367ef0012f80b410731400c00
by Mahder Gebremedhin Add missing commits. (#8093) * Add the new file simulation_omc_assert to headers. * [cmake] Add the import related APIs to NF as well. - The NF is now default and these were missing. It was working fine because we were using an older set of bootstrapping sources, i.e, generated before NF became the default. The file was modified
OMCompiler/SimulationRuntime/c/cmake/source_code_fmu_config.cmake (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Kinsol/KinsolLapack.h The file was modified
OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Kinsol/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Kinsol/Kinsol.cpp (diff) The file was removed OMCompiler/SimulationRuntime/cpp/Solver/Kinsol/KinsolLapack.cpp The file was modified
OMCompiler/3rdParty (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Solver/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Solver/Kinsol/CMakeLists.txt (diff) The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/include/Solver/Kinsol/KinsolLapack.h The file was removed OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Kinsol/KinsolLapack.cpp The file was modified
OMCompiler/SimulationRuntime/cpp/Solver/Kinsol/Kinsol.cpp (diff)
Commit
73daa347fa2ca13ae148e053b002e2e81e96bcc9
by Martin Sjölund Partition the partest tests into 3 jobs during CI (#8088) This will make the throughput faster if we get slow machines doing clang or gcc tests (currently takes upwards of 40 minutes). The overhead from copying 3 OMC installations should be OK. The file was modified
.CI/common.groovy (diff) The file was modified
testsuite/partest/runtests.pl (diff) The file was modified
Jenkinsfile (diff) The file was modified
OMCompiler/m4/lapack.m4 (diff) The file was added testsuite/flattening/modelica/scodeinst/ExpandableConnector6.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFConnection.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpandableConnectors.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFPrefixes.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/ExpandableConnector7.mo The file was added testsuite/flattening/modelica/scodeinst/ExpandableConnector8.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/TextAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.h (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.h (diff) The file was modified
OMEdit/OMEditLIB/FlatModelica/Expression.h (diff) The file was modified
Jenkinsfile (diff)
Commit
6469763601922cf0eba4da29dd3f2e5654968223
by Östlund Per Remove whitespace at end of line in SCodeDumpTpl (#8106) - Fix SCodeDumpTpl so it doesn't output whitespace at the end of lines when some optional elements (like comments) are not present, which causes issues with test cases since we remove such whitespace when committing files with git. The file was modified
OMCompiler/Compiler/Template/SCodeDumpTpl.tpl (diff) The file was modified
testsuite/openmodelica/interactive-API/saveTotalModel.mos (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff)
Commit
c32c675dd65579f2ed1260782b6dd8a37015bf67
by 38031952+AnHeuermann Don't change lambda when no homotpy should be used (#8109) * Don't change lambda when no homotpy should be used * Updating tests * Disabeling MSL 3.2.2 Modelica.Fluid.Examples.PumpingSystem test * Different solution in homotopy4_solver test Co-authored-by: phannebohm <phannebohm@fh-bielefeld.de> The file was modified
testsuite/simulation/libraries/msl32/Makefile (diff) The file was modified
testsuite/simulation/modelica/initialization/homotopy4_solver.mos (diff) The file was added testsuite/simulation/modelica/initialization/homotopy6.mos The file was modified
testsuite/simulation/modelica/initialization/Makefile (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Fluid.Examples.PumpingSystem.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff) The file was modified
OMCompiler/Compiler/runtime/om_unzip.c (diff) The file was added OMCompiler/Compiler/Script/Obfuscate.mo The file was modified
OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake (diff) The file was modified
OMCompiler/Compiler/Util/UnorderedMap.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
testsuite/openmodelica/interactive-API/Makefile (diff) The file was added testsuite/openmodelica/interactive-API/Obfuscation1.mos The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/Util/StringUtil.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing15-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing16-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing18-minimal.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/Tearing.mo (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelicaClassDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelicaClassDialog.h (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.h (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.h (diff) The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff)
Commit
3515fefa738300b7fbbdf68f2968ec3f0bb21549
by Mahder Gebremedhin [cmake] Remove the omcmemory library. - This (short lived) library was an attempt to provide a small memory manager library for omc libraries. It was supposed to provide just the GC and memory pool interfaces. Unfortunately, there are cyclic dependencies between itself and OpenModelicaRuntimeC. While this is acceptable on linux and can be overlooked, it is porblematic with Windows DLLs. We need to start adapting import libs and def files if we need to continue in this path. This is not something to do right now. It is better to fix the cyclic dependencies properly later. So for now it is removed and the functionality will be part of the OpenModelicaRuntimeC library instead (just like the makefile build system does). The file was modified
OMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff) The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff)
Commit
e02f3bc56d5f31590cd834c44ea606a25036243e
by Mahder Gebremedhin [cmake] Remove the Optimization library. - this is also to reduce the amount of DLLs. It is actually better to just disable ipopt and dynamic optimization with a flag. It is enabled with the option WITH_IPOPT to match the makefile build system. NOTE: Disabling the option in CMake DOES NOT actually result in a functional compilation right now. The reason is that the flag WITH_IPOPT is actually hard coded in to omc_config* headers. I will fix that later. The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff) The file was modified
OMCompiler/CMakeLists.txt (diff)
Commit
3602522302e70013e5d4174f09bfc7c81818c28f
by Mahder Gebremedhin [cmake] Use Autoconf.mo.in for Windows as well. (#8121) - Generate Autoconf.mo from Autoconf.mo.in on Windows. That is, instead of using the pre-written static Autoconf.mo.omdev.mingw. - On top of unifying the config and reducing a file, this also allows to control CMake config for Windows without affecting the makefile build system. The file was modified
OMCompiler/Compiler/Util/Autoconf.mo.in (diff) The file was modified
OMCompiler/configure.ac (diff) The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff)
Commit
2e9ac992b52da33b62810aebf2e3c7a8e78a88b9
by Mahder Gebremedhin More Windows fixes. (#8123) - The bootstrapped compiler is run from its build directory since we need to use during build step (as opposed to after installation like everything else). On Windows we need the dlls it uses in the same dir since there is no RPATH. Luckily the only dll it needs right now is OpenModelicaRuntimeC. - Disable autoconf based config genration for source code FMUs on Windows This is temporary until I can find a good way. Small fix for checking source fmu autoconf config generation. Report any errors properly. - Do not declare function RDTSC() as inline. Instead it should be static (if it needs any qualifier at all) - Disable command line compile definition WITH_IPOPT for now. The define is already hard coded in omc_config.h. Which means this leads to warnings for every compilation unit. Until we remove the hard coded definition in omc_config.h disable this one. The file was modified
OMCompiler/SimulationRuntime/fmi/export/buildproject/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/boot/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/rtclock.c (diff) The file was modified
Jenkinsfile (diff) The file was added .CI/cache-bionic-cmake-3.17.2/Dockerfile The file was removed .CI/cache-without-cmake/Dockerfile
Commit
2baf5e992426009d3d6b17c13b546445c84ad511
by Östlund Per Simplify for-statements more (#8117) - Unroll for-statements where the iteration range consists of only one value (like `for i in 1:1 loop`). - Add Equation/Statement.replaceIteratorList to simplify the code. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSimplifyModel.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEquation.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/ForStatement3.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFArrayConnections.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFStatement.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit
1cbaefaede641a04c749459ab8eca5bdc70a04d6
by 38031952+AnHeuermann Ignore asserts while calling simulationUpdate() (#8118) * While searching for an event asserts can be ignored * If no event was found but an assert triggered, throw an error at end of simulationUpdate() * Output info message when assert was triggered, but ignored * Updating info message and tests The file was modified
testsuite/simulation/libraries/msl32/Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.mos (diff) The file was modified
testsuite/simulation/modelica/events/whenTest2.mos (diff) The file was modified
testsuite/simulation/libraries/3rdParty/ThermoSysPro/ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Fluid.Examples.Tanks.EmptyTanks.mos (diff) The file was modified
testsuite/simulation/libraries/msl31/media/Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.mos (diff) The file was modified
testsuite/simulation/modelica/asserts/AssertTest4.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/model_help.c (diff) The file was modified
testsuite/openmodelica/cruntime/optimization/benchmark/runExReduceDrumBoiler.mos (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/perform_simulation.c.inc (diff) The file was modified
testsuite/simulation/modelica/asserts/TestAssert.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation_data.h (diff) The file was modified
testsuite/simulation/libraries/3rdParty/ThermoSysPro/ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Media.Examples.MoistAir.mos (diff) The file was modified
testsuite/simulation/modelica/functions_eval/MoistAir.mos (diff) The file was modified
testsuite/simulation/libraries/msl31/media/Modelica.Media.Examples.MoistAir.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Media.Examples.ReferenceAir.MoistAir.mos (diff) The file was modified
testsuite/simulation/modelica/others/StringTest.mos (diff) The file was modified
testsuite/simulation/modelica/asserts/AssertTest5.mos (diff)
Commit
effe7db611802923215834d06615e241f0e3c2d3
by Östlund Per Implement new API function saveTotalModelDebug (#8126) - Implement new API function saveTotalModelDebug that instead of instantiation uses a simple heuristic based on which identifiers are used in a class. It typically produces larger files than the normal saveTotalModel, but can be used in cases where saveTotalModel fails. The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ModelicaBuiltin.mo (diff) The file was added OMCompiler/Compiler/Script/TotalModelDebug.mo The file was modified
OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff) The file was modified
OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake (diff) The file was modified
OMCompiler/Compiler/FrontEnd/AbsynUtil.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff)
Commit
09416861e369de826de7f20ebde5f7e8f8e9a10c
by Hannebohm Philip Let each nonlinear system select its own solver (#7933) * Let each nonlinear system select its own solver By default each system gets the globally selected solver. If the system is sparse, kinsol is selected. Also do a more compact dump. * Update testsuite * Only do SUNLinSol_KLUReInit when KLU is used The file was modified
testsuite/simulation/modelica/nonlinear_system/problem6_symjac.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/kinsolSolver.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation_data.h (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Fluid.Examples.BranchingDynamicPipes.mos (diff) The file was modified
testsuite/simulation/modelica/solver/problem1-symSolverImpSsc.mos (diff) The file was modified
testsuite/simulation/modelica/solver/Makefile (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff) The file was modified
testsuite/openmodelica/dataReconciliation/TSP_Pipe3.mos (diff) The file was modified
testsuite/simulation/modelica/solver/problem2-cvode.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/sundials_error.c (diff) The file was modified
testsuite/simulation/modelica/solver/problem1-symSolverImp.mos (diff) The file was modified
testsuite/openmodelica/cruntime/simoptions/nlssMinSize.mos (diff) The file was modified
testsuite/simulation/modelica/hpcom/Modelica.Fluid.Examples.BranchingDynamicPipes.mos (diff) The file was modified
testsuite/simulation/modelica/daemode/testDAEScaling.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Makefile (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff)
Commit
9431d4e064e46f015f9793a3f952ec4f6fbf90be
by Mahder Gebremedhin [cmake] define LINK_SUNDIALS_STATIC for static. (#8133) - Add a new interface library sundials_interface_static that adds the define LINK_SUNDIALS_STATIC. It brings the include directories by linking to sundials_interface then adds the define. All libs that will link to static sundails libs will now get the define automatically. If we need to link to the shared sundails libs at any point just add a new interface library or use the sundials_interface library itself since it does not add the define. The file was modified
OMCompiler/3rdParty (diff) The file was modified
testsuite/flattening/modelica/scodeinst/CombineSubscripts2.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff)
Commit
99a01c43633c3b3d250110049468c4b548310bf3
by Mahder Gebremedhin Use the common assignment templates for when eqs. (#8137) - When equations were using a small incomplete implementation to generate assignment statements in them. - Try using the common ones. This can use some more improvements regarding records and tuples. The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/FuncBuiltinVector.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation_data.h (diff) The file was modified
testsuite/openmodelica/dataReconciliation/TSP_Pipe3.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Makefile (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing8-minimal.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/simulation_options.c (diff) The file was modified
testsuite/simulation/modelica/linear_system/EngineV6_partlintorn.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing12-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing7-minimal.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.mos (diff) The file was modified
testsuite/simulation/modelica/others/EngineV6_output.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/simulation_options.h (diff) The file was modified
testsuite/simulation/modelica/linear_system/NPendulum40.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/linearSystem.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing7-minimal.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/simulation_options.h (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing8-minimal.mos (diff) The file was modified
testsuite/openmodelica/cruntime/simoptions/nlssMinSize.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing12-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/others/EngineV6_output.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.mos (diff) The file was modified
testsuite/simulation/modelica/linear_system/NPendulum.mos (diff) The file was modified
testsuite/simulation/modelica/linear_system/EngineV6_partlintorn.mos (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFVariable.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/CombineSubscripts3.mo
Commit
38c9f7932081c63d568f9e3efc88493208781501
by adeel.asghar Update the root package text with uses annotation (#8139) When a model from a library is dragged in then OMEdit adds a uses annotation. But the root package text was not updated if the package is saved in folder structure. The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/model_help.c (diff) The file was modified
OMCompiler/Compiler/BackEnd/FindZeroCrossings.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/PrintRecordTypes1.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/Util/FlagsUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAEDump.mo (diff) The file was modified
OMCompiler/Compiler/Template/DAEDumpTpl.tpl (diff) The file was modified
OMCompiler/Compiler/Template/DAEDumpTV.mo (diff) The file was modified
OMCompiler/Compiler/Util/Flags.mo (diff)
Commit
bbbca3c8213050b490cc7775d7085b6a9fc3fc48
by Östlund Per Fix #8120 (#8140) - Replace crefs that refer to variables with 0-dimensions with appropriately subscripted array expressions. - Replace `size(exp, index)` of arrays with 0-dimensions with an array of the expression's dimensions subscripted with the index. - Revert #8117 since it doesn't work with PNlib for unknown reasons. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSimplifyModel.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/ForStatement3.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was added testsuite/flattening/modelica/scodeinst/EmptyArray2.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/EmptyArray3.mo The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff) The file was modified
OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff) The file was modified
OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/boot/bootstrap-sources/build/ModelicaExternalC.c (diff) The file was modified
OMCompiler/Compiler/Util/System.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/boot/Makefile.in (diff) The file was modified
testsuite/simulation/modelica/arrays/gc.mos (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was modified
testsuite/flattening/modelica/mosfiles/ZeroRange.mos (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/runtime/systemimpl.c (diff) The file was modified
OMCompiler/Compiler/boot/Makefile.omdev.mingw (diff) The file was modified
testsuite/openmodelica/bootstrapping/LoadCompilerSources.mos (diff) The file was modified
testsuite/simulation/libraries/common/ModelTestingDefaults.mos (diff) The file was removed OMCompiler/Compiler/Util/ModelicaExternalC.mo The file was modified
OMCompiler/Compiler/FrontEnd/Ceval.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScript.mo (diff) The file was modified
testsuite/flattening/modelica/ffi/MissingFunction1.mos (diff)
Commit
2939e3a6d8975fc3def4446d7ffa87cd0c48abe3
by Martin Sjölund Reorder some Jenkins tasks (#8155) * OMEdit tests are now together with FMUs (they can run in parallel instead of waiting for one machine to checkout sources/etc). * Run FMU cross-compilation at higher priority than the clang/gcc tests since it is now the slowest task during testing. The file was modified
Jenkinsfile (diff) The file was modified
OMCompiler/Compiler/CMakeLists.txt (diff) The file was modified
OMCompiler/3rdParty (diff) The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/boot/CMakeLists.txt (diff) The file was modified
OMEdit/OMEditLIB/Simulation/TranslationFlagsWidget.h (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.h (diff) The file was modified
OMEdit/OMEditLIB/Util/Utilities.h (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/TranslationFlagsWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.h (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff) The file was modified
doc/UsersGuide/source/omedit.rst (diff) The file was modified
OMEdit/OMEditLIB/Util/Utilities.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/simulation_options.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/simulation_options.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/model_help.c (diff) The file was modified
testsuite/simulation/modelica/nonlinear_system/problem6_symjac.mos (diff) The file was modified
testsuite/simulation/modelica/solver/problem1-symSolverImp.mos (diff) The file was modified
testsuite/simulation/modelica/daemode/testDAEScaling.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.mos (diff) The file was modified
testsuite/simulation/modelica/hpcom/Modelica.Fluid.Examples.BranchingDynamicPipes.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Fluid.Examples.BranchingDynamicPipes.mos (diff) The file was modified
testsuite/simulation/modelica/solver/problem1-symSolverImpSsc.mos (diff) The file was modified
testsuite/openmodelica/dataReconciliation/TSP_Pipe3.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/optimization/DataManagement/MoveData.c (diff) The file was modified
doc/UsersGuide/source/requirements.txt (diff) The file was modified
Makefile.in (diff)
Commit
18b1836173b9077ec327e6256aedf56ae86a649d
by Mahder Gebremedhin Remove Modelica ModelicaExternalC from 3rdParty. (#8149) * Remove Modelica ModelicaExternalC from 3rdParty. - It is removed from `3rdParty/ModelicaExternalC` and added at `OpenModelica/OMCompiler/SimulationRuntime` instead. - The reason for this change is that ModelicaExternalC actually depends on out OpenModelicaRuntimeC library for some definitions. As opposed to we depending on it as every other 3rdParty library. It has an API we have to implement. Not just something we consume. So to keep the hierarchy and structure as logical as possible AND to make sure build tools can link libraries in the correct order without us having to interfere and reorder things, it is being moved. * Update build rules for new ModelicaExternalC location. - Update the Makefile - Update the CMakeLists - Update gitignore * Add a define if we have unistd.h for zlib. - It was working before using implicit function declarion since we allow that in 3rdParty. - Now check if the header exists and add the corresponding define. The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/CMakeLists.txt The file was modified
OMCompiler/.gitignore (diff) The file was modified
OMCompiler/3rdParty (diff) The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/trees.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaUtilities.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaIO.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/zlib.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/deflate.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/README The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/gzread.c The file was modified
OMCompiler/SimulationRuntime/OMSICpp/CMakeLists.txt (diff) The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaRandom.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inflate.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaMatIO.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaRandom.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaStandardTables.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/snprintf.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/uncompr.c The file was modified
OMCompiler/SimulationRuntime/CMakeLists.txt (diff) The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/safe-math.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/stdint_wrap.h The file was modified
OMCompiler/SimulationRuntime/cpp/CMakeLists.txt (diff) The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/zconf.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaFFT.h The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff) The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/trees.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/deflate.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/uthash.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/gconstructor.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaIO.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/infback.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/BuildProjects/autotools/README The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaStandardTablesUsertab.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/compress.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/gzclose.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inffast.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaInternal.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inftrees.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaFFT.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaMatIO.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/readme.txt The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/zutil.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaInternal.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/win32_dirent.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inflate.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/.gitattributes The file was modified
OMCompiler/Makefile.omdev.mingw (diff) The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/BuildProjects/autotools/Makefile.am The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/ChangeLog The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/zutil.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/BuildProjects/autotools/configure.ac The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/gzwrite.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/BuildProjects/autotools/autogen.sh The file was modified
OMCompiler/Compiler/CMakeLists.txt (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was added OMCompiler/SimulationRuntime/ModelicaExternalC.txt The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/stdint_msvc.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaStrings.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inffast.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaStandardTables.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaStrings.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/FAQ The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/gzguts.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/adler32.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/crc32.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/read_data_impl.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/win32_dirent.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inftrees.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/crc32.h The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/gzlib.c The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inffixed.h
Commit
43ceafd7d07c2f9685c8659d8c0549962d0ace0a
by Östlund Per Improve conversion script API (#8169) - Rename convertPackage => runConversionScript. - Add convertPackageToLibrary that converts a package to a new library version, given the name and version of the library to convert to. - Add getAvailablePackageConversionsTo/From that returns the versions of a library that provide conversion to and from a specific version of a library based on the package manager index. The file was modified
testsuite/openmodelica/conversion/ConvertClass5.mos (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
testsuite/openmodelica/conversion/ConvertElement2.mos (diff) The file was modified
testsuite/openmodelica/conversion/ConvertClass2.mos (diff) The file was added testsuite/openmodelica/conversion/libs/testlib 2.0.0/Resources/conversion_1_0_0_to_1_0_1.mos The file was modified
OMCompiler/Compiler/FrontEnd/AbsynUtil.mo (diff) The file was modified
testsuite/openmodelica/conversion/ConvertClass7.mos (diff) The file was modified
testsuite/simulation/modelica/msl22/IdealGearBrake.mos (diff) The file was added testsuite/openmodelica/conversion/ConvertPackage2.mos The file was modified
testsuite/openmodelica/conversion/ConvertClassVectorize1.mos (diff) The file was modified
testsuite/openmodelica/conversion/ConvertClassVectorize3.mos (diff) The file was modified
OMCompiler/Compiler/Script/InteractiveUtil.mo (diff) The file was modified
testsuite/openmodelica/conversion/ConvertClass4.mos (diff) The file was modified
testsuite/openmodelica/conversion/Makefile (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ModelicaBuiltin.mo (diff) The file was modified
testsuite/openmodelica/conversion/ConvertClass3.mos (diff) The file was modified
testsuite/openmodelica/conversion/ConvertClassVectorize2.mos (diff) The file was added testsuite/openmodelica/conversion/ConvertPackageMissingUses.mos The file was modified
testsuite/simulation/modelica/msl22/IdealGear.mos (diff) The file was modified
testsuite/openmodelica/conversion/ConvertElement1.mos (diff) The file was modified
OMCompiler/Compiler/Script/Interactive.mo (diff) The file was modified
testsuite/flattening/modelica/mosfiles/EnzMMTotal.mo (diff) The file was added testsuite/openmodelica/conversion/ConvertPackage1.mos The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was modified
testsuite/simulation/modelica/msl22/First.mos (diff) The file was modified
OMCompiler/Compiler/Script/PackageManagement.mo (diff) The file was modified
testsuite/openmodelica/conversion/ConvertModifiersMissingValue1.mos (diff) The file was modified
testsuite/openmodelica/conversion/ConvertModifiers3.mos (diff) The file was added testsuite/openmodelica/conversion/libs/testlib 2.0.0/Resources/conversion_1_0_1_to_1_0_2.mos The file was modified
testsuite/openmodelica/interactive-API/ConversionVersions.mos (diff) The file was added testsuite/openmodelica/conversion/libs/testlib 2.0.0/package.mo The file was modified
testsuite/openmodelica/conversion/ConvertModifiers4.mos (diff) The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was modified
testsuite/openmodelica/conversion/ConvertModifiers1.mos (diff) The file was modified
testsuite/openmodelica/conversion/ConvertModifiers2.mos (diff) The file was modified
testsuite/openmodelica/conversion/ConvertClass8.mos (diff) The file was modified
testsuite/openmodelica/conversion/ConvertClass6.mos (diff) The file was modified
testsuite/openmodelica/conversion/ConvertClass1.mos (diff) The file was added testsuite/openmodelica/conversion/libs/testlib 2.0.0/Resources/conversion_1_0_2_to_2_0_0.mos The file was modified
OMCompiler/Compiler/Script/NFApi.mo (diff) The file was modified
testsuite/openmodelica/interactive-API/loadFileInteractiveQualified.mos (diff) The file was modified
OMCompiler/Compiler/Script/Refactor.mo (diff) The file was modified
OMCompiler/Compiler/Main/Main.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScript.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
testsuite/openmodelica/interactive-API/Ticket5662.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/setComponentComment.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/Ticket5565.mos (diff) The file was modified
OMCompiler/Compiler/Script/InteractiveUtil.mo (diff) The file was modified
testsuite/openmodelica/interactive-API/Issue7706.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/Bug3979.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/interactive_api_classes.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/interactive_api_attributes.mos (diff) The file was modified
OMCompiler/Compiler/Script/Binding.mo (diff) The file was modified
testsuite/openmodelica/interactive-API/Modelica.Media.Examples.getComponents.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/interactive_test.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/GetComponents.mos (diff) The file was modified
OMCompiler/Compiler/Script/Interactive.mo (diff) The file was modified
testsuite/openmodelica/interactive-API/Bug2871.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/Ticket6307.mos (diff)
Commit
aef8258297d238bb9b3f4e0e764cd1e18021f75c
by Mahder Gebremedhin Add no return attributes to disable warnings. (#8182) - The assigned error functions should match the declared signature. - This was causing a warning on generated code for simulations. - I am not sure if `noreturn` is needed on this functions at all though. The file was modified
OMCompiler/SimulationRuntime/c/simulation/simulation_omc_assert.h (diff)
Commit
b8d2bbf7244cc5a7611c893977d03cdbde637c3b
by Mahder Gebremedhin Add cmake support for OMParser. (#8186) @mahge Generalize omc_add_subdirectory for multiple args. 856c29a - the `cmake add_subdirectory()` function can take up to three arguments. Pass them through `omc_add_subdirectory()` as well. @mahge Add cmake support for OMParser. d619316 - OMParser can now be compiled with CMake. It is not built by default (it is `EXCLUDED_FROM_ALL`). It can be built by navigating to its build directory or you can just ask cmake to build the only target it adds, `omcparserantlr4` The file was modified
OMParser/3rdParty/antlr4/runtime/Cpp/runtime/CMakeLists.txt (diff) The file was added OMParser/CMakeLists.txt The file was modified
cmake/omc_utils.cmake (diff) The file was modified
CMakeLists.txt (diff)
Commit
39c1ea136454850cf8507fba0807fe43ea2d8eb5
by 38031952+AnHeuermann Delay zero crossing and event handling (#8150) * New log flag for delay: `LOG_DELAY`. * Improving event handling for delays. * New zero crossing function `delayZeroCrossing` for delays. Only created for C runtime. * Updating testsuite. * Adding documentation in delay.c and ringbuffer.c. The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/perform_simulation.c.inc (diff) The file was modified
testsuite/simulation/modelica/built_in_functions/Delay.mos (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/model_help.c (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu1_model_interface.c.inc (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/omc_error.c (diff) The file was modified
testsuite/simulation/modelica/others/TestExpressionSolve.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/spatialDistribution.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/delay.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation_data.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/ringbuffer.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/omc_error.h (diff) The file was modified
OMCompiler/Compiler/BackEnd/FindZeroCrossings.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/initialization/initialization.c (diff) The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/ringbuffer.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/delay.h (diff)
Commit
4a0fcc7b7a4a4af73cb8091cd31f6abe9c34ff92
by Östlund Per Don't print inline type in the flat model (#8188) - Remove the printing of the inline type in the flat model, since it's using a syntax that's not compatible with Modelica and doesn't seem to be used for anything. Fixes #8178 The file was modified
testsuite/simulation/libraries/3rdParty/TestMedia/TestSteam.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/Bug2871.mos (diff) The file was modified
testsuite/flattening/modelica/scoping/InnerOuterSamePrefix.mo (diff) The file was modified
testsuite/flattening/modelica/others/Sequence.mo (diff) The file was modified
testsuite/openmodelica/xml/XmlDumpComment.mos (diff) The file was modified
testsuite/simulation/libraries/3rdParty/TestMedia/TestWater.mos (diff) The file was modified
OMCompiler/Compiler/Template/DAEDumpTpl.tpl (diff) The file was modified
testsuite/flattening/modelica/arrays/TypeTest.mos (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAEDump.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/TestSampleNoClock.mos (diff) The file was modified
testsuite/flattening/modelica/connectors/CGraphBug.mos (diff) The file was modified
testsuite/flattening/modelica/connectors/CGraphBug.mo (diff) The file was modified
testsuite/simulation/modelica/records/ATotal.mos (diff) The file was modified
testsuite/flattening/modelica/equations/Ticket4157.mos (diff) The file was modified
testsuite/flattening/modelica/connectors/Bug3649.mos (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff) The file was modified
OMCompiler/Compiler/Template/SimCodeTV.mo (diff) The file was modified
Jenkinsfile (diff)
Commit
0aeaad6d97beda4529ef1f2b1027cb2d9b8074e2
by Östlund Per Fix type attributes in functions (#8191) - Remove special case for type subscripts in functions that tried to work around a backend issue but caused other issues in some cases, and doesn't seem to be needed anymore. The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
testsuite/openmodelica/xml/XmlDumpComment.mos (diff) The file was added testsuite/flattening/modelica/scodeinst/BuiltinAttribute22.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff)
Commit
0802d69e5d2954030faf0a004497b23567136ed1
by Östlund Per Improve evaluation in ranges (#8203) - When evaluating anything in a range in EvalConstants, retype the whole range rather than evaluating the type since it's faster and gives better results, and also fixes some issues with -d=-nfScalarize. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalConstants.mo (diff)
Commit
d519288f450d788c2db461b25e7b50a69b9c5943
by Mahder Gebremedhin Do not copy libexpat.dll from OMDev. (#8202) - This is for #8195. - It was giving warnings about incompatible dll on OMEdit messages. - It does not seem to be used anyway so it is removed. - If anything actually fails we will find out after the Windows tests are run. The file was modified
OMCompiler/Makefile.omdev.mingw (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAECreate.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/NoScalarize1.mo The file was modified
OMCompiler/Compiler/FrontEnd/DAEDump.mo (diff) The file was modified
OMCompiler/Compiler/Template/DAEDumpTV.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAEUtil.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo (diff) The file was modified
OMCompiler/Compiler/Template/DAEDumpTpl.tpl (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAE.mo (diff)
Commit
9f0cb452cbf9c583b3a9ee583e8cb92ee7a53b13
by Östlund Per Add flag --dumpFlatModel (#8204) - Add flag --dumpFlatModel that can be used to dump the flat model at chosen stages of the frontend. - Remove old flag -d=nfDumpFlat which is superseded by the new flag. - Remove FrontEnd/NFInstUtil.mo since it's barely used, and only by the old frontend which already has equivalent functions. - Add NFFrontEnd/NFInstUtil.mo and move some of the utility functions in NFInst to it, which includes functions for dumping the flat model. The file was modified
OMCompiler/Compiler/Util/FlagsUtil.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/DumpFlatModel1.mo The file was modified
OMCompiler/Compiler/FrontEnd/InstVar.mo (diff) The file was modified
OMCompiler/Compiler/Util/Flags.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff) The file was modified
OMCompiler/Compiler/FrontEnd/InstSection.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatModel.mo (diff) The file was added OMCompiler/Compiler/NFFrontEnd/NFInstUtil.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was removed OMCompiler/Compiler/FrontEnd/NFInstUtil.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
OMCompiler/Compiler/Script/NFApi.mo (diff) The file was modified
testsuite/openmodelica/bootstrapping/LoadCompilerSources.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo (diff) The file was modified
OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake (diff) The file was modified
OMEdit/OMEditLIB/Element/ElementProperties.h (diff) The file was modified
OMEdit/OMEditLIB/Element/ElementProperties.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/TextAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/Commands.cpp (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAE.mo (diff) The file was modified
OMEdit/OMEditLIB/Plotting/PlotWindowContainer.cpp (diff) The file was modified
OMCompiler/Compiler/BackEnd/Initialization.mo (diff) The file was modified
testsuite/openmodelica/cppruntime/testArrayEquations.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ComponentReference.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDump.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendUtil.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/IndexReduction.mo (diff) The file was modified
OMCompiler/Compiler/Util/Util.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatModel.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstUtil.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/ArrayConnect3.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/PrintRecordTypes1.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEquation.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/CombineSubscripts3.mo (diff)
Commit
e920dc2bf208718d1fc015a7220d944bba26387d
by Östlund Per Improve sorting of local function variables (#8218) - Take the modifiers on local record instances into account too when computing the dependencies between local function variables. Fixes thorade/HelmholtzMedia#48 The file was added testsuite/flattening/modelica/scodeinst/FunctionCompOrder4.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/CommonSubExpression.mo (diff) The file was added testsuite/simulation/modelica/commonSubExp/wrapFunctionCalls_enums_8166.mo The file was added testsuite/simulation/modelica/commonSubExp/wrapFunctionCalls_enums_8166.mos The file was modified
testsuite/simulation/modelica/commonSubExp/Makefile (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.cpp (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.h (diff) The file was modified
OMEdit/OMEditLIB/CrashReport/CrashReportDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/CrashReport/CrashReportDialog.h (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.h (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatModel.mo (diff) The file was modified
testsuite/openmodelica/flatmodelica/Tables.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
testsuite/openmodelica/flatmodelica/DoublePendulum.mos (diff) The file was added testsuite/openmodelica/flatmodelica/SD.mo The file was modified
testsuite/openmodelica/flatmodelica/Makefile (diff)
Commit
6b651eb647f865cf2cce8e0cab26f633abb929ab
by francesco.casella Update package management section in the User's Guide (#8146) * Update package management section This text reflects the discussions I had with @sjoelund and @adeas31 to the best of my understanding, regarding the behaviour of the package manager and the intended behaviour of the new package management features in OMEdit. * Moved the package management section at the beginning * Added reference to OMShell-terminal under Linux * Improved documentation based on comments from @sjoelund and @adeas31 The file was modified
doc/UsersGuide/source/packagemanager.rst (diff) The file was modified
doc/UsersGuide/source/introduction.rst (diff) The file was modified
doc/UsersGuide/source/index.rst (diff)
Commit
da94d68a5b485384976fa8bf203e70b58126e10e
by Mahder Gebremedhin Add CMake build support for qwt and OMPlot. (#8225) - The CMakeLists for qwt are taken from `https://github.com/xantares/qwt-cmake` and modified a bit for qwt 6.1.5 and for OpenModelica. - This is still experimental and probably buggy. The file was added OMPlot/qwt/src/CMakeLists.txt The file was added OMPlot/qwt/CMakeLists.txt The file was added OMPlot/CMakeLists.txt The file was modified
OMPlot/OMPlot/OMPlotGUI/Plot.cpp (diff) The file was modified
CMakeLists.txt (diff) The file was added OMPlot/OMPlot/OMPlotGUI/CMakeLists.txt The file was modified
testsuite/flattening/modelica/scodeinst/CombineSubscripts3.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatModel.mo (diff) The file was modified
testsuite/openmodelica/flatmodelica/SD.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFVariable.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEquation.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was added OMCompiler/Compiler/NFFrontEnd/NFFlatModelicaUtil.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunctionDerivative.mo (diff) The file was modified
testsuite/openmodelica/flatmodelica/Makefile (diff) The file was modified
OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff) The file was added testsuite/openmodelica/flatmodelica/Comments.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatModel.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFVariable.mo (diff) The file was modified
OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFStatement.mo (diff)
Commit
962c2112c35a0caef893c906942dd4445e672380
by adeel.asghar Issue 8061 (#8226) * Dialog for using conversion script * Added an interface to run conversion scripts Fixes #8061 Fixes #8187 show a text message while installing library * Update the progress message * Fix crash report layout The file was modified
OMEdit/OMEditLIB/Modeling/InstallLibraryDialog.h (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.h (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/CrashReport/CrashReportDialog.h (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.cpp (diff) The file was modified
doc/UsersGuide/source/introduction.rst (diff) The file was modified
OMEdit/OMEditLIB/CrashReport/CrashReportDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/InstallLibraryDialog.cpp (diff) The file was modified
doc/UsersGuide/source/packagemanager.rst (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.h (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelicaClassDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelicaClassDialog.h (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.h (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp (diff) The file was modified
OMPlot/OMPlot/OMPlotGUI/CMakeLists.txt (diff) The file was added OMShell/OMShell/OMShellGUI/CMakeLists.txt The file was added OMShell/CMakeLists.txt The file was added OMNotebook/CMakeLists.txt The file was added OMNotebook/OMNotebook/OMNotebookGUI/CMakeLists.txt The file was modified
CMakeLists.txt (diff)
Commit
114017139806e99ea483c7491bb6563ac8392418
by adeel.asghar Use textColor instead of depreciated lineColor from FilledShape (#8246) * Use textColor instead of depreciated lineColor from FilledShape Fixes #8245 Hide the FilledShape attributes from text shape properties dialog. Do not output the FilledShape attributes for text shape. Use the new FilledShape::getTextShapeAnnotation function. * Escape the text string without newline The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/TextAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapePropertiesDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Util/StringHandler.h (diff) The file was modified
OMEdit/OMEditLIB/Util/StringHandler.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapePropertiesDialog.h (diff) The file was added testsuite/flattening/modelica/scodeinst/ConstrainingClass3.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSubscript.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit
8e1077a6af85f5bdbb523bae5d776bd4e02d3ec7
by Östlund Per Improve saveTotalModelDebug (#8251) - If an operator record is used, also mark the operators as used. - Don't fail on _ crefs, just ignore them. - Don't remove empty classes, they might actually be used (replaceable classes, expandable connectors, etc.). The file was modified
OMCompiler/Compiler/Script/TotalModelDebug.mo (diff)
Commit
724e485975c42c5a854a3278238009b8bff45dbd
by Mahder Gebremedhin Rename OMEdit's omc_config.h to omedit_config.h (#8252) * Rename OMEdit's omc_config.h to omedit_config.h - This is to avoid conflicting names with OMcompiler/omc_config.h * Cleanup * Fix build Co-authored-by: Adeel Asghar <adeel.asghar@liu.se> The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMEditApplication.h (diff) The file was modified
OMEdit/OMEditLIB/CrashReport/CrashReportDialog.cpp (diff) The file was modified
OMEdit/configure.ac (diff) The file was modified
OMEdit/Makefile.omdev.mingw (diff) The file was added OMEdit/omedit_config.h.in The file was removed OMEdit/omc_config.h.in The file was modified
OMEdit/.gitignore (diff) The file was modified
OMEdit/Makefile.unix.in (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.h (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.h (diff) The file was modified
doc/UsersGuide/source/omedit.rst (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
Commit
a43e053a1e533a98dab8b0ab810a77397edf676c
by Mahder Gebremedhin Fix wrong include guard in C file for QT API generation. - The guard should be in the header. It is fixed now. - However!, the bootstrapping version of the source can not be updated in the same correct way unless we update the bootstrapping sources. So for now the header is patched by manually inserting a `#pragma once` at the top of the file. The bootstrapping C file still has the the guard but that should be okay since it is not defined in the header. Luckily, this was relatively easier to "hack" away. That is the way bootstrapping is going to be handled for now I guess. The file was modified
OMCompiler/Compiler/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/Template/GenerateAPIFunctionsTpl.tpl (diff) The file was modified
OMCompiler/Compiler/boot/bootstrap-sources/build/GenerateAPIFunctionsTpl.c (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff)
Commit
4e2e163951040344ec18380b5eb08c9454b36c61
by Mahder Gebremedhin [cmake] Improve handling of OMSimulator. - Add it as an ExternalProject. - Do not allow it to output things to the install directory while building - Insted give it a directory in the build dir as an install dir. Then once it installs things in there, we handle the actual installation manually. - Essentially, this prevents from populating anything in the install directory while building. - Add an imported library target for it. This can be used to link to it from our other targets. - Add install logic for it. - OMSimulator wants to start with a Makefiles to invoke the actual CMake operations. As a result it is designed with that in mind. While the current support from this side is not ideal, it should suffice for now. The file was modified
omsimulator.cmake (diff)
Commit
11078b7d82abe445a9b8ed418f4258abbb4d0576
by Östlund Per Fix class redeclaration issue (#8255) - Use the component parent of a class when redeclaring classes in it rather than the class itself, to ensure references in it are prefixed with the component and not the class name. The file was added testsuite/flattening/modelica/scodeinst/RedeclareClass2.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit
21450d718b26e88a6fa30dcf9e45672c6adc3137
by Mahder Gebremedhin [cmake] Add support for OMEdit. - OMEdit can now be compiled using CMake. - It might not be as complete and as functional as the default build's OMEdit. - There are some things definitely missing but there might be more as well. It needs to be cheked and improved. - There are three new targets: - libGDBMIParser - libOMEditLib - OMEdit - Both lib targets are build as static libs for now. The file was added OMEdit/CMakeLists.txt The file was added OMEdit/OMEditLIB/Debugger/Parser/CMakeLists.txt The file was added OMEdit/OMEditLIB/CMakeLists.txt The file was modified
OMCompiler/Compiler/CMakeLists.txt (diff) The file was added OMEdit/OMEditGUI/CMakeLists.txt The file was modified
CMakeLists.txt (diff)
Commit
4d1152ca111ef82ec117ab174928f003df21e66e
by Mahder Gebremedhin Update the bootstrap source for GenerateAPIFunctionsTpl - There are a few things changed: - It was generating an include guard in the C file (OpenModelicaScriptingAPIQt.c) instead of the header file (OpenModelicaScriptingAPIQt.h). This was patched with a `#pragma once` earlier. Now it is fixed for good. - OMEdit's signature for logCommand has changed and this file was still generating the old signatures. The file was modified
OMCompiler/Compiler/boot/bootstrap-sources/build/GenerateAPIFunctionsTpl.c (diff) The file was modified
OMCompiler/Compiler/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/FFrontEnd/FBuiltin.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/Clock3.mo The file was added testsuite/flattening/modelica/scodeinst/Clock6.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFLookupState.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/Clock1.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFClassTree.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/Clock2.mo The file was added testsuite/flattening/modelica/scodeinst/Clock5.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFLookup.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/Clock4.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit
d9142e17a87f1b520239034666a524c8c7b117bb
by Östlund Per ParModelica fixes for the new frontend (#8260) - Handle parfor statements. - Add dumping of parfor statements in DAEDumpTpl. - Declare builtin ParModelica functions as impure so the NF doesn't try to evaluate them. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFScalarize.mo (diff) The file was modified
OMCompiler/SimulationRuntime/ParModelica/explicit/openclrt/ParModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/Template/DAEDumpTpl.tpl (diff) The file was modified
OMCompiler/Compiler/Template/DAEDumpTV.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFStatement.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff)
Commit
979332e58604ab002169445d37a991ccf967af73
by Östlund Per Fix Clock for the old frontend (#8261) - Disable the dummy declaration for Clock in NFModelicaBuiltin and add it when building the top scope instead, since the old frontend incorrectly uses NFModelicaBuiltin in some cases. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Clock2.mo (diff) The file was added doc/UsersGuide/source/media/omedit_install_library.png The file was modified
doc/UsersGuide/source/omedit.rst (diff) The file was added doc/UsersGuide/source/media/omedit_convert_library.png The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Builtin.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScript.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Clock2.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was added testsuite/libraries-for-testing/CMakeLists.txt The file was modified
OMCompiler/Compiler/CMakeLists.txt (diff) The file was modified
testsuite/CMakeLists.txt (diff) The file was modified
CMakeLists.txt (diff) The file was modified
doc/UsersGuide/source/packagemanager.rst (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.h (diff) The file was modified
OMEdit/OMEditLIB/OMS/ModelDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMS/ModelDialog.h (diff) The file was modified
testsuite/libraries-for-testing/index.mos (diff) The file was modified
testsuite/libraries-for-testing/CMakeLists.txt (diff)
Commit
537b4a37c7d97bd387a14cffe21808028a0916b3
by Östlund Per Fix typing of already typed binary expressions (#8274) - Handle all operators when type checking binary expressions, even those that only occur in already typed expressions. This is needed since we might sometimes need to retype an expression when evaluating array dimensions. The file was added testsuite/flattening/modelica/scodeinst/IfExpression12.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMS/ModelDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMS/BusDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.h (diff) The file was modified
OMEdit/OMEditLIB/OMS/OMSProxy.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMS/ModelDialog.h (diff) The file was modified
OMEdit/OMEditLIB/OMS/OMSProxy.h (diff)
Commit
cf55cd70e01c200a04179bb42c7b4553bd60307d
by adeel.asghar Added a new interface for data reconciliation (#8257) * Added a new interface for data reconciliation * add Message box to validate data Reconciliation * Default epsilon value Co-authored-by: arun3688 <rain100falls@gmail.com> The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.h (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.h (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.h (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationOptions.h (diff)
Commit
49552c6779714e43bf43b43074a02ee10bfdd472
by Mahder Gebremedhin Add support for omc-diff and reference files. (#8277) - The target `reference-files` can be used to extract the reference files. - Explicitly set qwt as SHARED lib. This was overlooked. - Do not show statements when installing libraries. This was fixed for the CMake version but was forgotten for the makefiles. The file was added testsuite/ReferenceFiles/CMakeLists.txt The file was added testsuite/difftool/CMakeLists.txt The file was modified
testsuite/libraries-for-testing/Makefile (diff) The file was modified
OMPlot/qwt/src/CMakeLists.txt (diff) The file was modified
testsuite/CMakeLists.txt (diff)
Commit
4862560433ab9766e8fe4534aa54dfe282703e82
by Östlund Per Evaluate subscripts in actualStream/inStream (#8278) - Evaluate the subscripts in the connector reference used as argument to actualStream/inStream, to ensure we can look up e.g. the matching stream variable for a flow correctly. We already check that the subscripts can be evaluated, with this change we also actually evaluate them as intended. The file was added testsuite/flattening/modelica/scodeinst/ActualStreamVariability2.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFConnectEquations.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/SimulationRuntime/c/dataReconciliation/dataReconciliation.cpp (diff) The file was modified
OMCompiler/Compiler/BackEnd/DataReconciliation.mo (diff)
Commit
07d5deb23d97556350538ae4f589b631f004e756
by Östlund Per Fix handling of function parameters of record type (#8288) - Treat function parameters of record type the same way as record constructors in EvalConstants, by always evaluating constant expressions in their fields. This fixes an issue where record types in functions sometimes contain references to functions that are not part of the flat model. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalConstants.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/perform_simulation.c.inc (diff)
Commit
ccebe53bd4ce5b6888ad64da7a07f0e6ac1ef089
by Mahder Gebremedhin Fix generation of slice arrays in records. (#8289) - This was overlooked and still using the old generation function. - Always use `contextCref()` template to generate crefs. It knows how to handle temporary record variables and their member variables. - Fixes #8280. The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff)
Commit
0e5320a867d6ec22ca552de6f12b2d84cfa4a5b5
by Östlund Per Fix handling of default function arguments (#8290) - Use instance nodes instead of string names for function slots, to avoid mistaking references to components defined outside the function with references to function parameters when evaluating default arguments. Fixes #2732 The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinFuncs.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncDefaultArg7.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncDefaultArg6.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff)
Commit
87b64f8b663fe08ab21471598fccbf2f125d1c5d
by Östlund Per Improve constraining modifiers on classes (#8298) - Change the merging of modifiers on classes so that the constraining class from the replaced class has lower priority than the constraining class on the replacing class. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFClass.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was added testsuite/flattening/modelica/scodeinst/ConstrainingClassFunc2.mo The file was modified
OMCompiler/Parser/Modelica_3_Lexer.g (diff) The file was modified
OMCompiler/Parser/Modelica.g (diff) The file was modified
testsuite/openmodelica/interactive-API/UsesAnnotation2.mos (diff) The file was modified
OMEdit/CMakeLists.txt (diff) The file was modified
OMEdit/OMEditLIB/CMakeLists.txt (diff)
Commit
8290037a670216f331f320e75c24d4a1717715d3
by Mahder Gebremedhin [cmake] Build the non-default targets on Jenkins. - This is so that we can know when they break. You can of course disable the CMake build all together if you run into something that you can not fix quickly. - Use the default gcc and g++. Instead of using gcc-5 g++5 explicitly. OMSimulator does not work with g++-5 due to missing header include (cmath). The file was modified
.CI/common.groovy (diff) The file was modified
Jenkinsfile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinPure1.mo The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinPure2.mo The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff) The file was modified
OMCompiler/Compiler/Util/List.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinEdge2.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff) The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinPrevious2.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinPrevious3.mo The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinPrevious1.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinPrevious4.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff)
Commit
ef563cc2c609bc933f4f2e00fc232f1c011baadb
by Östlund Per Improve handling of functional arguments (#8311) - Implement support for functional arguments in the function evaluation. - Handle default arguments in the functional argument during function evaluation. - Treat functional arguments as constants. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFPackage.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FunctionalArg3.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was added testsuite/flattening/modelica/scodeinst/PartialApplication2.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff) The file was modified
.CI/common.groovy (diff) The file was modified
testsuite/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/Modelica/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/runtime/src/SimCoreFactory/OMCFactory/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Core/Modelica/ModelicaConfig_gcc.inc.in (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Core/Modelica/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/Modelica/ModelicaConfig_gcc.inc.in (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/SimCoreFactory/OMCFactory/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/Util/Flags.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/DumpFlatModel1.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstUtil.mo (diff)
Commit
9865af79406d93e19882a7c7e35ec04e9072c996
by Östlund Per Implement custom polymorphic types (#8323) - Remove explicit lookup rule for "polymorphic", and instead handle it during instantiation to simplify the handling of polymorphic types and allow the correct name to be inserted into the type (fixed #4894). - Improve the type checking of polymorphic types to allow having custom rules for types with certain names (like __Scalar). - Use custom polymorphic types for `previous` so it doesn't need custom typing and can be vectorized with the normal call vectorization. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFClass.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/FuncBuiltinPrevious2.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFLookup.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
testsuite/openmodelica/cppruntime/testArrayEquations.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFType.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/FuncBuiltinPrevious3.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/VectorTest.mo (diff)
Commit
c81226ab45caacb4248349e71d4412bebbab81ad
by Östlund Per Vectorize bindings when using -d=-nfScalarize (#8267) - Vectorize bindings when scalarization is turned off by creating fill calls with the appropriate dimensions. - Implement the old `--noSimplify` flag for the NF to allow turning of simplifications. The file was modified
testsuite/openmodelica/cppruntime/testArrayEquations.mos (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
testsuite/openmodelica/cppruntime/testVectorizedBlocks.mos (diff) The file was added testsuite/flattening/modelica/scodeinst/NoScalarize2.mo The file was modified
testsuite/flattening/modelica/scodeinst/VectorTest.mo (diff) The file was modified
testsuite/openmodelica/cppruntime/testVectorizedPowerSystem.mos (diff) The file was modified
testsuite/openmodelica/cppruntime/testVectorizedSolarSystem.mos (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Static.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff)
Commit
d6cdbc5c76a24f5c2968fbbb42d51ffcf393e3c7
by Östlund Per Simplify typing of builtin functions (#8329) - Implement some simple resolving of polymorphic return types when typing function calls, to replace the old hack of manually having to patch the return type of many builtin functions. - Remove special handling of `diagonal` and `previous`, they can now be typed based on their definitions in ModelicaBuiltin. - Simplify handling of `cardinality`, it can now be typed normally and only needs some checks that it's used in the correct context. - Use a custom polymorphic type `__Any` to reduce the need for unboxing builtin functions. - Add tests for some builtin functions that were lacking tests. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinSuperSample1.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinBackSample1.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinSymmetric2.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFType.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinHold1.mo The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinSubSample2.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/CardinalityInvalidArg2.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinSubSample1.mo The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinSuperSample2.mo The file was modified
testsuite/flattening/modelica/scodeinst/FuncBuiltinPrevious4.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinShiftSample1.mo The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinNoClock1.mo
Commit
f66698df6902f87afa564805dae6959e4d2134f6
by Mahder Gebremedhin Cleanup codegen cref handling (#8328) - Cleanup codegen cref handling - Separate the parallel cref generation. - To simplify cleaning up for now. The parallel cref handling needs to be updated to look like the normal one. The normal cref handling has been improved a while back to handle records and arrays better. The parallel one was not updated. So they do not full match right now. - Error out if we find a prefix cref of array type. The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff)
Commit
16a0a9cf770ef7c3aefe8291134825ca1a752566
by Östlund Per Clean up test cases (#8334) - Enable some test cases that are now working, and delete some that are obsolete. - Fix the sts model and enable the test case for it. - Add check that models don't extend one of their enclosing scopes, and enable the RecursiveExtends2 test again. The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was removed testsuite/flattening/modelica/scodeinst/loop4.mo The file was modified
testsuite/flattening/modelica/scodeinst/sts.mos (diff) The file was modified
testsuite/flattening/modelica/scodeinst/RecursiveExtends2.mo (diff) The file was removed testsuite/flattening/modelica/scodeinst/cond3.mo The file was modified
testsuite/flattening/modelica/scodeinst/sts.mo (diff)
Commit
544c6ab0cb21344be45281ad89f0c26a5d3b3217
by Mahder Gebremedhin Fix messages printed by the lib download script. (#8335) - The generated MetaModelica script that we are using has been updated already. However we have to fix the "MetaModelica script" generator python script as well. Otherwise next time it is updated it will all be lost. - Escape some slashes. - Report successful installations. The file was modified
testsuite/libraries-for-testing/update.py (diff)
Commit
c96eeeb434f77e7a68307a255d69a65a79e205fe
by Östlund Per Fix some uninitialized variable accesses (#8337) - Make sure `mpCompleterToolTipWidget` is assigned in `PlainTestEdit` before calling `setReadOnlyStyleSheet()`, since it causes `eventFilter()` to be called which uses it. - Make sure `mAccessAnnotations` is assigned in `LibraryTreeItem` before calling `setClassInformation()`, since it uses `getAccess()`. The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/Editors/BaseEditor.cpp (diff)
Commit
6f1e7d1c3280e561b0e18ee1c899d425692fbf89
by Östlund Per Remove bad guard for synchronous operators (#8338) - BuiltinCall.typeSpecial should not disable typing of synchronous operators for Modelica 3.2 and older, doing so is pointless since it gives bad error messages and doesn't allow userdefined functions with the same names in the top scope anyway. Fixes #8336 The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFArrayConnections.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFStatement.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFDimension.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstUtil.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSubscript.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/SlicedCref1.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEquation.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/SlicedCref3.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatModel.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was added testsuite/flattening/modelica/scodeinst/SlicedCref2.mo The file was added .gitattributes
Commit
e9883a7ddf6a17efaaa334f89766c9063491f8d7
by rahulp13 OPC UA terminate functionality (#8310) * added terminate functionality for OPC-UA * trigger event only on input * update state values before waiting for step * print terminfo only if not terminated through opcua The file was modified
OMCompiler/SimulationRuntime/opc/ua/omc_opc_ua.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/perform_simulation.c.inc (diff) The file was modified
OMCompiler/SimulationRuntime/opc/ua/omc_opc_ua.c (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationOptions.h (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.h (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/perform_simulation.c.inc (diff) The file was modified
OMCompiler/SimulationRuntime/opc/ua/omc_opc_ua.c (diff) The file was modified
OMCompiler/SimulationRuntime/opc/ua/omc_opc_ua.h (diff) The file was modified
OMCompiler/Compiler/Template/CodegenFMU2.tpl (diff) The file was modified
OMCompiler/Compiler/Template/SimCodeTV.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCode.mo (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.h (diff) The file was modified
OMCompiler/Compiler/Template/CodegenFMU.tpl (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff)
Commit
8911b0bc7190495c46d2363c881cc2faeb60727a
by palanisamy arunkumar interpolate inputs with input_real_derivatives (#8364) * interpolate inputs with input_real_derivatives * Fix the dt and add hack for debugging * remove intermediate steps and add test for iterpolation Co-authored-by: Lennart Ochel <lennart.ochel@ri.se> The file was modified
testsuite/omsimulator/Makefile (diff) The file was added testsuite/omsimulator/fmi_interpolate_cs.mos The file was modified
OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc (diff)
Commit
218e4f9fe0d33db0b68a81cf6e1c6d79a5d56046
by Mahder Gebremedhin Remove unused code and unused target. (#8367) - Closes #4787. - This file is not used anymore since its target is never built. - It has a buffer overflow vulnerability due to usage of an env variable that is appended to a static buffer array. - It was an experiment at having an "offline" compiler for OpenCL code. It was used to compile OpenCL code ahead of time and save some time by avoiding JIT (runtime) compilation. The file was modified
OMCompiler/SimulationRuntime/ParModelica/explicit/openclrt/Makefile.common (diff) The file was removed OMCompiler/SimulationRuntime/ParModelica/explicit/openclrt/ocl_offcomp.cpp The file was modified
OMCompiler/SimulationRuntime/ParModelica/explicit/openclrt/CMakeLists.txt (diff) The file was removed OMCompiler/SimulationRuntime/ParModelica/explicit/openclrt/ocl_offcomp.c The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff)
Commit
6c3a4e429fd9bcad198ffa1aad7bf497a9fca789
by adrian.pop support for choices annotation in omc (#7487) (#7652) - translate choices into a form that is Modelica compliant: choices(choice(mod1),choice(mod2),choice(mod3)) -> choices(choice={"mod1", "mod2", "mod3"}) choices(choice = mod1, choice = mod2, choice = mod3) -> choices(choice={"mod1", "mod2", "mod3"}) - add the choices to the replaceable dialog - unify handling of some of the getComponent*|getElement* functions to avoid duplicate code - add and update tests - still remains to be done: support choices for other (non-replaceable) components The file was modified
testsuite/openmodelica/interactive-API/Ticket6167.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/interactive_api_annotations.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/Issue7544.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/Bug4248.mos (diff) The file was modified
OMEdit/OMEditLIB/Element/Element.h (diff) The file was modified
testsuite/openmodelica/interactive-API/Ticket5662.mos (diff) The file was modified
OMCompiler/Compiler/FrontEnd/AbsynUtil.mo (diff) The file was modified
OMCompiler/Compiler/Script/NFApi.mo (diff) The file was modified
testsuite/openmodelica/interactive-API/Ticket5571.mos (diff) The file was modified
OMCompiler/Compiler/Script/Interactive.mo (diff) The file was modified
testsuite/openmodelica/interactive-API/Makefile (diff) The file was added testsuite/openmodelica/interactive-API/TestChoices.mo The file was modified
testsuite/openmodelica/interactive-API/Ticket5565.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/Ticket6406.mos (diff) The file was modified
OMCompiler/Compiler/Script/InteractiveUtil.mo (diff) The file was modified
OMEdit/OMEditLIB/Element/Element.cpp (diff) The file was modified
OMEdit/OMEditLIB/Element/ElementProperties.cpp (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Constants.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ModelicaBuiltin.mo (diff) The file was modified
testsuite/openmodelica/interactive-API/interactive_api_classes.mos (diff) The file was modified
testsuite/openmodelica/interactive-API/Bug2871.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was added testsuite/openmodelica/interactive-API/TestChoices.mos
Commit
f08a5316fca516d9b9977c4ba5d88b3efe408e25
by Mahder Gebremedhin Link to static versions of sundails for FMUs. (#8377) - We build both static and shared versions of sundials libs. The shared versions are needed for the cpp runtime. If we are generating static FMUs with CVODE as a solver we link to `cvode` and `nvecserial`. Make sure we link to the static versions of this libraries. The file was modified
OMCompiler/Compiler/Template/CodegenFMU.tpl (diff)
Commit
548834361fc91c6b6615f9e5ebc3139ee523ec1e
by 38031952+AnHeuermann Fixing Synchronous C-runtime implementation (#8324) * Removing unused code * Renaming clock uniontypes INTEGER_CLOCK --> RATIONAL_CLOCK BOOLEAN_CLOCK --> EVENT_CLOCK * New data structure for base- and sub-clocks. * New data allocation/free * Only update non-constant intervalCounter. * Improved clock info dump * Fixing base-clock and sub-clock activation time computation * Fixing previous(), firstTick(), interval() * Fixing hold(), sample() * Fixing rational clocks with changing interval length * Adding more tests for all basic features of Synchronous to synchronous_c * Adding complex MSL test The file was modified
OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ExpressionDump.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAEDump.mo (diff) The file was modified
testsuite/simulation/modelica/synchronous/SynchronousFeatures.VaryingClock.mos (diff) The file was added testsuite/simulation/modelica/synchronous_c/inferredConstructor1.mos The file was added testsuite/simulation/modelica/synchronous_c/sampleVar.mos The file was added testsuite/simulation/modelica/synchronous_c/eventConstructor.mos The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/synchronous.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/openmodelica_func.h (diff) The file was added testsuite/simulation/modelica/synchronous_c/subSample.mos The file was added testsuite/ReferenceFiles/msl40/Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.csv The file was added testsuite/simulation/modelica/synchronous_c/Synchronous.mo The file was modified
OMCompiler/Compiler/FrontEnd/PrefixUtil.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation_data.h (diff) The file was added testsuite/simulation/modelica/synchronous_c/rationalConstructor2.mos The file was modified
OMCompiler/Compiler/Template/ExpressionDumpTV.mo (diff) The file was modified
OMCompiler/Compiler/Template/CodegenFMUCommon.tpl (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff) The file was added testsuite/simulation/modelica/synchronous_c/noClock.mos The file was modified
OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Expression.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/model_help.c (diff) The file was modified
OMCompiler/Compiler/BackEnd/Initialization.mo (diff) The file was added testsuite/simulation/modelica/synchronous_c/inferredConstructor2.mos The file was modified
testsuite/Makefile (diff) The file was added testsuite/simulation/modelica/synchronous_c/intervalBase.mos The file was added testsuite/simulation/modelica/synchronous_c/absoluteClocks.mos The file was modified
OMCompiler/Compiler/Template/SimCodeTV.mo (diff) The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff) The file was added testsuite/simulation/modelica/synchronous_c/firstTick.mos The file was added testsuite/simulation/modelica/synchronous_c/Makefile The file was added testsuite/simulation/modelica/synchronous_c/backSample1.mos The file was added testsuite/simulation/modelica/synchronous_c/subSuperSample2.mos The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff) The file was added testsuite/simulation/modelica/synchronous_c/inferredSampleVar.mos The file was added testsuite/simulation/modelica/synchronous_c/subSuperSample1.mos The file was modified
OMCompiler/Compiler/Template/ExpressionDumpTpl.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/list.c (diff) The file was added testsuite/simulation/modelica/synchronous_c/boolEventClock.mos The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Static.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFClockKind.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/perform_simulation.c.inc (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/list.h (diff) The file was added testsuite/simulation/modelica/synchronous_c/shiftSample1.mos The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinFuncs.mo (diff) The file was added testsuite/simulation/modelica/synchronous_c/boolEventClock.mo The file was modified
OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCppOld.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/synchronous.h (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCpp.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/rational.c (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAE.mo (diff) The file was added testsuite/simulation/modelica/synchronous_c/holdVar.mos The file was modified
OMCompiler/Compiler/BackEnd/BackendVarTransform.mo (diff) The file was added testsuite/simulation/modelica/synchronous_c/rationalConstructor1.mos The file was modified
omsimulator.cmake (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/NPendulum2.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/MixedTearing1-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing2-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/tearingSelect2-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing15-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing15-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing18-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing5-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing8-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing14-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing13-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-celMC13.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing7-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing11-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/MixedTearing1-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing19-cel.mos (diff) The file was modified
testsuite/simulation/modelica/inlineFunction/forceComplexEq3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Algorithm1-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Algorithm2-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/userDefinedTearing2.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing12-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing2-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Algorithm1-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing3-omc.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/ElectricalCircuit6.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/Circuit3x.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing16-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/tearingSelect-omc.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/NPendulum3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Algorithm1-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing7-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/ElectricalCircuit1.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing14-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing4-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-celMC22.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing16-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing1-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing11-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Algorithm2-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing16-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing18-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/ElectricalCircuit2.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing5-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/tearingSelect-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing3-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing9-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing1-cel.mos (diff) The file was modified
testsuite/simulation/modelica/inlineFunction/forceComplexEq4.mos (diff) The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was modified
testsuite/simulation/modelica/tearing/MixedTearing2-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/ElectricalCircuit5.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing6-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/nonlinear_system/bug_3527.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing5-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing2-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/inlineFunction/forceComplexEq.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/Circuit2x.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing6-cel.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/ElectricalCircuit3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing7-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing14-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-celMC12.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing12-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/AmplifierWithOpAmpDetailed.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing1-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing11-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Algorithm1-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing13-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing18-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/tearingSelect2-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/MixedTearing1-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing12-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing11-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/totalTearing3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-celMC231.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/Circuit4x.mos (diff) The file was modified
testsuite/simulation/modelica/inlineFunction/forceComplexEq2.mos (diff) The file was modified
testsuite/simulation/modelica/hpcom/EngineCylinder.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing16-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-celMC11.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing7-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing15-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing18-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/tearingSelect-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing12-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing15-cel.mos (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_analytic.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing9-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing8-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Algorithm2-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing2-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/totalTearing2.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/userDefinedTearing1.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-celMC23.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing6-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/MixedTearing1-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-celMC21.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing3-cel.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/Circuit1x.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing8-celMC3sorted.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing14-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing8-omc.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDump.mo (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing1-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing13-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing4-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing4-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-cel.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing9-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing10-celMC4.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing3-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/resolveLoops/ElectricalCircuit4.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing9-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing4-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing5-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing8-celMC3.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Algorithm2-omc.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing6-minimal.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/totalTearing1.mos (diff) The file was modified
testsuite/openmodelica/debugDumps/libraryCoverageFlags.mos (diff) The file was modified
testsuite/simulation/modelica/tearing/Tearing13-cel.mos (diff)
Commit
a499198eb3fab8ad4912299b466e43791a3aea0d
by adrian.pop Use choice comment in dropdown #7488 (#8382) - parse the choice using the antlr4 OMParser to fetch the comment - populate the dropdown with the choice comment instead of the full redeclare - todo: do not add the choicesAllMatching if there are choices (or put it on a flag) - fix TestChoices.mo to be valid Modelica - rename libomcparseantlr4 to libOMParser to make it more clear where it comes from The file was modified
OMParser/test/Makefile (diff) The file was modified
OMEdit/OMEditGUI/OMEditGUI.unix.config.pri.in (diff) The file was modified
OMEdit/OMEditLIB/Util/StringHandler.h (diff) The file was modified
OMEdit/OMEditGUI/OMEditGUI.win.config.pri (diff) The file was modified
OMEdit/OMEditLIB/OMEditLIB.pro (diff) The file was modified
OMParser/.gitignore (diff) The file was modified
OMParser/CMakeLists.txt (diff) The file was modified
.CI/common.groovy (diff) The file was modified
testsuite/openmodelica/interactive-API/TestChoices.mo (diff) The file was modified
OMEdit/OMEditLIB/Util/StringHandler.cpp (diff) The file was modified
OMParser/Makefile (diff) The file was modified
OMEdit/OMEditLIB/CMakeLists.txt (diff) The file was modified
OMEdit/OMEditLIB/Element/ElementProperties.cpp (diff)
Commit
d469b93c35c671ab59cae114051846d58e9cac2c
by Östlund Per Handle fill in ExpandExp (#8391) - Expand fill calls in ExpandExp. - Move the implementation in Ceval.evalBuiltinFills to a more generic Expression.fillArgs function, since the functionality is used in several places in the compiler. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpandExp.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/DimNegative2.mo
Commit
ed824a9b9251645bbd3e4495858638dfd710ff0c
by Östlund Per Fix scope when mixing replaceable and inner/outer (#8394) - When looking for the corresponding inner for an outer instance, use the scope of the original element if it has been redeclared. Fixes #8389 The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFLookup.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/InnerOuterReplaceable1.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalConstants.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo (diff) The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff)
Commit
e47fb569f19a296d62b3aa1843a4eb51aa0ffed5
by Mahder Gebremedhin Rename GC.mo to GCExt.mo. (#8395) - Done to avoid conflicting names between the generated GC.h (from the .mo) file and the gc.h from 3rdParty/gc. Affects case insensitive OSs (GC.h vs gc.h) like most Windows setups. It was working fine on linux. The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/Sorting.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEOptimize.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was modified
OMCompiler/Compiler/Util/DoubleEnded.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/CommonSubExpression.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScript.mo (diff) The file was removed OMCompiler/Compiler/Util/GC.mo The file was added OMCompiler/Compiler/Util/GCExt.mo The file was modified
OMCompiler/Compiler/BackEnd/Tearing.mo (diff) The file was modified
OMCompiler/Compiler/Util/ExecStat.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAETransform.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Inst.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo (diff) The file was modified
OMCompiler/Compiler/Script/Interactive.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Parser.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/Initialization.mo (diff) The file was modified
OMCompiler/Compiler/Util/List.mo (diff) The file was modified
OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake (diff) The file was modified
OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/RemoveSimpleEquations.mo (diff) The file was modified
OMCompiler/Compiler/Main/Main.mo (diff)
Commit
d1bee64af8a703217a1a33981e8d693604842e12
by Östlund Per Improve subscripting of if-expressions (#8396) - If the branches of an if-expression can't be subscripted because they have different dimensions, just subscript the whole if-expression instead. Fixes #8341 The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/IfExpression13.mo
Commit
fdf426dd982faadf0421a93615c5d43afd849308
by Östlund Per Don't type outer components (#8398) - Outer components may be partial and/or contain e.g. structural parameters without bindings, so it might not be possible to type them. It's also not necessary to type them since they're removed from the flat model anyway. Fixes #4908 The file was added testsuite/flattening/modelica/scodeinst/InnerOuterPartialOuter2.mo The file was added testsuite/flattening/modelica/scodeinst/InnerOuterPartialOuter1.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff)
Commit
4e7b6fedf8610f5f446dad77dc0c2b01494fc532
by Mahder Gebremedhin Export all symbols from libOpenModelicaCompiler. (#8399) - On Windows we need explicitly tell the dll to export all symbols. It is not so good that we have to export all symbols. However, OMEdit uses some of the functions in the lib directly and we have no way of marking specific MetaModelica functions for exporting. The file was modified
OMCompiler/Compiler/CMakeLists.txt (diff)
Commit
aed8f074586888f2d60bd1e48cf126b2575d2e7b
by Östlund Per Improve typing of sum(A) and product(A) (#8400) - Use custom polymorphic types to define sum/product and remove the custom type checking for them. This has the side-effect of giving a proper error for sum/product of a scalar instead of failing for various reasons later in the compiler. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/FuncBuiltinSum2.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff)
Commit
72026fea1b319654eecab90c40c3e165cb58bfe6
by Mahder Gebremedhin Fix importing of OMSimulatorLib for Windows. (#8401) - It was written assuming just Linux. Down to the .so extension. - It is now improved for MinGW. Including importing the corresponding dll import lib. - For MSVC an error is issued and configuration terminated for now. - Some minor cleanup for OMParser related uses. The file was modified
OMEdit/OMEditLIB/CMakeLists.txt (diff) The file was modified
OMParser/CMakeLists.txt (diff) The file was modified
omsimulator.cmake (diff)
Commit
48083f097a9ccba0e9ded52ee2400197019555d6
by Mahder Gebremedhin Silence parentheses-equality warning for clang. (#8402) - The code generated from MetaModelica files contains a lot of ((a==b)) as a result of the codegen process. Disable the warning since they are harmless anyway. - This has been the case for the normal makefile compilations for quite some time. - Add some comments about the reasons behind and usage of bootstrapped omc (bomc) The file was modified
OMCompiler/Compiler/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/boot/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/FrontEnd/NFSCodeDependency.mo (diff)
Commit
284d7292d8b256eff0e5c1705a114667fa28edcc
by Mahder Gebremedhin Rename OMSimulator.mo to OMSimulatorExt.mo (#8404) - Rename OMSimulator.mo to OMSimulatorExt.mo - This is to avoid conflicting includes between the generated OMSimulator.h (from OMSimulator.mo) and the OMSimulator.h from OMSimulator itself (the public header of OMSimulator) - Remove workaround added for the conflicting headers. The file was removed OMCompiler/Compiler/Util/OMSimulator.mo The file was modified
OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptOMSimulator.mo (diff) The file was added OMCompiler/Compiler/Util/OMSimulatorExt.mo The file was modified
OMEdit/OMEditLIB/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff)
Commit
fe2593e3b0c1e7f233b101508d5d927d37575be4
by Mahder Gebremedhin Check for _WIN32 instead of WIN32. - WIN32 is not defined by the compilers. _WIN32 is. WIN32 is defined by MinGW in a convenience header that seems to be included by most system headers. However if you do the check before you include any file this will not work. We can manually define WIN32 in a config header if _WIN32 is defined. However, it is the same issue if we are not including the config header everytime before we check for WIN32. The file was modified
OMEdit/OMEditLIB/CrashReport/backtrace.h (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/TLM/FetchInterfaceDataThread.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
OMEdit/OMEditLIB/Util/StringHandler.h (diff) The file was modified
OMEdit/OMEditLIB/CrashReport/backtrace.c (diff) The file was modified
OMEdit/OMEditLIB/TLM/TLMCoSimulationDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Util/StringHandler.cpp (diff) The file was modified
OMEdit/OMEditLIB/Element/Element.cpp (diff) The file was modified
OMCompiler/Compiler/runtime/settingsimpl.c (diff) The file was modified
OMEdit/OMEditLIB/Util/Utilities.h (diff) The file was modified
OMEdit/OMEditLIB/TLM/TLMCoSimulationThread.cpp (diff) The file was modified
OMEdit/OMEditLIB/CrashReport/GDBBacktrace.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationOutputWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/Util/Utilities.cpp (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.cpp (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMS/OMSSimulationOutputWidget.cpp (diff) The file was modified
OMCompiler/SimulationRuntime/OMSICpp/omcWrapper/omcCAPI/include/OMCFunctions.h (diff) The file was modified
OMEdit/OMEditLIB/Debugger/GDB/GDBAdapter.cpp (diff)
Commit
80cce20126420f8fadba000500eacfbf999dbbe6
by Mahder Gebremedhin Make sure C math constants are set before using them - cmath/math.h constants are sometimes not set if _USE_MATH_DEFINES is not set before including cmath/math.h. - Make sure the define comes at the top of the file so that the header is not included indirectly (by other headers) without the define. The file was modified
OMEdit/OMEditLIB/Animation/ExtraShapes.cpp (diff)
Commit
50741cc3cb35e05d9a86815a3299c02ef599058a
by Mahder Gebremedhin Add -DUNICODE to compilation of OMEDitLib. (#8410) - This is added by default by qmake as far as I can tell. So the code assumes it is set always. Set it for CMake as well. The relevant effect for us is that `PROCESSENTRY32` will be overridden to `PROCESSENTRY32W` if the define is present. The file was modified
OMEdit/OMEditLIB/CMakeLists.txt (diff)
Commit
f1d4754c7fba38bc743ea0f4f5a41fbaeb3332dd
by Östlund Per Remove check for `each` on scalars (#8409) - Remove the check that `each` is not applied to scalars. The check is not correct since it only checks the immediate parent node, and checking it properly is not possible right now since submodifiers do not keep track of their parent modifiers. Since using `each` on a scalar isn't actually a problem it's better to remove the warning message for now instead of giving false warnings. Fixes #7777 The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBinding.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Each3.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Each6.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Each1.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Each4.mo (diff) The file was modified
testsuite/simulation/modelica/jacobian/reuseConstantPartsJac1.mos (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Each5.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was added testsuite/simulation/modelica/initialization/homotopy7.mos The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/CMakeLists.txt (diff) The file was modified
OMPlot/OMPlot/OMPlotGUI/CMakeLists.txt (diff) The file was modified
OMShell/OMShell/OMShellGUI/CMakeLists.txt (diff)
Commit
cd7679426f782d0ba10ebf0626a406c22d654288
by Östlund Per Improve conditional array type handling (#8414) - Return unknown dimensions for conditional array types in Type.arrayDims instead of an empty array, so at least the number of dimensions is correct (needed by `cat`). - Handle type checking when both the expected and the actual type is a conditonal array type. The file was added testsuite/flattening/modelica/scodeinst/IfExpression14.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFType.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/RecordBinding9.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFType.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFType.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/RecordBinding10.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/CMakeLists.txt (diff)
Commit
72aca4f581eacda6c2528d4ca9de7e24965c1305
by Mahder Gebremedhin Handle linking of binutil's libbfd with OMEdit. - The binutils libraries (bfd ...) are not available in the standard locations on MinGW. They are instead in lib/binutils/ folder. A small cmake find module (Findbinutils.cmake) is added to handle this. It looks for the library and imports it as target under binutil:: namespace. The libibery lib, which is a dependency of libbfd is also searched for and added as a dependency. The file was modified
OMEdit/OMEditLIB/CMakeLists.txt (diff) The file was modified
OMEdit/OMEditGUI/main.cpp (diff) The file was added cmake/modules/Findbinutils.cmake The file was modified
CMakeLists.txt (diff) The file was modified
OMEdit/OMEditLIB/CMakeLists.txt (diff) The file was modified
cmake/modules/Findbinutils.cmake (diff) The file was modified
OMShell/OMShell/OMShellGUI/CMakeLists.txt (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/CMakeLists.txt (diff) The file was modified
OMEdit/OMEditGUI/CMakeLists.txt (diff) The file was modified
OMEdit/OMEditLIB/Modeling/Commands.cpp (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/InstanceRestriction1.mo The file was added testsuite/flattening/modelica/scodeinst/InstanceRestriction2.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
testsuite/metamodelica/meta/TryExtends.mos (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Element/Element.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.h (diff) The file was added testsuite/omsimulator/fmiProtected.mos The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was added testsuite/omsimulator/fmiBlackBox.mos The file was modified
testsuite/omsimulator/Makefile (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/simulation_info_json.c (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/RecordBinding11.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFRestriction.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit
52c8c2ced097295c0501f30eac0bd103d0d471fa
by 38032125+kabdelhak [BE] fix ASSC pivoting (#8436) * [BE] fix ASSC pivoting - remove dividing pivot row by pivot element > it would need an update of rhs - refers to ticket #8381 * [BE] fix ASSC row update - also update all elements in the row that do not appear in the pivot row - fixes ticket #8373 The file was modified
testsuite/simulation/modelica/indexreduction/ASSC.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo (diff)
Commit
ebaac9b11c2adbaeb55bffff4b6dd2d5692e7692
by Mahder Gebremedhin Check if class exists before linearization. (#8417) * Check if class exists before linearization. - Fixes #8415. - To be consistent with the simulate() API, add an explicit check for existence of class. - Also fix a probable wrong parameter to the class lookup which asks for the enclosing class when a the actual class is not found inside it. * Move the check for instantiating invlaid class types - The check for attempted instantiation of disallowed class types (packages. functions) is now moved to Inst.instantiateClass_dispatch - This probably does not cover every path. I am almost sure it does not. However, OF is already deprecated. All we care about is the interactive environment working properly before passing on things to NF. * Allow instantiation of TOP level packages/functions The file was added testsuite/openmodelica/interactive-API/instantiateFunction.mos The file was modified
testsuite/flattening/libraries/biochem/BiochemModels.mos (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Inst.mo (diff) The file was modified
testsuite/openmodelica/interactive-API/Makefile (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/Main/Main.mo (diff) The file was modified
testsuite/flattening/modelica/mosfiles/ErrorSimPackage.mos (diff) The file was added testsuite/openmodelica/interactive-API/instantiateFunction.mo The file was added testsuite/flattening/modelica/scodeinst/FuncViaComp3.mo The file was modified
.openmodelica.aspell (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFLookupState.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/const13.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/lookup4.mo (diff)
Commit
5cb0f20ef84247702ea8c43ba22419a758af211f
by Mahder Gebremedhin Define LINK_SUNDIALS_STATIC when compiling FMU sources (#8450) - If we ask sundials to build shared libs it adds dll export realted function attributes to the headers. If we build both static and shared versions of sundials and we want to use the static libs later, we need to define LINK_SUNDIALS_STATIC so that the corresponding dll attributes are disabled in the headers (i.e, the function declarations do not get the attributes). The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
Commit
87d58d47b4ac6c89ea9a5b4f03eb8705fa1d4e4a
by Mahder Gebremedhin Fixes for FMU generation on Windows with CMake built omc (#8451) * [cmake] Define CMINPACK_NO_DLL to libSimulationRuntimeFMI. - It is a static library. * Install fmi/export/buildproject/configure.ac on Win - This is just following what the Makefiles do. I am not 100% sure why it is needed and how it is used. If it is not installed on Windows, the FMU creation complains about missing file and terminates. The file was modified
OMCompiler/SimulationRuntime/c/cmake/source_code_fmu_config.cmake (diff) The file was modified
OMCompiler/SimulationRuntime/c/cmake_3.14.cmake (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/buildproject/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/simulation_options.h (diff) The file was modified
testsuite/simulation/modelica/solver/problem1-symSolverImp.mos (diff) The file was modified
testsuite/openmodelica/cruntime/simoptions/nlssMinSize.mos (diff) The file was modified
testsuite/simulation/modelica/solver/problem1-symSolverImpSsc.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff) The file was modified
testsuite/simulation/modelica/nonlinear_system/problem6_symjac.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/model_help.c (diff) The file was modified
testsuite/simulation/libraries/msl32/Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/simulation_options.c (diff) The file was modified
testsuite/openmodelica/dataReconciliation/TSP_Pipe3.mos (diff) The file was modified
testsuite/simulation/modelica/daemode/testDAEScaling.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/TransformationalDebugger/TransformationsWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationOutputWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/TransformationalDebugger/TransformationsWidget.h (diff) The file was modified
OMEdit/OMEditLIB/Plotting/VariablesWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.h (diff)
Commit
033bbaf2e9940573743eab24559be67b03d89bba
by Östlund Per Clean up SCodeUtil.traverse* functions (#8468) - Clean up SCodeUtil.traverse* functions and remove unnecessary tupling to improve performance and make them more convenient to use. - Rename SCodeUtil.traverse* functions to SCodeUtil.mapFold* to better reflect what they do. The file was modified
OMCompiler/Compiler/FrontEnd/NFSCodeDependency.mo (diff) The file was modified
OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo (diff) The file was modified
OMCompiler/Compiler/FFrontEnd/FGraphBuild.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/NFSCodeFlattenImports.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/SCodeUtil.mo (diff)
Commit
ed1e04280491a3d5f33a5c71b08f884cc26381be
by 38031952+AnHeuermann CMinpack in source-code FMUs (#8471) * Adding CMinapack sources to source-code FMUs * Source-Code FMU test case To compile the source-code FMU one needs to configure with `NEED_CMINPACK=1`. This is only needed if the FMU has non-linear loops that are sovled with the hybrid solver (default). The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was added testsuite/omsimulator/recompileFMU.mos The file was modified
OMCompiler/Compiler/Template/CodegenFMU.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/buildproject/configure.ac (diff) The file was modified
testsuite/omsimulator/Makefile (diff)
Commit
96515334023847ceede3ca49ac0d1d2f592c0b36
by Östlund Per Improve OF and NF checkModel (#8473) - Consider ExternalObject to have size 0 in both the OF and the NF checkModel implementations. - Implement proper counting of tuples in the NF checkModel. - Work around MetaModelica bug when counting size of complex types in the NF checkModel. The file was added testsuite/flattening/modelica/external-objects/ExternalObjectSize1.mos The file was modified
testsuite/flattening/modelica/external-objects/Makefile (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Expression.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFType.mo (diff) The file was modified
OMCompiler/Compiler/Util/List.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFVerifyModel.mo (diff)
Commit
1772c4b421f15d729b6d1b130e2bd105dc8252ac
by Mahder Gebremedhin Enable/Disable GUI and CPP runtime at configure time. (#8485) - They were always enabled but not built by default (i.e., not built by just `make`). You had to build them explicitly. This turns out to be a bit confusing for users. Now they are instead enabled or disabled at **configure** time. If they are enabled then they will be built by `make` or `make all`. If they are disabled at configure time they are not even available as build targets. Requires reconfigure to enable them. I think this is aligns better with expectations and is more intuitive. - Make names of cmake options a bit more descriptive - Options that are at the "OpenModelica" level start with `OM_` now. - Options at "OpenModelica/OMCompiler" level start with `OM_OMC_` The file was modified
OMCompiler/3rdParty (diff) The file was modified
Jenkinsfile (diff) The file was modified
OMCompiler/SimulationRuntime/CMakeLists.txt (diff) The file was modified
CMakeLists.txt (diff) The file was modified
OMCompiler/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/Util/Util.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/MergeComponents4.mo The file was modified
OMCompiler/Compiler/Util/Flags.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/MergeComponents2.mo The file was modified
OMCompiler/Compiler/Util/UnorderedMap.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstUtil.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/MergeComponents6.mo The file was modified
OMCompiler/Compiler/FrontEnd/AbsynUtil.mo (diff) The file was modified
OMCompiler/Compiler/Util/FlagsUtil.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was added testsuite/flattening/modelica/scodeinst/MergeComponents5.mo The file was added testsuite/flattening/modelica/scodeinst/MergeComponents1.mo The file was modified
OMCompiler/Compiler/FrontEnd/SCodeUtil.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/MergeComponents3.mo
Commit
2fcc24281a98fde9b9512873c114efa1d684f056
by Mahder Gebremedhin Install the CMinpack headers to the FMU sources dir - Temporary solution since modifying FMU setup to copy these files from the include dir - the correct fix - will require modifications to the autoconf build system as well. I think? The file was modified
OMCompiler/SimulationRuntime/c/cmake/source_code_fmu_config.cmake (diff) The file was modified
OMCompiler/SimulationRuntime/c/cmake/source_code_fmu_config.cmake (diff)
Commit
5f36b2bc03321081c94db45bf3b02b46a3fdde3c
by Mahder Gebremedhin Install the configure script as executable. (#8493) - It needs to be executed so install it as a program. - Install the additional autoconf related files as well. These are normally generated when OpenModelica is configured by autoconf. Since the CMake build does not do that we copy them from the common/ folder instead. I hope this works find in all cases. The file was modified
OMCompiler/SimulationRuntime/fmi/export/buildproject/CMakeLists.txt (diff)
Commit
cfbcffbefa8c9045447260ef61a4017500f1d689
by Mahder Gebremedhin [CMake] do not build in each dir anymore. No need. (#8494) - The CMake configuration setup has changed in #8485. Which means almost all targets are enabled by default and all of them are part of the `all` make target. So there is no need to go into each dir and issue installation. The fact that they are part of `all` means all of them will be built and installed. The excpetion is the `testsuite-depends` target which includes the targets: - libs-for-testing: installation of Modelica libs for testing. - reference-files: extraction of reference files. The file was modified
.CI/common.groovy (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was added testsuite/flattening/modelica/scodeinst/MergeComponents7.mo
Commit
b40380abae0a70d1672317c381363fde2bc35818
by Mahder Gebremedhin Install the required runtime dlls on MinGW. (#8496) - Copy the runtime dependency DLLs to the binary directory for MinGW. - This is done only for OMEdit right now. This means OMNotebook and OMShell might not work if OMEdit is not installed as well. They can be fixed later to install just their own requirements. For now this is a starting point since the requirements of OMEdit cover all the requirements of OMNotebook and OMShell. - The installation of these runtime DLLs can be disabled by setting the CMake option `OM_OMEDIT_INSTALL_RUNTIME_DLLS=OFF`. It is on by default. The file was modified
OMEdit/OMEditGUI/CMakeLists.txt (diff) The file was modified
OMEdit/CMakeLists.txt (diff) The file was added README.cmake.md The file was modified
OMCompiler/Compiler/Util/Testsuite.mo (diff) The file was modified
testsuite/rtest (diff)
Commit
6aa42175654cdc7d8e5553ce4e2b289cd766651f
by Mahder Gebremedhin Fix import location of libOMSimulator. (#8502) - On platforms that do not have multi-arch lib dirs CMAKE_LIBRARY_ARCHITECTURE is empty. If it is empty (which means empty `host_short` is passed to OMSimulator) then OMSimulator will not add and omc folder to the install path. That is, it is either `lib/x86_64-linux-gnu/omc` or just `lib/` depending on host_short. It is never `lib//omc/`. - Make boost required for CPP runtime. It is not optional. The file was modified
OMCompiler/SimulationRuntime/cpp/SimCoreFactory/CMakeLists.txt (diff) The file was modified
omsimulator.cmake (diff) The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/Core/CMakeLists.txt (diff)
Commit
f605064aef11e0fff758244e4cf8f84b9b36060c
by Mahder Gebremedhin Make the installation dir of OMSimulator consistent (#8503) - OMSimulator's installation is done by building it and then copying the build dir it produces. Depending on library arch this output dir contain lib/ or lib/arch/omc. Copying it as it is now can be inconsistent with the rest of OpenModelica's installation. - Always install the libs to to `lib/omc` or `lib/<arch>/omc`. Never to just `lib`. This is done by individually installing each subfolder instead of installing the whole folder at once. The file was modified
omsimulator.cmake (diff)
Commit
9489298ff18fc789e8ded7b832987e087c524340
by Östlund Per Add dumping of name map for mergeComponents (#8505) - Generalize the JSON dump function used by `Obfuscate` and move it to `UnorderedMap.toJSON`. - Use the new `UnorderedMap.toJSON` to dump the name map generated by the `-d=mergeComponents` flag. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstUtil.mo (diff) The file was modified
OMCompiler/Compiler/Util/UnorderedMap.mo (diff) The file was modified
OMCompiler/Compiler/Script/Obfuscate.mo (diff)
Commit
851ba5eb9d96b0b17b3362c484f2efea9a56670d
by Hannebohm Philip Check rational arithmetic for overflow (#8504) * Check rational arithmetic for overflow Also refactor clocked calculations * Add comparison for rational with integer * Use floor to compare rational with integer The previous lessRatInt function could overflow The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/synchronous.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/rational.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/rational.c (diff) The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAECreate.mo (diff) The file was modified
testsuite/simulation/modelica/unitcheck/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFUnit.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFUnitCheck.mo (diff) The file was added testsuite/simulation/modelica/unitcheck/UnitCheck20.mos The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Absyn.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Static.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/AbsynUtil.mo (diff) The file was added doc/UsersGuide/source/media/do/image7.png The file was added doc/UsersGuide/source/media/do/image11.png The file was added doc/UsersGuide/source/media/do/image8.png The file was added doc/UsersGuide/source/media/do/image5.png The file was modified
doc/UsersGuide/source/optimization.rst (diff) The file was added doc/UsersGuide/source/media/do/image15.png The file was added doc/UsersGuide/source/media/do/image1.png The file was added doc/UsersGuide/source/media/do/image9.png The file was added doc/UsersGuide/source/media/do/image13.png The file was added doc/UsersGuide/source/OM_DOWithAnnotations.rst The file was added doc/UsersGuide/source/media/do/image16.png The file was added doc/UsersGuide/source/media/do/image10.png The file was added doc/UsersGuide/source/media/do/image3.png The file was added doc/UsersGuide/source/media/do/image14.png The file was modified
testsuite/rtest (diff)
Commit
cea85cf5ee5d3189e69a48fb85fe0390adbed768
by 38032125+kabdelhak New Backend Merge (#8520) * [NB] create backbone for new backend - bypass old dae structures and pass flat model to backend - added first new backend files in NBackEnd - available with --newBackend * [NB] adjacency matrix and matchign structures draft * [NB] small coding ethics update * split backenddae and adjacency matrix * [NB] add backbone for lowering of variables * [NB] structural updates vars/eqs - add basic lowering of eqs, more cases to be filled! - backend variable toString functions - comments - Util functions for dumping * [NB] add lowerVariableKind * [NB] small corrections * [NB] more lowering of when equations * [NB] unify structures - NBVariable and NBEquation have more equal structure - lowering of equations, algorithms and variables have more equal structure - toString functions more unified * [NB] add mapping functions - mapping for equations and equation pointers - replacing inst nodes in crefs to var pointers * [NB] error handling and dumping update * [NB] finalize lowering - add remaining cases to lowering - add first module draft for detect states and general module interface structure - update if equation structure * [NB] first version of detectStates - able to detect and replace any der(y) - cleanup structes, use ExpandableArray more efficient - remove variable and equation arrays without pointers -> all need to be pointers! - NHashTable for hashing NFComponentRef * [NB] small fix: derivative cref * [NB] move new hashtable to backend * [NB] small update - avoid matchcontinue - avoid hashtable * [NB] add detect discrete sates * [NB] create and dump variable attributes * [NB] add shell for partitioning module * [NB] introduce differentiate and jacobian * [NF] add algorithm outputs * [NSimCode] new simcode backbone * [NB] add rudimentary initialization * rename VAR_DATA_HESS -> VAR_DATA_HES * [NF] find and save inputs in algorithms * [NF] rebase fixes - new frontend pipeline - algorithm input outputs - flags * [NB] addRemoveSimple equations first draft - restructure Modules * [NSimCode] new simcode for dae mode - add basic structures for dae mode * [NSimCode] convert to old simcode - basic structures, does not work as is! * [NB] do not put dae residuals in loop structure * [NSimCode] small simcode fix - add simulation options * [NSimCode] update algebaic loops - collect loops from all systems - number them correctly - add new sim code hash table - first models run (wrong results) * [NSimCode] correct dae residuals * [NB] add differentiation and jacobian - add simple differentiation rules for time and jacobian - add jacobian pipeline - update dae mode to update the algebraics to be algebraic states - add operator classification to NF for better case handling * [NB] update DAEMode - create residuals in the backend - add residual vars to equation attributes - update simcode accordingly * [NB] add sparsity and coloring - add sparsity and coloring to backend and simcode - update jacobian and dae structures - update simcode structures * [NSimCode] generate simcode jacobian * [NB] fix conflicts with master * [NB] merge fixes - remove unused imports - add fmiSimulationFlags to SimCode * [NSimCode] fix eval stages and daeMode - FIRST VERSION THAT CAN SIMULATE BASIC MODELS (small errors though) - eval stages are now set correctly (for dae mode w/o discrete events) - dae mode is active by default using the new backend - add replacement of $DER with der() for dae mode (not necessary?) * [NSimCode] small fixes * [NF] fix input identification in algorithms - iterators are neither inputs nor outputs * [NB] update binary differentiation - fixes ticket #6068 - add two exponential differentiation rules - x^p and p^x where p is a parameter (treat just like constants) * [NB] small fix for binary differentiation * [NB] add scalar matching and scalar sorting - scalar matching based on pantelides algorithm doi:10.1137/0909014 - scalar sorting based on tarjans algorithm doi:10.1137/0201010 - strong components for single equations and algebraic loops * [NB] first solve and cleanup variables - simple solver using one newton step for linear solving - single replacement function (without setup and transitivity) - remove crefIndex structure and use more mature hashTables in variables - update NBCausalize accordingly (sorting does still not work with gaps in arrays) * [NF] temporary fix for input/output situation * [NB] add array compression and cleanup - add variable and equation array compression to remove gaps O(n) - cleanup detect states and other small parts to have correct interfaces * [NB] fix solveLinear - simplify expression before checking for linearity - add uminus before derivative y = - f(0) / f' - fix small stuff in simcode * [NB] pretty print stuff - better equation and variable dumping - move jacobian after adjacency and matching * [NB] Fix potential uninitialized memory return - Ever match should have an else case. Either return something usefull or throw an error. * [NB] add sorting of variables and equations - needs refining in some functions of noNameHashExp - add variable and equation data sorting? necessary? * [NB] support empty model - add testsuite folder with sanity check model * [NF] fix folding, once found stay true * [NB] refactor, no need to qualify matched objects * [NB] refactor, (list) compactifications * [NB] unify makeSeedTraverse and makePartialDerivativeTraverse * More sanity tests * [NB] add parameter system (#3) - fixes issue #3 - add parameter system to BDAE - create simcode for parameter system - ToDo: change parameter after simulation - ToDo: check for fixed attribute and add zero bindings for fixed params without equation * WIP more parameter system fixes * [NB] add parameterSystem testsuite file * [NB] fix parameter system * [testsuite] add NBackend parameter test * [NF] add multary expresssion [NF] - (currently) only for new backend - at the end of the new frontend convert nested binary expressions of the same operator type to one multary expression - only for commutative operators - expand NFExpression.toDAE() such that it converts them back to the old nested binaries [NB] - add differentiation rules for multary expressions - advantages for simplification and differentiation and symbolic manipulation in general * [WIP] Adding derivatives for build in functions - Added derivative for sin function * [NF] update multary support - combine + and - binaries - handle unaries properly * [NF] update multary simplify - recurse to arguments - simplify trivial sums and products [NB] update differentiation - for +/-/* always create MULTARY instead of BINARY * [NF] update simplification - better multary handling (signs) - update binary division handling (constants/signs) - update unary handling (nested unaries/zeros) - add dump flag -d=dumpSimplify [NB] small adaptions for frontend changes * [NB] fix solveLinear with new multary expressions - dumping for simplify and differentiate * [NB] add remove simple equations module STEPS: 1. collect alias sets 2. choose variable to keep if necessary 3. match/sort set (linear w.r.t. since all equations contain two crefs at max and are simple/linear) 4. create and apply replacements 5. save replacements in bindings of alias variables Upgrade to old RSE: 1. linear w.r.t. variables 2. make decision on which variable to keep with full information 3. alias variables can have any constant coefficient (before only 1 or -1) 4. alias variables can have an offset (did not exist) * [NB] add comments for RSE and Replacements * [NB] update multary - add inverse argument list - update simplify, differentiate and RSE for these changes * [NB] small fix for RSE When creating new alias set with binding don't forget to add variable to set * [NB] use HashSet to mark variables * [NB] update alias elimination - differ between constant/regular/linear alias * [NB] cleanup RSE - structural and dump changes in RSE - renaming of DAE structures to be more explicit * [NB] add static index reduction - basic functionality in NBCausalize - Matching now has regular() and singular() - some convenience functions and minor fixes - import/naming cleanups - testcase that still fails because of missing nonlinear loop handling - ToDo: dynamic IR, nonlinear loops, remove always vars from matching, fail on not selected never vars * [NB] small performance updates * [NF] small fixup for rebase * [NB/NSimCode] fixup RSE and algebraic code gen * [NB/testuite] update routine * [NB] add variable for time - small structural improvements * [NB] add jacobians to nonlinear loops - slight adjustments to NSimCode * [NB] add unique identifier to equations * [NSimCode] get jacobians from nonlinear loops * [NB/NSimCode] update jacobian handling * [NB] add basic nonlinear support - support for nonlinear loops - ToDo: - jacobians - solving nonlinear equations : fallback residual * [NSimCode] add jacobians for simulation and NLS - fix equation count makes it work * [NB/NS] implement implicit equation solving - unfortunately jacobians need some more work * [NSimCode] fix naming of implicit equations * [NB] add event collection - collects events from systems - splits systems to ode, algebraic, ode/event, alg/event - minor fixed to remove simple equations - ToDo: correct handling of WHEN equations in sim code * rebase fix * [testsuite] fix folder name * [NB] remove some unnecessary auxiliary vars * [NS] add when eq support - add generation of when equations - add eventInfo * [NB] update optdaedump * [NB] update event systems - add event system test file - works: . single time events . sample time events . concenated state events - toDo: . sample events in state events . more complicated single time events that have to be solved * [NB] small ordering update time events * Adding more builtin function derivatives - Added derivatives for sin, cos and acos * [NF] update toDAE for multaries - create neutral element for empty arguments * [NB] add backend clock timings - available with -d=dumpBackendClocks * [NB] add two missing clocks and update testfile * [NB] update formatting of clock prints * WIP array adjacency matrix + fixup rebase * [NB] first version SBGraph AdjacencyMatrix * [SimCode] make time alias possible - ToDo: how to handle negative time alias? negative index (0) not possible * [NB] small changes * [Util] fix flags after merge * Don't expand records with --newBackend. * [NF] WIP create correct unflattened record attr * Fix issue with printing empty VariableKind * Revert "[NF] WIP create correct unflattened record attr" This reverts commit 05169e2abf7a5ef80407460b288ede1780e2fbd9. * Fix the OMSens plugin path (#7018) Update OMSens_Qt * Fix array constructor handling in old frontend - Fix simplification and evaluation of array constructors. * Add division by zero check for function code. (#7023) * Updated libraries * libraries 9f29661...0c1100d (2): > Bump libraries > bad uses of Physiolibrary 3.0.0 in Chemical library * [NF] update non flattened records - only for new backend - adds all elements to record as children - mainly used for attributes * [NF/NB] Handle unscalarized record - new frontend: add unordered map for children index tracking - new backend: create variable attributes for records * [NB] fix after rebase * [NB] set based graph update * [NB] first working set based adjacency matrix - set based adjacency matrix for simple array and for equations - example provided - usable with --matchingAlgorithm=SBGraph - debug with -d=dumpSetBasedGraphs (also triggers frontend set based graph connect dumps) * [BE] Use same clock for all backend modules * [NB] first SBGraph matching stuff * [NB] WIP add some SBGraph matching utility funcs * [NB] further work on SBGraph matching - rename AdjacencyList to IncidenceList and wrap it in SBGraph package - introduce BipartiteIncidenceList - introduce SetTypes for vertices and edges - refine some functions in Causalize * [NB] update set based matching * [NB] basic assert support * [NB] refine causalize data - [NB] split causalization process into several files - [NB] small update on RSE module - [NF] add missing multary support in mapping functions * [NB] update initialization - add first working MSL model! (minor difference to master result) - order states to the end and initial equations to start of their arrays - overdetermination -> remove all unmatched equations and report warning (no consistency check yet) - underdetermination -> fix all unmatched states, fail if any non state is unmatched [NB] small updates - use UnorderedMap and UnorderedSet instead (more to change!) - failtrace reports times of all modules until crash - small typo and ordering changes * [NB] update testsuite for new dumps * [Util] revert unnecessary change * [NB] use UnorderedMap instead of HashTables * [NB] add minimal Tearing and minor hash changes - add minimal tearing with test case - add test case for underdetermined initialization - change more hashtables to unordered maps and unordered sets - unordered maps for eqs and vars will update to -1 when removing something to not evoke the expensive UnorderedMap.remove() function * [NB] update detectStates module - implements the idea of ticket #5934 - handles non cref expressions in der(exp) call - one or less algebraics in exp -> differentiate the inside of exp and if needed mark the algebraic variable as state - more than one algebraics in exp -> create auxiliary $AUX = exp. If needed index reduction differentiates it, but it is not always needed. - better than BE: avoids unnecessary index reduction in some cases * [NB] add partitioning - add testcase - update RSE module * [NB] use listAppendDestroy for repetitive appends * [NB] fix cyclic var cref dependencies - actually have cyclic dependencies now - fix partitioning - other minor fixes * [NB/NF] removed unused imports * Remove unused use of obsolete HashTable * [NB] add ASSC backbone - not applied yet (missing: continue matching) * Replace old HashTables with UnorderedMap * [NB] add linear matching - wip implementation, not in use! - only scalar currently * [NB] update linearMatching - follow only one path with true loop - keep suspected loop information up after resolving true loop - minor fixes * [NB] add linear matching dumping * Be careful with record residuals Record equations can not be made residual if at leas one of +,0,- is not defined in the operator record. * [NB] update linear matching - use vertex index as loop index -> it is unique and always available * [NB] update linear matching * [NB] fix after merge * [NB] add pseudo array structures - for-loop handling - not finished! * [NB] add proper slicing for for-loops - slicing heuristic that assumes a certain structure such that nested for loops can be recovered - provided examples * [NB] update array initialization - also reorder stuff - [NF] add structures to support array init * [codegenC] i hate this commit - ugly hack fixes subscripts of attributed variables (e.g. start) - we need to find something better than this * [NB] small fix partitioning - strip cref in cref collection and not expression collection * [NB] implement external matching - incredible efficiency boost for pseudo array matching - some dumping updates for large stuff * [Template] better indexing - update array indexing of multidimensional variables * [NB] update pseudo array matching - handle array equations - update top level input handling - update handling of literal simple equations in RSE * [NB] WIP safe stuff ! * [NB] fix data recovery hole * [NB] add empty list handling in adjacency matrix expand * [NF/NB] update scalarizing to always apply on backend cref * [NB] add FLAT_BINDING to SimVar - add flat binding to simvar parameters, useful after expanding/scalarizing variables - add debug output for initialization * [NF] add expanding of fill expression * [NB] update pseudo adjacency matrix - now able to parse scalars and whole dim variables in for-loops - util functions in NF * [NB] provide scalarization for backendinfo - use Scalarization from frontend and update it to parse backendinfo * [NB] fix sparsity pattern for sliced * [NB] update equation slicing heuristic - add rearring of for loop nesting - better naming of frames and frame locations * [NF] update discrete variable verification (#8476) - broke for -nfScalarize - fixed nesting of function to also catch when equations and statemens inside of if and for equations/statements * [NB] small fix for irregular slicing * mend * [NB] add entwined for equations - needed to represent more slicing structures * [NB] update for-loop entwining - add iterator equality check * [NB] update entwine intersections - add splitting of entwined for-loops * [NB] update for loop reconstruction - add diagonal slice handling - add removed diagonal slice handling * [FE] update unboxing for metamodelica - add support of unboxing in array subscripts that are qualified crefs * [janitor] remove unused stuff * [testsuite] NB array slicing tests * [make/cmake] update source lists * [NB/NF] merge fixes * [NF] update for merge to master - remove unnecessary function - move MULTARY to end of NFExpression (bootstrapping problem) - small fixes * [NB/testsuite] update testsuite for push - minor NB fixes Co-authored-by: phannebohm <philip.hannebohm@fh-bielefeld.de> Co-authored-by: Adrian Pop <adrian.pop@liu.se> Co-authored-by: AnHeuermann <andreas.heuermann@liu.se> Co-authored-by: AnHeuermann <andreas.heuermann@fh-bielefeld.de> Co-authored-by: Per Östlund <perost86@gmail.com> Co-authored-by: Adeel Asghar <adeel.asghar@liu.se> Co-authored-by: Mahder Gebremedhin <mahge@users.noreply.github.com> Co-authored-by: hudson <openmodelica@ida.liu.se> The file was modified
OMCompiler/Compiler/Util/Pointer.mo (diff) The file was added OMCompiler/Compiler/NSimCode/HashTableSimCode.mo The file was modified
OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff) The file was added testsuite/simulation/modelica/NBackend/array_handling/irregular_for.mos The file was modified
OMCompiler/Compiler/Util/Flags.mo (diff) The file was modified
testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/Makefile (diff) The file was added OMCompiler/Compiler/NFFrontEnd/NFBackendExtension.mo The file was added OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBCausalize.mo The file was added OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBAdjacency.mo The file was added testsuite/simulation/modelica/NBackend/array_handling/simple_nested_for.mos The file was added OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpandableConnectors.mo (diff) The file was modified
testsuite/openmodelica/interactive-API/Ticket5548.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
OMCompiler/Compiler/Util/FlagsUtil.mo (diff) The file was modified
OMCompiler/Compiler/Util/SBAtomicSet.mo (diff) The file was modified
testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.mos (diff) The file was added testsuite/simulation/modelica/NBackend/msl/Makefile The file was modified
OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake (diff) The file was added OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBDAEMode.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBinding.mo (diff) The file was modified
testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.Tline.mos (diff) The file was added OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBRemoveSimpleEquations.mo The file was added OMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo The file was added OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBTearing.mo The file was added OMCompiler/Compiler/NBackEnd/Util/NBBackendUtil.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo (diff) The file was added OMCompiler/Compiler/NFFrontEnd/NFSBGraphUtil.mo The file was added OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBMatching.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFOperator.mo (diff) The file was added testsuite/simulation/modelica/NBackend/solveSingleEquation.mos The file was added testsuite/simulation/modelica/NBackend/simpleForLoop.mos The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.mos (diff) The file was added OMCompiler/Compiler/NBackEnd/Util/NBGraphUtil.mo The file was modified
OMCompiler/Compiler/Util/UnorderedSet.mo (diff) The file was added OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo The file was added OMCompiler/Compiler/NBackEnd/Util/NBSolve.mo The file was modified
OMCompiler/Compiler/FrontEnd/CheckModel.mo (diff) The file was modified
OMCompiler/Compiler/Util/SBLinearMap.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFDimension.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff) The file was modified
OMCompiler/Compiler/Util/Vector.mo (diff) The file was added OMCompiler/Compiler/NBackEnd/Modules/NBModule.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was added OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo (diff) The file was modified
OMCompiler/Compiler/Util/SBInterval.mo (diff) The file was added OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBResolveSingularities.mo The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was added testsuite/simulation/modelica/NBackend/detectStates.mos The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComplexType.mo (diff) The file was added OMCompiler/Compiler/NSimCode/NSimVar.mo The file was added OMCompiler/Compiler/NSimCode/NSimJacobian.mo The file was added testsuite/simulation/modelica/NBackend/array_handling/diagonal_slice_for.mos The file was added OMCompiler/Compiler/NBackEnd/Classes/NBSystem.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpandExp.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFVariable.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SerializeModelInfo.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff) The file was modified
testsuite/simulation/libraries/msl32_cpp/Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff) The file was added testsuite/simulation/modelica/NBackend/Makefile The file was added testsuite/simulation/modelica/NBackend/partitioning.mos The file was added testsuite/simulation/modelica/NBackend/array_handling/simple_for.mos The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSimplifyModel.mo (diff) The file was modified
doc/UsersGuide/source/porting.rst (diff) The file was added testsuite/simulation/modelica/NBackend/eventSystem.mos The file was added testsuite/simulation/modelica/NBackend/array_handling/exemplary.mos The file was added testsuite/simulation/modelica/NBackend/minArr.mos The file was modified
OMCompiler/Compiler/BackEnd/RemoveSimpleEquations.mo (diff) The file was added OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFType.mo (diff) The file was modified
testsuite/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff) The file was modified
testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mos (diff) The file was added testsuite/simulation/modelica/NBackend/RSE2.mos The file was added testsuite/simulation/modelica/NBackend/simpleNonlinearLoop.mos The file was added OMCompiler/Compiler/NBackEnd/Util/NBSlice.mo The file was modified
testsuite/simulation/libraries/msl32_cpp/Modelica.Mechanics.Rotational.Examples.HeatLosses.mos (diff) The file was modified
OMCompiler/Compiler/Util/UnorderedMap.mo (diff) The file was added testsuite/simulation/modelica/NBackend/multary_simplification.mos The file was modified
OMCompiler/Compiler/BackEnd/CommonSubExpression.mo (diff) The file was modified
testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.DoubleLine.out (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ComponentReference.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/synchronous.c (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatModel.mo (diff) The file was added testsuite/simulation/modelica/NBackend/differentation/Makefile The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff) The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff) The file was removed OMCompiler/Compiler/Util/AdjacencyList.mo The file was added OMCompiler/Compiler/NSimCode/NSimStrongComponent.mo The file was modified
testsuite/openmodelica/bootstrapping/ExpandableArrayTest.mos (diff) The file was added testsuite/simulation/modelica/NBackend/RSE.mos The file was modified
OMCompiler/Compiler/Util/SBMultiInterval.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was added testsuite/simulation/modelica/NBackend/msl/CauerLowPassAnalog.mos The file was modified
OMCompiler/Compiler/NFFrontEnd/NFArrayConnections.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/ArrayConnect2.mo (diff) The file was added OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo The file was modified
OMCompiler/SimulationRuntime/OMSICpp/runtime/src/Core/System/OMSI/OMSUSystem.cpp (diff) The file was modified
OMCompiler/Compiler/FrontEnd/PrefixUtil.mo (diff) The file was added testsuite/simulation/modelica/NBackend/array_handling/slice_for.mos The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinFuncs.mo (diff) The file was added testsuite/simulation/modelica/NBackend/helloWorld.mos The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff) The file was added OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBPartitioning.mo The file was added testsuite/simulation/modelica/NBackend/differentation/allTheBuildins.mos The file was added OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBEvents.mo The file was modified
testsuite/simulation/libraries/msl32_cpp/Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.mos (diff) The file was added testsuite/simulation/modelica/NBackend/parameterSystem.mos The file was modified
testsuite/simulation/modelica/synchronous_c/Synchronous.mo (diff) The file was modified
testsuite/simulation/libraries/msl32_cpp/Modelica.Fluid.Examples.Tanks.TanksWithOverflow.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFRecord.mo (diff) The file was added testsuite/simulation/modelica/NBackend/underdetermined_init.mos The file was added OMCompiler/Compiler/NFFrontEnd/NFHashTableCrToExp.mo The file was added OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was added OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo The file was added OMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo The file was modified
OMCompiler/Compiler/Template/CodegenFMU.tpl (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFScalarize.mo (diff) The file was added testsuite/simulation/modelica/NBackend/StaticIR.mos The file was modified
OMCompiler/Compiler/Util/ClockIndexes.mo (diff) The file was added testsuite/simulation/modelica/NBackend/emptyModel.mos The file was modified
testsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.FaultTline.mos (diff) The file was added OMCompiler/Compiler/NFFrontEnd/NFHashSet.mo The file was added testsuite/simulation/modelica/NBackend/implicitEquation.mos The file was modified
OMCompiler/Compiler/Util/StringUtil.mo (diff) The file was added OMCompiler/Compiler/NSimCode/NSimCode.mo The file was modified
OMCompiler/Compiler/Util/SBSet.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFAlgorithm.mo (diff) The file was added testsuite/simulation/modelica/NBackend/minimalTearing.mos The file was added OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBSorting.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFUnitCheck.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was modified
OMCompiler/Compiler/Util/ExpandableArray.mo (diff) The file was added OMCompiler/Compiler/Util/SBGraph.mo The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/Util/List.mo (diff)
Commit
803a3c0fdc9a20af7a00d3943b6b098ec8db5e8d
by Östlund Per Refactor typing of builtin Connections.* functions (#8529) - Add functions to type and check arguments of the builtin Connections.* functions, to reduce code repetition. - Add toString debug function to NFConnections. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFConnections.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/CevalBinding6.mo The file was added testsuite/flattening/modelica/scodeinst/CevalBinding7.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff)
Commit
3f449f2550c43fb70e50045f9903eca14ae6757d
by Mahder Gebremedhin libfmi shared and static. libOpenModelicaFMIRuntime static. (#8531) - Make library types consistent across Linux and Windows. - Install both static and shared versions of libfmi. Only the shared version was being installed on linux even though both are built anyway. They also have different names so nothing should confuse them. Technically the shared version might not even be needed at all. I am just not sure what would miss it if I remove it. Leave it as it is for now. - Build only static versions of libOpenModelicaFMIRuntime on Linux as well as Windows. It was shared on linux and static on Windows. The file was modified
OMCompiler/configure.ac (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was modified
OMCompiler/Makefile.omdev.mingw (diff) The file was modified
testsuite/simulation/modelica/start_value_selection/ticket5807.mos (diff) The file was modified
testsuite/simulation/modelica/nonlinear_system/bug_2841.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/linearSolverTotalPivot.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSolverHomotopy.c (diff) The file was modified
.CI/common.groovy (diff) The file was modified
OMShell/OMShell/OMShellGUI/OMShell.config.in (diff) The file was modified
OMEdit/OMEditGUI/OMEditGUI.win.config.pri (diff) The file was modified
OMShell/mosh/src/Makefile.in (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/OMNotebookGUI.pro (diff) The file was modified
OMShell/OMShell/OMShellGUI/OMShellGUI.pro (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/OMNotebook.config.in (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFLookup.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/RecursiveExtends4.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/buildproject/configure.ac (diff) The file was modified
testsuite/omsimulator/recompileFMU.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff)
Commit
29cce9d080bd9764fe20777f6c2b7212e4ad2de0
by Mahder Gebremedhin Add zlib as a standalone 3rdParty library. - We were using it from ModelicaExternalC. This is inconvenient due to changes we have to make for build ModelicaExternalC libs as both shared and static libs. - We also need zlib for a lot more than just ModelicaExternalC. Therefore it is a good idea that it is its own standalone project. The file was modified
OMCompiler/3rdParty (diff)
Commit
fda2dde7662c6ded8cee87c8d304e1b5fac2a9cc
by Mahder Gebremedhin Build static and shared versions of ModelicaExternalC - We now exclusively use CMake to build ModelicaExternalC. This means even for the autotools + Makefile build system, we use CMake to build ModelicaExternalC. This has made the CMakeLists.txt for ModelicaExternalC a tad bit complicated. It is now used to compile just ModelicaExternalC as a standalone project when asked by the autotools + Makefile build. This is signified by setting MODELICA_EXTERNAL_C_STANDALONE=ON when configuring it. In this mode it will first look for find and setup the required libraries (zlib and libOpenModelicaRuntimeC). In the other mode (OpenModelica's new CMake build) it just acts as any other CMakeLists.txt file and uses the required libraries from the OpenModelica project. The shared version of the Modelica libs are isntalled to a specific directory lib/<arch>/omc/ffi so that they are not in the link path for Simulation executables. They are only intended for libFFI based loading by omc and not for actual linking. - The ModelicaExternalC builds have been adjusted for MSVC as well. The file was modified
OMCompiler/Makefile.common (diff) The file was modified
OMCompiler/Makefile.in (diff) The file was modified
OMCompiler/SimulationRuntime/ModelicaExternalC/CMakeLists.txt (diff) The file was modified
OMCompiler/Makefile.omdev.mingw (diff) The file was added OMCompiler/SimulationRuntime/ModelicaExternalC/MEC_standalone_2.8.cmake The file was modified
OMCompiler/SimulationRuntime/OMSICpp/omcWrapper/omcCAPI/CMakeLists.txt (diff) The file was modified
OMCompiler/Compiler/runtime/CMakeLists.txt (diff)
Commit
4717759fc5a28a0b60f9d7b1519f262c7b70f3ad
by Mahder Gebremedhin Update FFI search directories. - Look for libraries in bin/ folder on Windows. It was looking in the lib dir. dll are normally installed to bin folder. We should move any dlls we have in lib dir to bin dir. - Look for both `foo` and `libfoo` on both Windows and Linux. It was looking for just `libfoo` on Linux and just `foo` on Windows. - It also now looks in a special directory, 'ffi/' as a last resort. This is `lib/<arch>/omc/ffi` on Linux and `bin/ffi` on Windows. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff) The file was modified
testsuite/flattening/modelica/ffi/MissingFunction1.mos (diff) The file was modified
testsuite/flattening/modelica/ffi/FFITest/Resources/BuildProjects/gcc/Makefile (diff) The file was modified
OMCompiler/3rdParty (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/DimSize5.mo
Commit
bf2fb176ac3be91c04525cbcb6054160070540b9
by Östlund Per Forbid modifying protected elements (#8512) - Add check that protected elements are not modified. - Refactor out the visibility propagation from Inst.instExtends to a separate function and do it earlier, so that elements have the correct visibility when applying modifiers. The file was added testsuite/flattening/modelica/scodeinst/ProtectedMod3.mo The file was added testsuite/flattening/modelica/scodeinst/ProtectedMod4.mo The file was added testsuite/flattening/modelica/scodeinst/ProtectedMod6.mo The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/ProtectedMod7.mo The file was added testsuite/flattening/modelica/scodeinst/ProtectedMod2.mo The file was modified
testsuite/flattening/modelica/scodeinst/ProtectedMod1.mo (diff) The file was modified
.CI/compliance.failures (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/ProtectedMod5.mo The file was modified
.CI/compliance-newinst.failures (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit
8d0b1ce875604ac58e86bf2ad3f34dfd6dae953f
by Östlund Per Reorganize some NFExpression records (#8547) - Rename NFExpression.ARRAY to NFExpression.LIST in order to prepare for adding an array expression based on actual arrays and not lists. - Move NFExpression.MULTARY to where it should be. - Update the bootstrapping header and ffi interface to reflect the NFExpression changes made. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpandExp.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBBackendUtil.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff) The file was modified
OMCompiler/Compiler/boot/tarball-include/OpenModelicaBootstrappingHeader.h (diff) The file was modified
OMCompiler/Compiler/runtime/ffi_omc.c (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFOCConnectionGraph.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFConnector.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunctionExt.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFDimension.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFRangeIterator.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpressionIterator.mo (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.h (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationOptions.h (diff) The file was modified
.gitignore (diff)
Commit
0897872ac136de73a773ef3d9b3a9442439e8890
by Mahder Gebremedhin Update PATH with library dirs before system calls. (#8552) - On Windows the required DLLs need to be in the same directory as the executable or they need to be in PATH. So, before we issue commands that launch simulation executables, update the PATH by prepending the library dirs used for linking the executable. E.g. If these paths are used to compile a simulation executable: ``` { \"-LC:/Users/username/AppData/Roaming/.openmodelica/libraries/Buildings/Resources/Library/win64\", \"-LC:/Users/username/AppData/Roaming/.openmodelica/libraries/Buildings/Resources/Library\", ... } ``` we update the PATH to ``` C:\Users\username\AppData\Roaming\.openmodelica\libraries\Buildings\Resources\Library\win64; C:\Users\username\AppData\Roaming\.openmodelica\libraries\Buildings\Resources\Library; %PATH% ``` before launching the simulation executable. Then we reset it back immediately afterwards. - Fixes #8546. Fixes #6242. The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/Makefile (diff) The file was modified
testsuite/simulation/modelica/commonSubExp/wrapFunctionCalls8.mos (diff) The file was modified
testsuite/openmodelica/cppruntime/fmu/modelExchange/2.0/testDrumBoiler.mos (diff) The file was modified
testsuite/openmodelica/cruntime/optimization/benchmark/runReduceDrumBoiler.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/CommonSubExpression.mo (diff) The file was modified
testsuite/openmodelica/cruntime/optimization/benchmark/runExReduceDrumBoiler.mos (diff) The file was modified
testsuite/simulation/modelica/commonSubExp/wrapFunctionCalls9.mos (diff) The file was modified
testsuite/simulation/modelica/commonSubExp/wrapFunctionCalls11.mos (diff) The file was modified
testsuite/openmodelica/cppruntime/genDebugSymbols/Modelica.Fluid.Examples.BranchingDynamicPipes_genDebugSymbols.mos (diff) The file was added testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_17.mos The file was modified
testsuite/simulation/modelica/commonSubExp/wrapFunctionCalls10.mos (diff) The file was modified
testsuite/simulation/modelica/commonSubExp/wrapFunctionCalls13.mos (diff) The file was modified
testsuite/simulation/modelica/parameters/parameterTest17.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
testsuite/simulation/modelica/commonSubExp/wrapFunctionCalls12.mos (diff) The file was modified
testsuite/simulation/modelica/commonSubExp/wrapFunctionCalls6.mos (diff)
Commit
83634b05b2d6125132cdbba8520eb4de62b83b11
by Östlund Per Improve checking of protected modifications (#8556) - Add the source location of the modifier to the error message, to make it easier to see why the error occured. - Allow modification of protected elements in base classes even in cases where it shouldn't be allowed, since we can't correctly detect those cases yet. The file was modified
testsuite/flattening/modelica/scodeinst/ProtectedMod6.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/ProtectedMod8.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
testsuite/flattening/modelica/scodeinst/ProtectedMod3.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/ProtectedMod1.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/OperationLogicalBinary2.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
testsuite/simulation/modelica/initialization/parameters.mos (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAEUtil.mo (diff) The file was modified
OMCompiler/Compiler/Template/CodegenXML.tpl (diff) The file was modified
testsuite/openmodelica/cppruntime/genDebugSymbols/Modelica.Fluid.Examples.BranchingDynamicPipes_genDebugSymbols.mos (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was modified
testsuite/openmodelica/xml/Bug3857.mos (diff) The file was modified
OMCompiler/Compiler/Template/SimCodeTV.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Expression.mo (diff) The file was modified
testsuite/openmodelica/cppruntime/fmu/modelExchange/2.0/testDrumBoiler.mos (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_17.mos (diff) The file was modified
OMEdit/OMEditLIB/Modeling/InstallLibraryDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/InstallLibraryDialog.h (diff)
Commit
ca7559a46d3cd6a8f3db967c4d3b2405c8338a55
by Östlund Per Implement array expression using arrays (#8570) - Implement `Expression.ARRAY` using arrays. - Remove `Expression.LIST` since it's no longer used. - Remove `Expression.listContainsShallow`, since `List.exist` does the same thing and is more general. - Update bootstrapping header and ffi interface to reflect the changes in Expression. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFConnector.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFOCConnectionGraph.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTypeCheck.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunctionExt.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFVerifyModel.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff) The file was modified
OMCompiler/Compiler/Util/List.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFDimension.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff) The file was modified
OMCompiler/Compiler/runtime/ffi_omc.c (diff) The file was modified
OMCompiler/Compiler/Util/Array.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBBackendUtil.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFRangeIterator.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpandExp.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpressionIterator.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/boot/tarball-include/OpenModelicaBootstrappingHeader.h (diff)
Commit
caa88359da12dc6b87a99d246f1c8dd7db55f408
by Östlund Per Improve flattening performance (#8573) - Change the flattening of subscripted expressions with split indices so that the subscripting is done before flattening the subscripted expression, to avoid flattening large expressions over and over. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatten.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_03.mos (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_07.mos (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.h (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_16.mos (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_12.mos (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_06.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_08.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_14.mos (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_05.mos (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCode.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_04.mos (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_11.mos (diff) The file was modified
OMCompiler/SimulationRuntime/c/openmodelica_func.h (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_15.mos (diff) The file was modified
OMCompiler/Compiler/Template/CodegenFMU.tpl (diff) The file was modified
OMCompiler/Compiler/Template/SimCodeTV.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_10.mos (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_01.mos (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Expression.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_02.mos (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_09.mos (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_13.mos (diff) The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff)
Commit
56e1f47568342500103d1b6e2d4599714e3a0f0c
by Mahder Gebremedhin Generate a batch script on Windows (launches exe) (#8572) * Generate a batch script on Windows (launches exe) - We now generate a <ModelName>.bat file along with other generated files. The script updates the PATH with the directories extracted from the model and then launches the executable. - The APIs `simulate`, `optimize` and `linearize` now launch executables using this bat file. - OMEdit manually parses the bat file, extracts the additional paths needed and updates the PATH itself before launching the executable. - OMNotebook and OMShell have not been updated yet. * Catch the return code of the executable and exit with it. - To be safe catch the %ERRORLEVEL% of the executable call and exit with that. The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationOutputWidget.h (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationOutputWidget.cpp (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeFunctionUtil.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff) The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was added testsuite/flattening/modelica/scodeinst/CevalFuncArray5.mo The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was removed testsuite/openmodelica/fmi/ModelExchange/2.0/BooleanNetwork1.mo The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/BooleanNetwork1.mos (diff)
Commit
b16ae93bcf0e9c2d664948a6a4f203c318d4bb93
by Mahder Gebremedhin Declare equationIndexes to null for now. (#8583) - Fixes #8578. - There are functions that seem to be intended to provide these indices, e.g., `zeroCrossingDescription` and `relationDescription`. However, there is no way to actually use them now since the generation of expressions are handled by the generic `daeExp` function instead of with dedicated generators. `daeExp` will just generate `equationIndexes` for everything. So at least declare the variable for now even though it does not provide an additional info. The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff)
Commit
d04340ee6123dcebeb822480c432f86a200fb47e
by Östlund Per More array improvements (#8582) - Clone bindings in EvalFunction to avoid writing to the actual bindings. - Simplify the Expression.* functions that generate arrays and make sure they don't create arrays with shared elements. - Get rid of some listArray calls by using arrays instead of lists. The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/Util/Array.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_17.mos (diff) The file was added testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_18.mos The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/Makefile (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAEUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/StateMachineFlatten.mo (diff) The file was modified
testsuite/simulation/modelica/initialization/parameters.mos (diff) The file was modified
OMCompiler/Compiler/Util/Flags.mo (diff) The file was modified
testsuite/omsimulator/Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.mos (diff) The file was modified
testsuite/openmodelica/cppruntime/fmu/modelExchange/2.0/testDrumBoiler.mos (diff) The file was modified
testsuite/openmodelica/fmi/CoSimulation/2.0/ExportCvodeFmu_static.mos (diff) The file was modified
testsuite/openmodelica/fmi/CoSimulation/2.0/ExportCvodeFmu_dynamic.mos (diff) The file was modified
testsuite/openmodelica/fmi/ModelExchange/2.0/Makefile (diff) The file was modified
doc/UsersGuide/source/optimization.rst (diff) The file was modified
doc/UsersGuide/source/OM_DOWithAnnotations.rst (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff)
Commit
f6dfe830e71fa96c898cd573c9cf61be03db6bbd
by Mahder Gebremedhin Minor cleanup for the CMake configuration. (#8588) - Remove unnecessary installs. Some of this files are not need to be in the final install. They are need at build time internally. - 3rdParty - Set status messages as STATUS - Fix installation lib dirs from just lib to ${CMAKE_INSTALL_LIBDIR} - Change pkgconfig to pkgconfig The file was modified
OMEdit/OMEditLIB/CMakeLists.txt (diff) The file was modified
OMParser/3rdParty/antlr4/runtime/Cpp/CMakeLists.txt (diff) The file was modified
OMShell/OMShell/OMShellGUI/CMakeLists.txt (diff) The file was modified
OMParser/3rdParty/antlr4/runtime/Cpp/runtime/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/cpp/cmake_3.14.cmake (diff) The file was modified
OMPlot/qwt/src/CMakeLists.txt (diff) The file was modified
OMCompiler/3rdParty (diff) The file was modified
OMCompiler/Makefile.common (diff) The file was modified
OMEdit/OMEditLIB/OMEditLIB.pro (diff) The file was modified
OMParser/Makefile (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff) The file was modified
OMSimulator (diff) The file was modified
OMSimulator (diff) The file was modified
testsuite/omsimulator/testLoopsOverFMUs.mos (diff) The file was modified
OMEdit/OMEditLIB/Plotting/VariablesWidget.cpp (diff)
Commit
9405381f6388069780fea68519a65ea9e1faaa32
by Östlund Per Remove DAE.STMT_FOR index and DAE.CREF_ITER (#8599) - The index in DAE.STMT_FOR and the DAE.CREF_ITER cref type are not generated anywhere in the compiler. They were used by a previous attempt at a new frontend which was scrapped a long time ago, and keeping them is unnecessary and confusing. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/FindZeroCrossings.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Algorithm.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Inline.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ComponentReference.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAEDump.mo (diff) The file was modified
OMCompiler/Compiler/Template/SimCodeTV.mo (diff) The file was modified
OMCompiler/Compiler/Template/ExpressionDumpTpl.tpl (diff) The file was modified
OMCompiler/Compiler/BackEnd/HpcOmMemory.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/RemoveSimpleEquations.mo (diff) The file was modified
OMCompiler/Compiler/Template/VisualXMLTplTV.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAEUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/InstUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAE.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/ReduceDAE.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Expression.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/Differentiate.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVarTransform.mo (diff) The file was modified
OMCompiler/Compiler/Template/ExpressionDumpTV.mo (diff) The file was modified
OMCompiler/Compiler/Util/VarTransform.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/PrefixUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Patternm.mo (diff)
Commit
4167a56c73292b452169ddf476d3c2fcff1683f7
by Östlund Per Fix some compilation warnings (#8601) - `QString::null` is obsolete, use `QString()` instead. - `QImageWriter::setDescription()` is obsolete, use `QImageWriter::setText()` instead. - Don't ignore the return value of `QString::simplified()`, it doesn't change the string but returns a new string. The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/commandcompletion.cpp (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/commandunit.h (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/notebook.cpp (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/graphcell.cpp (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/cellgroup.h (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/cellcursor.h (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/celldocument.cpp (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/notebookcommands.h (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/latexcell.cpp (diff) The file was modified
OMShell/OMShell/OMShellGUI/oms.cpp (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/textcell.cpp (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/cellapplication.cpp (diff) The file was modified
OMShell/OMShell/OMShellGUI/commandcompletion.cpp (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/inputcell.cpp (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/cellfactory.cpp (diff) The file was modified
OMNotebook/OMNotebook/OMNotebookGUI/cell.h (diff) The file was modified
OMShell/OMShell/OMShellGUI/commandunit.h (diff)
Commit
749337c5d8723da85abd82ef58328c76b177e9af
by Mahder Gebremedhin Add the mingw directories to the FFI search paths. (#8602) - We can also do the same and cover linux triplets like x86_64-linux. For now this is what is needed to handle libraries in Resources/Library/mingw(32/64). - See discussions in #8596 The file was modified
OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff) The file was modified
doc/UsersGuide/source/dataReconciliation.rst (diff) The file was added doc/UsersGuide/source/media/dataReconciliationResult_2.png The file was added doc/UsersGuide/source/media/dataReconciliationResult.png The file was added doc/UsersGuide/source/media/dataReconciliationResult_4.png The file was added doc/UsersGuide/source/media/dataReconciliationcsvinput.png The file was removed doc/UsersGuide/source/media/datareconciliation_csv_report.png The file was removed doc/UsersGuide/source/media/datareconciliation_Inputfile.png The file was removed doc/UsersGuide/source/media/datareconciliationSplitter_Input.png The file was removed doc/UsersGuide/source/media/datareconciliation_htmlreport.png The file was added doc/UsersGuide/source/media/dataReconciliationResult_3.png The file was removed doc/UsersGuide/source/media/datareconciliation_simulationFlag.png The file was removed doc/UsersGuide/source/media/datareconciliation_ResultDirectory.png The file was added doc/UsersGuide/source/media/dataReconciliationcorrelationcsvinput.png The file was removed doc/UsersGuide/source/media/datareconciliation_resimulate.png The file was added doc/UsersGuide/source/media/dataReconciliationsplitter.png The file was removed doc/UsersGuide/source/media/datareconciliation_translationFlag.png The file was added doc/UsersGuide/source/media/dataReconciliationsplittercomponent.png The file was added doc/UsersGuide/source/media/boundaryConditionResults.png The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/perform_simulation.c.inc (diff)
Commit
164b90d287c3a3a319dcef4649e991c00e9707cd
by adeel.asghar Preserve the DynamicSelect when the graphical primitives are updated (#8605) * Preserve the DynamicSelect when the graphical primitives are updated Fixes #8593 * Use the Expression class toQString. Test state to check for DynamicSelect * Updated remaining attributes of graphical primitives The file was modified
OMEdit/OMEditLIB/Annotations/BitmapAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/DynamicAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/DynamicAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/RectangleAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/EllipseAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/TextAnnotation.cpp (diff)
Commit
d4f0a2b2ad5693a8958d117311759fc33a15769f
by Kiel Henning clean up enum handling (#8589) * clean up enum handling a bit * supply default start value for params in SimCode This is only a workaround. Missing start value for parameters is detected and corrected in Backend, but lost on the way to SimCode. * expected output The file was modified
testsuite/simulation/modelica/initialization/parameters.mos (diff) The file was modified
testsuite/openmodelica/cruntime/xmlFiles/testxmlInitForChangeableparameter.mos (diff) The file was modified
OMCompiler/Compiler/FrontEnd/StateMachineFlatten.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAEUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ConnectUtil.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Types.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/Initialization.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Expression.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc (diff) The file was modified
OMCompiler/Compiler/Util/Flags.mo (diff) The file was modified
OMSimulator (diff) The file was modified
OMSimulator (diff)
Commit
dff64f6f3c955cb42eaab86f7d4290cfa7fd86dd
by 38032125+kabdelhak Jacobian Update for the new Backend (#8616) * [BE] solving module and alias components * [NB] move solve to modules * [NB] use slice structure in strong component * [NB] update sparsity pattern * [NB] remove unused ASSC for now * [Util] add sanity to table size instead of fail * [NSimCode] update jacobian and sparsity - [NB/NS] unify jacobian and sparsity pattern of NLS and Simulation - [NS] update simcode creation in general - [NB/NS] add alias components - [NS] ToDo: actually use NLS jacobians and sparsity pattern The file was modified
OMCompiler/Compiler/Util/BaseHashTable.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBSystem.mo (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimJacobian.mo (diff) The file was modified
OMCompiler/Compiler/NSimCode/HashTableSimCode.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/RSE2.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/partitioning.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/helloWorld.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/minimalTearing.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBPartitioning.mo (diff) The file was modified
OMCompiler/Compiler/Util/FlagsUtil.mo (diff) The file was modified
OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBBackendUtil.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBTearing.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBDAEMode.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/eventSystem.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/simpleNonlinearLoop.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBResolveSingularities.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/implicitEquation.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/underdetermined_init.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBEvents.mo (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimStrongComponent.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff) The file was added OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBSolve.mo The file was modified
OMCompiler/Compiler/NSimCode/NSimVar.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/NBModule.mo (diff) The file was removed OMCompiler/Compiler/NBackEnd/Util/NBSolve.mo The file was modified
testsuite/simulation/modelica/NBackend/array_handling/exemplary.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was modified
OMCompiler/Compiler/Util/Flags.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff) The file was modified
OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimCode.mo (diff)
Commit
76e1b9239ff24605480aeabe4fb79ddf32e7b7c2
by 38032125+kabdelhak [janitor] cleanup NSimCode (#8621) * [janitor] cleanup NSimCode - replace deprecated HashTable with UnorderedMap - change sparsity pattern generation to have more intuitive interface * [testsuite] add array handling cases for NB [NB] small fix updating sliced equation solve status The file was modified
OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimJacobian.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/array_handling/irregular_for.mos (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimStrongComponent.mo (diff) The file was modified
OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake (diff) The file was added testsuite/simulation/modelica/NBackend/array_handling/Makefile The file was removed testsuite/simulation/modelica/NBackend/array_handling/slice_for.mos The file was modified
testsuite/simulation/modelica/NBackend/array_handling/exemplary.mos (diff) The file was removed OMCompiler/Compiler/NSimCode/HashTableSimCode.mo The file was modified
testsuite/simulation/modelica/NBackend/array_handling/diagonal_slice_for.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/array_handling/simple_for.mos (diff) The file was added OMCompiler/Compiler/NSimCode/NSimCodeUtil.mo The file was modified
testsuite/Makefile (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/array_handling/simple_nested_for.mos (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimCode.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBSolve.mo (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.h (diff) The file was modified
OMEdit/OMEditLIB/Plotting/PlotWindowContainer.cpp (diff) The file was modified
OMEdit/OMEditLIB/Element/CornerItem.cpp (diff) The file was modified
OMEdit/OMEditLIB/Element/Element.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/DynamicAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Element/Element.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/DynamicAnnotation.h (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Plotting/DiagramWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/Plotting/DiagramWindow.h (diff) The file was modified
OMEdit/OMEditLIB/Plotting/VariablesWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/Annotations/ShapeAnnotation.h (diff)
Commit
6260b81ca0127069f322bd332d7817d3dd660826
by Östlund Per Fix some issues with Connections.uniqueRootIndices (#8622) - Check that the first two arguments are actually arrays. - Actually append the default value for the third argument when the argument is omitted. - Fix the evaluation of the operators so that it doesn't assume the arguments have been expanded and fails without error otherwise. The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFOCConnectionGraph.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/dae_mode.c (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
testsuite/omsimulator/testLoopsOverFMUs.mos (diff) The file was modified
OMSimulator (diff) The file was modified
doc/UsersGuide/source/dataReconciliation.rst (diff) The file was modified
doc/UsersGuide/source/dataReconciliation.rst (diff) The file was modified
OMSimulator (diff)
Commit
005129cd644f212cee98b9e5627196f1dace4313
by 38032125+kabdelhak [NB] use function derivative annotation (#8629) * [NB] use function derivative annotation - when differentiating a function use the derivative annotation if one is given - [better logs] show actual component of alias components in logs * [NB] function differentiation update - handle inner derivatives of functions more cleanly and equally - rework differentiation module structure and rename funtions - update testsuite The file was modified
testsuite/simulation/modelica/NBackend/array_handling/simple_for.mos (diff) The file was modified
testsuite/Makefile (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBSolve.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinFuncs.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/array_handling/irregular_for.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/eventSystem.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunctionDerivative.mo (diff) The file was added testsuite/simulation/modelica/NBackend/functions/Makefile The file was modified
testsuite/simulation/modelica/NBackend/array_handling/diagonal_slice_for.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo (diff) The file was added testsuite/simulation/modelica/NBackend/functions/function_annotation_der.mos The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/array_handling/exemplary.mos (diff) The file was added testsuite/simulation/modelica/NBackend/functions/builtin_functions.mos The file was modified
testsuite/simulation/modelica/NBackend/simpleNonlinearLoop.mos (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimCode.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/array_handling/simple_nested_for.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/partitioning.mos (diff) The file was modified
.github/ISSUE_TEMPLATE/first_bug_report.md (diff) The file was modified
.github/ISSUE_TEMPLATE/bug_report.md (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunctionDerivative.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBuiltinFuncs.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/builtin_functions.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/Tearing.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/kinsolSolver.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation_data.h (diff) The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff) The file was modified
OMCompiler/Compiler/BackEnd/Initialization.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/synchronous.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/ida_solver.c (diff) The file was modified
OMCompiler/Compiler/FrontEnd/Expression.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/linearSolverKlu.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/nonlinearSystem.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/simulation_input_xml.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/dassl.c (diff) The file was modified
OMCompiler/Compiler/BackEnd/CommonSubExpression.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/linearSystem.c (diff) The file was modified
OMCompiler/Compiler/FrontEnd/DAE.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/linearSolverLis.c (diff) The file was modified
OMCompiler/Compiler/BackEnd/ExpressionSolve.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/SynchronousFeatures.mo (diff) The file was modified
OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFClockKind.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/Differentiate.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/linearSolverUmfpack.c (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEOptimize.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/model_help.c (diff) The file was modified
OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp (diff) The file was modified
OMEdit/OMEditLIB/Element/CornerItem.cpp (diff) The file was modified
OMCompiler/Compiler/Util/System.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScript.mo (diff) The file was modified
OMCompiler/Compiler/Script/Interactive.mo (diff) The file was modified
OMCompiler/Compiler/runtime/systemimpl.c (diff) The file was modified
OMCompiler/SimulationRuntime/c/gc/omc_gc.h (diff)
Commit
173238768cd8a3a7b4468a3ea1f3722c79147800
by 38032125+kabdelhak [NB] add function and algorithm differentiation (#8644) * [NB] add function and algorithm differentiation - algorithms and statements are differentiated properly - functions and function bodys are differentiated - recursion is handled - multiple occurences are handled - ToDo: strip interface variables such that only continuous are differentiated * [NB] improve function differentiation 1. if the function is builtin -> use hardcoded logic 2. if the function is not builtin -> check if there is a 'fitting' derivative defined. - 'fitting' means that all the zeroDerivative annotations have to hold 2.1 fitting function found -> use it 2.2 fitting function not found -> differentiate the body of the function ToDo: respect the 'order' of the derivative when differentiating! The file was added testsuite/simulation/modelica/NBackend/functions/function_diff.mos The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunctionDerivative.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/function_annotation_der.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComponent.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/Makefile (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBSolve.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBBackendUtil.mo (diff)
Commit
0b2db458d63a820689652b3f34089392af9284d5
by Östlund Per Improve 55f5d0dd (#8653) - Only activate System.loadModelCallBack when loading dependencies due to uses-annotations or implicit usage. - Add the name of the model that was loaded to the callback. - Clean up CevalScript.loadModel. - Rename some error messages so they make some sense: * LOAD_MODEL => LOAD_MODEL_FAILED * NOTIFY_NOT_LOADED => NOTIFY_LOAD_MODEL_DUE_TO_USES The file was modified
OMCompiler/SimulationRuntime/c/gc/omc_gc.h (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScript.mo (diff) The file was modified
OMCompiler/Compiler/runtime/systemimpl.c (diff) The file was modified
OMCompiler/Compiler/Script/Interactive.mo (diff) The file was modified
OMCompiler/Compiler/Util/System.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFLookup.mo (diff) The file was modified
OMCompiler/Compiler/Util/Error.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/synchronous.c (diff) The file was added testsuite/simulation/modelica/synchronous/EventSubClock.mos The file was added testsuite/simulation/modelica/synchronous/EventSubClock.mo The file was modified
testsuite/simulation/modelica/synchronous/Makefile (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/simulation_runtime.cpp (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/dae_mode.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/perform_simulation.c.inc (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/dae_mode.c (diff) The file was modified
OMCompiler/Compiler/Template/CodegenC.tpl (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/perform_simulation.c.inc (diff)
Commit
f3f30d9421329a4b9d9ee60af5a74185b08df137
by 38032125+kabdelhak [NB] proper adjacency matrix types + janitor (#8651) - change adjacency matrix types to: 1. LINEAR - only allows linear occurences (e.g. state selection) 2. SOLVABLE - only allows solvable occurences (e.g. matching) 3. FULL - allows all occurences (e.g. sorting) - [janitor] remove unused ordering stuff because matching is always done in multiple steps if something has to be prefered in the matching process The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBPartitioning.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBCausalize.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBResolveSingularities.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBAdjacency.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBEvents.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/NBModule.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBMatching.mo (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.h (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.h (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff) The file was modified
OMCompiler/Compiler/runtime/systemimpl.c (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff)
Commit
1597fe0ea3fac8eb6907caf9203ae0edd8275022
by Östlund Per Fix Interactive.evaluateGraphicalApi_dispatch (#8662) - Have all API functions update the Absyn themselves if needed, instead of trusting that they return the updated Absyn. Since e.g. the NF can load libraries on demand we don't always know if the Absyn was changed or not, and setting it at the end of evaluateGraphicalApi_dispatch can overwrite any changes made. The file was modified
OMCompiler/Compiler/Script/Interactive.mo (diff) The file was modified
OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.h (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/ida_solver.c (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was added testsuite/flattening/modelica/scodeinst/InnerOuter10.mo The file was modified
testsuite/flattening/modelica/scodeinst/Makefile (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff)
Commit
9fb3a7de25b7b2e3286a3e7c4751606fe7ce6205
by 38032125+kabdelhak New backend events (#8659) * WIP handle pre initialization * [NB] update event handling - collect zero crossings from all expressions (ToDo: algorithms) - small update to LBINARY stuff (RSE, Solve) - For now keep all discrete stuff for initialization -> ToDo: remove when equations and discretes solved in such? * [testsuite] add and move NB event test files * [janitor] add comments and indentation The file was added testsuite/simulation/modelica/NBackend/event_handling/Makefile The file was added testsuite/simulation/modelica/NBackend/event_handling/eventSystem.mos The file was removed testsuite/simulation/modelica/NBackend/eventSystem.mos The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBAdjacency.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBSolve.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFBackendExtension.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBEvents.mo (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimVar.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBRemoveSimpleEquations.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBMatching.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/minimalTearing.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFStatement.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/builtin_functions.mos (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFOperator.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBCausalize.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/Makefile (diff) The file was added testsuite/simulation/modelica/NBackend/event_handling/hybridSys.mos The file was added testsuite/simulation/modelica/NBackend/event_handling/hybridSys.mo The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBPartitioning.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.h (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.h (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/InstallLibraryDialog.cpp (diff)
Commit
de8cb1ebd54f01d229073828bbc3c727f3f272a0
by 38032125+kabdelhak [NB] update initialization (#8672) - fixed discrete states create $PRE.d = $START.d - balance initialization creates $PRE.d = $START.d for unmatched pre vars - balance initialization creates d = $PRE.d for unmatched discrete states The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/event_handling/hybridSys.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBPartitioning.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/underdetermined_init.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/event_handling/eventSystem.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBResolveSingularities.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBCausalize.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff) The file was modified
OMCompiler/Compiler/Script/PackageManagement.mo (diff) The file was modified
OMCompiler/Compiler/Parsers/JSON.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFPrefixes.mo (diff) The file was modified
testsuite/openmodelica/bootstrapping/JSONParser.mos (diff) The file was modified
OMCompiler/Compiler/Script/NFApi.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff) The file was modified
OMCompiler/Compiler/Util/UnorderedMap.mo (diff) The file was modified
OMCompiler/Compiler/Util/Vector.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/spatialDistribution.c (diff) The file was modified
OMCompiler/Compiler/BackEnd/Initialization.mo (diff)
Commit
dd4e4ae3720d2191e0b9f7c6fc323efc37dc086f
by Mahder Gebremedhin Explicitly specify the current directory to cover <> includes. (#8678) - Libraries can include some of the header files we provide using `<>` instead of `""`. Make sure the current directory is specified explicitly in the preprocessor flags. - Fixes #8640 The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFAlgorithm.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/ida_solver.c (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff) The file was modified
OMPlot/OMPlot/OMPlotGUI/Plot.cpp (diff) The file was modified
OMEdit/OMEditLIB/Plotting/VariablesWidget.cpp (diff) The file was modified
OMPlot/OMPlot/OMPlotGUI/PlotWindow.cpp (diff) The file was modified
OMPlot/OMPlot/OMPlotGUI/OMPlot.h (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo (diff) The file was modified
OMCompiler/Compiler/Script/NFApi.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff) The file was modified
OMCompiler/Compiler/Parsers/JSON.mo (diff)
Commit
267eb57b8cce107510255bdf14f3fb0cfb821502
by Mahder Gebremedhin Add a modified version of Intel TBB to OpenModelica (#8685) * Add a modified version of Intel TBB to OpenModelica - Intel's TBB is used for handling threading functionality for the automatic parallelization of simulation by OpenModelica, a.k.a., _parmodauto_ - It has been modified from its original version. The modified version uses the Boehm GC garbage collector of OpenModelica to perform the low lever thread primitive operations such as launching a new thread from the OS. This creates some complications but it is not optional. To work with simulation code generated by OpenModelica, any tool/library that creates threads has to be modified to go through the garbage collector. * Add a C++ json reader from nlohmann/json. - Taken from https://github.com/nlohmann/json. We should proably have this as part of our 3rdParty. Or any other C++ json parser. For now it is only needed by parmodauto. The file was modified
OMCompiler/Makefile.common (diff) The file was modified
OMCompiler/Makefile.in (diff) The file was modified
OMCompiler/SimulationRuntime/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/ParModelica/auto/Makefile.omdev.mingw (diff) The file was added OMCompiler/SimulationRuntime/ParModelica/auto/json.hpp The file was modified
OMCompiler/SimulationRuntime/ParModelica/auto/Makefile.in (diff) The file was modified
OMCompiler/SimulationRuntime/ParModelica/CMakeLists.txt (diff) The file was modified
OMCompiler/3rdParty (diff) The file was modified
OMCompiler/SimulationRuntime/ParModelica/auto/CMakeLists.txt (diff) The file was modified
OMCompiler/configure.ac (diff)
Commit
44260a120307987c46b3469706bb3ea54408e2e9
by Mahder Gebremedhin Add initial testcases for automatic parallelization. (#8688) - These testcases are not here to test parallelization performance or speedup. Their purpose is to make sure that compilation and simulation with automatic parallelization enabled (--parmoduato) does not break due to changes. The file was added testsuite/simulation/modelica/parmodauto/Modelica.Electrical.Analog.Examples.CauerLowPassSC.mos The file was added testsuite/simulation/modelica/parmodauto/Modelica.Fluid.Examples.BranchingDynamicPipes.mos The file was modified
testsuite/Makefile (diff) The file was added testsuite/simulation/modelica/parmodauto/Makefile The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff)
Commit
cbb0199dc2169b207e13d65719974d789dfa48be
by Mahder Gebremedhin Fix and generalize dependency analysis for algorithms. (#8689) - It was not handling multi-statement algorithms properly. Use `Expression.extractUniqueCrefsFromStatmentS` which will collect all the lhs and rhs crefs by traversing all statements in a list. The file was modified
OMCompiler/Compiler/SimCode/SerializeTaskSystemInfo.mo (diff)
Commit
de7d751bde3c7b569e9381d51cbee7a17efaf779
by Hannebohm Philip [NB] Fix differentiation of functions (#8681) - don't skip discrete Reals when removing inputs from interface - add unique index for generated derivaties - append generated derivatives after user derivatives - fix printing order of derivative and inverse annotation - extend testsuite The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/function_annotation_der.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/function_diff.mos (diff) The file was modified
OMCompiler/Compiler/BackEnd/FindZeroCrossings.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunctionDerivative.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/meta/meta_modelica_builtin.c (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAE.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFAlgorithm.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAECreate.mo (diff) The file was modified
OMCompiler/Compiler/Util/omc_file_ext.h (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDump.mo (diff)
Commit
8bb0b0bbffe264003588da9621cc666c988a853c
by adrian.pop fix #7354 Modelica Integer parsing, displaying and div on Windows 64bit (#8691) - on Windows 64bit we use long long int for integers - use strtoll in the parser - use lld format to print - use lldiv for integer division - add test The file was modified
OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff) The file was modified
OMCompiler/Compiler/Util/FlagsUtil.mo (diff) The file was added testsuite/simulation/modelica/types/IntegerTest.mo The file was modified
testsuite/simulation/modelica/types/Makefile (diff) The file was modified
OMCompiler/Compiler/Main/Main.mo (diff) The file was modified
OMCompiler/Compiler/Util/Config.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/simulation/solver/model_help.c (diff) The file was modified
OMCompiler/Compiler/Util/Flags.mo (diff) The file was modified
OMCompiler/SimulationRuntime/c/util/modelica_string.c (diff) The file was added testsuite/simulation/modelica/types/IntegerTest.mos The file was modified
OMCompiler/SimulationRuntime/c/openmodelica_types.h (diff) The file was modified
OMCompiler/Parser/Modelica.g (diff) The file was modified
OMParser/Makefile (diff) The file was modified
OMCompiler/.gitignore (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBCausalize.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/minimalTearing.mos (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimJacobian.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBBackendUtil.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimStrongComponent.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBInitialization.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/array_handling/Makefile (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBTearing.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/simpleNonlinearLoop.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBSlice.mo (diff) The file was added testsuite/simulation/modelica/NBackend/array_handling/simple_der_for.mos The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/builtin_functions.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/1_Main/NBAdjacency.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/underdetermined_init.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/partitioning.mos (diff) The file was modified
OMCompiler/Compiler/runtime/settingsimpl.c (diff) The file was modified
testsuite/omsimulator/Makefile (diff) The file was modified
OMCompiler/Compiler/Template/CodegenFMU.tpl (diff) The file was added testsuite/omsimulator/Issue_FMU_update_vars.mos The file was modified
OMCompiler/Compiler/Util/System.mo (diff) The file was modified
OMCompiler/Compiler/runtime/System_omc.c (diff)
Commit
d30cc419c542e228aa75dbe85e4f3483bb7bdda6
by 38031952+AnHeuermann Source-code-fmus on Windows using CMake (#8698) * Adding CMakeLists.txt.in to compile source-code FMUs * Cross-compiling on Windows will automatically use CMake build instead of autotools build * Added compiler flag `--fmuCMakeBuild` to force enabeling or disabeling CMake build * Added test case The file was added testsuite/special/FmuExportCrossCompile/CMakeCrossCompile.mos The file was modified
OMCompiler/SimulationRuntime/fmi/export/buildproject/CMakeLists.txt (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/buildproject/Makefile.in (diff) The file was modified
OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff) The file was modified
OMCompiler/Compiler/Util/Flags.mo (diff) The file was added OMCompiler/SimulationRuntime/fmi/export/buildproject/CMakeLists.txt.in The file was modified
testsuite/special/FmuExportCrossCompile/Makefile (diff) The file was modified
OMCompiler/Compiler/Util/FlagsUtil.mo (diff) The file was modified
OMCompiler/SimulationRuntime/fmi/export/buildproject/Makefile.omdev.mingw (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/HpcOmTaskGraph.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/ResolveLoops.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff) The file was modified
OMCompiler/Compiler/BackEnd/Matching.mo (diff) The file was added OMPlot/OMPlot/OMPlotGUI/LinearScaleEngine.cpp The file was modified
OMPlot/OMPlot/OMPlotGUI/PlotWindow.cpp (diff) The file was modified
OMPlot/OMPlot/OMPlotGUI/Plot.cpp (diff) The file was modified
OMPlot/OMPlot/OMPlotGUI/CMakeLists.txt (diff) The file was added OMPlot/OMPlot/OMPlotGUI/LinearScaleEngine.h The file was modified
OMPlot/OMPlot/OMPlotGUI/OMPlotGUI.pro (diff) The file was modified
OMPlot/OMPlot/OMPlotGUI/OMPlot.h (diff) The file was modified
OMPlot/OMPlot/OMPlotGUI/OMPlotLib.pro (diff)
Commit
40544b0820ee7921a602ab64589f6161e2d1b888
by 38032125+kabdelhak [NB] update jacobians (#8708) - have jacobian structure based on strong components rather than equations -> leads to mainting the original matching, no rematching required -> easier simcode generation - remove unused functions - fixes unsolved jacobian equations problem The file was modified
testsuite/simulation/modelica/NBackend/functions/function_annotation_der.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/minimalTearing.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/builtin_functions.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBRemoveSimpleEquations.mo (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimStrongComponent.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimJacobian.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBTearing.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/function_diff.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/simpleNonlinearLoop.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBSystem.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/array_handling/simple_der_for.mos (diff) The file was added testsuite/simulation/modelica/others/unitConvertTests.mos The file was modified
testsuite/simulation/modelica/others/Makefile (diff) The file was modified
OMCompiler/Compiler/runtime/unitparser.cpp (diff)
Commit
fbe19ea68f2b6afe44bda686065df76f7878e00a
by 38032125+kabdelhak [NB] implement sparsity coloring (#8711) - implement greedy distance 2 algorithm from 'what color is your jacobian?' publication - currently only uses column compression - idea for row compression also implemented -> currently not used but computed and printed out (constant time so not a deal) -> does not consider indirect row dependencies through inner equations, needs to be added! The file was modified
testsuite/simulation/modelica/NBackend/minimalTearing.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimJacobian.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/array_handling/simple_der_for.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/builtin_functions.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/simpleNonlinearLoop.mos (diff)
Commit
251b621ed379786f2350a5568d1f5e87d1268b04
by 38032125+kabdelhak [NB] switch back to numeric jacobian default (#8714) - tests have shown that the symbolic jacobian is slower for big systems even with proper coloring - reactivates numeric jacobian as default (with coloring) just as the old backend - symbolic jacobian can be activated with --generateSymbolicJacobian (also just as OB) The file was modified
testsuite/simulation/modelica/NBackend/functions/builtin_functions.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/function_diff.mos (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/function_annotation_der.mos (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimJacobian.mo (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/array_handling/simple_der_for.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo (diff) The file was modified
OMCompiler/Compiler/NSimCode/NSimJacobian.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/functions/builtin_functions.mos (diff) The file was modified
OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo (diff) The file was modified
testsuite/simulation/modelica/NBackend/array_handling/simple_der_for.mos (diff)
Commit
1d96e425c05ca0680cd43a4e2b395a2c75005e68
by adeel.asghar Improve handling of MSL (#8720) Change the order of priority of MODELICAPATH, so it looks in the APPDATA directory first, and then in the omlibrary as a fallback option. Remove initial splash screen with obsolete library explanation. Do not load any library by default. Do not load OpenModelica. We have a nice online documentation for the scripting API. Improved the libraries settings dialog to add system libraries to load startup. Allow changing the ModelicaPath The file was modified
OMCompiler/Compiler/runtime/settingsimpl.c (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.h (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.h (diff) The file was modified
OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.h (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.cpp (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.h (diff) The file was modified
OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff)
Commit
43ea3e43b2d4ddcbddad32bb257f057da600f8fc
by Mahder Gebremedhin Pass all flags from the bat file to the executable. (#8721) - On Windows we use a bat file. Some operations, e.g. linearize API, want to launch the model with specific flags straight from omc. Simply pass all flags passed to the bat file directly to the executable. - Fixes #8717. The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.h (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMEdit/OMEditLIB/Util/Helper.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/InstallLibraryDialog.h (diff) The file was modified
OMEdit/OMEditLIB/Modeling/InstallLibraryDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.h (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.h (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.h (diff) The file was modified
OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp (diff) The file was modified
OMEdit/OMEditLIB/MainWindow.cpp (diff) The file was modified
OMParser/Makefile (diff)
Commit
83e39cb5ddfaa06aefd1deb6880d25a7bd44ac37
by Mahder Gebremedhin Fix build for clang 3.8 on debian stretch. (#8725) - The json reader (v3.10.5) added for parmodlica does not compile with clang < 4.0. Downgrade it to v3.10.3 which compiles fine and provides everything we needed anyway. Upstream issue: https://github.com/nlohmann/json/issues/3384 The file was modified
OMCompiler/SimulationRuntime/ParModelica/auto/json.hpp (diff)
Commit
fa7189b918334eccb1443ff633614667069125e2
by Östlund Per Improve dumping of flat types (#8727) - Make sure bindings in record types have been typed before dumping. - Replace AvlTree with UnorderedMap in FlatModel.collectFlatTypes. - Remove unused component argument in Typing.typeBindings. Fixes #8692 The file was modified
OMCompiler/Compiler/Script/NFApi.mo (diff) The file was added testsuite/openmodelica/flatmodelica/SimpleCoolingCycle.mo The file was modified
OMCompiler/Compiler/NFFrontEnd/NFFlatModel.mo (diff) The file was modified
OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff) The file was modified
testsuite/openmodelica/flatmodelica/Makefile (diff) The file was modified
OMEdit/OMEditLIB/Modeling/ModelicaClassDialog.cpp (diff) The file was modified
OMEdit/OMEditLIB/Editors/BaseEditor.cpp (diff) The file was modified
OMEdit/OMEditLIB/Modeling/DocumentationWidget.h (diff)
Commit
400496de623c410d61aa2933fee7db93de4ad46f
by Mahder Gebremedhin Prevent addition of duplicate expanded variables. (#8734) - The initialization DAE creates some duplicate variables (from the normal DAE) for its own purposes. These variables were getting added twice due to the fact that they were unexpanded arrays that are expanded when simcode is being created. The creation uses the name of the variables for identification. However, since the variables arrive as non-expanded arrays and then get added after expansion (subscripted names) the check did not catch that the array was expanded and added already. Add the name of the whole array to the hashtable so that it can be detected and skipped. - Fixes #8418. The file was modified
OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff)
Commit
480e8f60b91c6df1976714afb20d005150b35ec6
by Östlund Per Fix some compiler warnings in OMPlot (#8736) - Add missing return in Plot::getXLinearScaleEngine/getYLinearScaleEngine. - Replace deprecated QPrinter::setOrientation with QPrinter::setPageOrientation. The file was modified
OMPlot/OMPlot/OMPlotGUI/OMPlot.h (diff) The file was modified
OMPlot/OMPlot/OMPlotGUI/PlotWindow.cpp (diff)
Commit
ba24aff71b93ecfa7696551c2133f77882bd5c66
by Östlund Per Improve library loading for conversion (#8735) - Only load the library to convert to if it isn't already loaded. - Try to set the language standard to the version needed to load the library to convert to, in case another version was already loaded with a different language standard. The file was modified
OMCompiler/Compiler/Util/Config.mo (diff) The file was modified
OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff) The file was modified
libraries (diff)