Skip to content

Changes

Summary

  1. Fix issue #7848 (#7856) (details)
  2. [cmake] Complete linking of libOpenModelicaFMIRuntimeC. (details)
  3. [cmake] Link to libdl and libomcmemory. (details)
  4. Specify static fmu linking flags using config. (details)
  5. [cmake] Link simulation exe to zlib explicitly. (details)
  6. [janitor] Fix formatting and typos (#7932) (details)
  7. [cmake] Prefer static versions of the libraries. (details)
  8. Remove embedded Bstatic and Bdynamic flags. (details)
  9. Set C++17 in OMEditLib (#7937) (details)
  10. Added msvc19 to the build targets (#7915) (details)
  11. fix modelprefix name and output path for dataReconciliation report (#7938) (details)
  12. Add papers from Modelica 2021 (#7942) (details)
  13. Restructure and organize source code FMU handling (details)
  14. [cmake] Update source FMU config. (details)
  15. [macOS] copy also version specific library (#7943) (details)
  16. Remove "using namespace std" in OMEdit header (#7940) (details)
  17. Change sundials install directory. (details)
  18. Minor formatting for sundials recipe. (details)
  19. Add article from Biosystems 2021 (#7950) (details)
  20. Fix #7945. Do not dereference NULL pointer. (#7948) (details)
  21. Improve handling of DynamicSelect in OMEdit (#7946) (details)
  22. Added test for Expression class (#7951) (details)
  23. Improve DynamicSelect handling in OMEdit (#7952) (details)
  24. Exposed Settings.getHomeDir as API function getHomeDirectoryPath (#7954) (details)
  25. Add more tests of the Expression class (#7955) (details)
  26. Update build-deps to v1.16.3 (new ca-certs) (#7957) (details)
  27. Use a newer docker image for cmake build (#7958) (details)
  28. Downgrade OMEditLIB to c++14 (#7956) (details)
  29. For now install kinsol_impl.h until #7959 is fixed (#7961) (details)
  30. [cmake] Generated dummy user table for StandardTable (details)
  31. [cmake] Initial config support for CPP runtime. (details)
  32. [cmake] Improve config support for CPP runtime. (details)
  33. Document Expression and fix some design issues (#7963) (details)
  34. Fix GDBMIParser (#7964) (details)
  35. Strip DynamicSelect where not yet supported (#7967) (details)
  36. Improve Expression class in OMEdit (#7968) (details)
  37. Implement DynamicSelect for more annotations (#7975) (details)
  38. [cmake] Improve CMake config for CPP runtime. (details)
  39. [cmake] Add static versions of CPP runtime libs. (details)
  40. [cmake] Add OMCppFMU library. (details)
  41. [cmake] Install CPP runtime FMU2 files. (details)
  42. [cmake] Assume we always have C++11 threads. (details)
  43. Fix constant evaluation in annotations (#7976) (details)
  44. Fix #7692 (#7977) (details)
  45. Minor refactoring of connection set handling (#7978) (details)
  46. New balance initialization (#7903) (details)
  47. [cmake] Fix 3rdParty install include dir specifiers. (details)
  48. Automatically load used libraries (#7980) (details)
  49. Use C++14 by default (#7965) (details)
  50. Fix memory leaks (#7981) (details)
  51. Clean OMSI build directories. (details)
  52. Use zlib from ModelicaExternalC. (details)
  53. [cmake] Install headers in include/omc. (details)
  54. Collect SuiteSparse headers in one directory. (details)
  55. Silence Sundails install messages. (details)
  56. [cmake] Configure from root OpenModelica. (details)
  57. Fix copy paste error. (details)
  58. Fix typo in PointAnnotation (#7988) (details)
  59. Fix the display of parameter values (#7991) (details)
  60. Return the element annotations for Access level icon (#7993) (details)
  61. Fix #7992. Actually declare the variables. (details)
  62. Fix unary expression in FlatModelica::Expression (#7995) (details)
  63. Keep compiler optimization for Cpp with g++ and clang++ (details)
  64. Do not fetch connections while loading the class (#8001) (details)
  65. Split Cpp initialization equations as already done for other equations (details)
  66. add preoptModule introduceOutputRealDerivatives (#7986) (details)
  67. Fix Windows build for zlib changes (#7989) (details)
  68. Limit steps of Cpp Newton solver in case of singular Jacobians (details)
  69. Add tests for PowerSystems library (details)
  70. Remove bad simlification e1/tanh(e2) --> e1*cosh(e1)/sinh(e2) (details)
  71. Fix wrong simplification cos/tan => sin to sin/tan => cos (details)
  72. Improve evaluation of records (#8007) (details)
  73. Improve conversion of imports (#8011) (details)
  74. Improve conversion of component references (#8013) (details)
  75. Always write a complete results file with Cpp runtime (details)
  76. fix missing separator (#8016) (details)
  77. Fix type table bug in Conversion (#8017) (details)
  78. Fix Cpp reduction for array, remove obsolete create/fill_array_from_shape (details)
  79. Fix Cpp reduction for record and add test (details)
  80. Fix library loading in Lookup (#8023) (details)
  81. Improve handling of graphical primitives with nfAPI (#8027) (details)
  82. Fix behaviour of StringHandler::getStrings (#8028) (details)
  83. Generate the antlr config header in the build dir. (details)
  84. Do not throw from runtime system. (details)
  85. Added GUI support for package manager (#7982) (details)
  86. Hide the protected variables from the variables browser (#8031) (details)
  87. Fix wrong list of dgesv sources. (details)
  88. [cmake] Install PDEModelicaBuiltin.mo (details)
  89. Propagate the inner modifier in redeclares (#8034) (details)
  90. Make hideResult optional in BackEnd, SimCode and model init XML (#8035) (details)
  91. Handle the new values of hideResult attribute (#8038) (details)
  92. Set hideResult flag for cse variables (#8037) (details)
  93. Improve type checking of bindings (#8040) (details)
  94. [C/DO]: fixed values for discrete variables stored in the section for real variables (#8036) (details)
  95. Refactor some non tail-recursive functions (#8041) (details)
  96. Add options --ignore-hide-result and -ignoreHideResult to Cpp runtime (details)
  97. Do not add extra message for checkModel call in Messages Browser (#8033) (details)
  98. Remove the extra message of instantiateModel (#8045) (details)
  99. fix: issue 7969 (#8030) (details)
  100. Remove trilinos nox solver as it is not used. (details)
  101. Fix #7767 (#8046) (details)
  102. fix authors for one paper, add another paper (#8047) (details)
  103. Initialize base_array member 'flexible'. (details)
  104. Re-evaluate access annotation when the class is edited in text view (#8053) (details)
  105. Implement dynamic StringAnnotation (#8056) (details)
  106. [cmake] Reorganize FMI runtime handling a bit more (details)
  107. [cmake] Initial simple support for OMSimulator. (details)
  108. Fix string escaping issues (#8058) (details)
  109. Set static expression when assigning new value (#8059) (details)
  110. Set user agent for libcurl (#8063) (details)
  111. [cmake] Multiple fixes for Windows build. (details)
  112. Do not use GKRegex. It is not compatible. (details)
  113. Fix graphstream define guard for x64. (details)
  114. Add Type suffix to records passed to external functions (issue #8054) (details)
  115. Never select CSE var as iteration var (#8049) (details)
  116. Escape the string when editing the text annotation (#8071) (details)
  117. Set current directory for license file when parsing encrypted library (#8072) (details)
  118. Fix #7835 (#8074) (details)
  119. Make it possible to set value in display unit (#8078) (details)
  120. Remove AbsynUtil.printComponentRefStr (#8077) (details)
  121. Update 3rdParty ModelicaExternalC sources (#8081) (details)
  122. Clean up AbsynUtil (#8079) (details)
  123. Give the error functions default values. (#8073) (details)
  124. Show a help message to select mingw when msvc compilation fails (#8085) (details)
  125. Fix evaluation of split and/or expressions (#8083) (details)
  126. Make OMCompiler-3rdParty contributions more clear (#8091) (details)
  127. Add missing commits. (#8093) (details)
  128. Removing unused KinsolLapack (details)
  129. Partition the partest tests into 3 jobs during CI (#8088) (details)
  130. Skip linking `-lm` for the detected lapack (#8089) (details)
  131. Fix #8094 (#8095) (details)
  132. Implement -d=printStructuralParameters for NF (#8096) (details)
  133. Update the Libraries Browser with CLI commands (#8100) (details)
  134. Fix Jenkins pipeline (#8113) (details)
  135. Remove whitespace at end of line in SCodeDumpTpl (#8106) (details)
  136. Try expanding non param variables as well. (#8019) (details)
  137. Don't change lambda when no homotpy should be used (#8109) (details)
  138. Use output path for nonlinear solver homotopy csv logging (#8107) (details)
  139. Set file permissions when decompressing zip-files (#8114) (details)
  140. Implement obfuscation feature for saveTotalModel (#8103) (details)
  141. Deduplicate code (#8108) (details)
  142. Never select CSE vars in minimalTearing (#8101) (details)
  143. Created a separate dialog for saveTotalModel api options (#8110) (details)
  144. Add the bin dir to link dirs on Windows. (details)
  145. [cmake] Remove the omcmemory library. (details)
  146. [cmake] Remove the Optimization library. (details)
  147. [cmake] Use Autoconf.mo.in for Windows as well. (#8121) (details)
  148. More Windows fixes. (#8123) (details)
  149. Add CMake to the CI image cache. (#8124) (details)
  150. Simplify for-statements more (#8117) (details)
  151. Ignore asserts while calling simulationUpdate() (#8118) (details)
  152. Implement new API function saveTotalModelDebug (#8126) (details)
  153. Let each nonlinear system select its own solver (#7933) (details)
  154. Fix convertPackage signature (#8112) (details)
  155. [cmake] define LINK_SUNDIALS_STATIC for static. (#8133) (details)
  156. Fix #8132 (#8134) (details)
  157. Use the common assignment templates for when eqs. (#8137) (details)
  158. Fix #8141 (#8142) (details)
  159. Use KLU for nlsLS if Kinsol is selected (details)
  160. Reduce -nlsMinSize default to 1000 (#8135) (details)
  161. Refactor sparse solver selection dumps (#8144) (details)
  162. Fix #8130 (#8145) (details)
  163. Update the root package text with uses annotation (#8139) (details)
  164. Use _event_floor in _event_mod_real (details)
  165. Fix #8131 (#8152) (details)
  166. Fix #8120 (#8140) (details)
  167. Add format string to generated infoStreamPrint (#8151) (details)
  168. Remove ModelicaExternalC linking from OMC (#8153) (details)
  169. Reorder some Jenkins tasks (#8155) (details)
  170. Remove linkage of ModelicaExternalC libraries. (#8159) (details)
  171. Added documentation about FMI options (#8156) (details)
  172. Reduce max density for sparse solver (details)
  173. Update testsuite (details)
  174. try to fix memory, see #8036 (details)
  175. force version of sphinxcontrib-bibtex (#8171) (details)
  176. Install OMSimulatorServer.py (#8173) (details)
  177. Remove Modelica ModelicaExternalC from 3rdParty.  (#8149) (details)
  178. Improve conversion script API (#8169) (details)
  179. Remove unused functions in Interactive (#8177) (details)
  180. Add no return attributes to disable warnings. (#8182) (details)
  181. Add cmake support for OMParser.  (#8186) (details)
  182. Delay zero crossing and event handling (#8150) (details)
  183. Don't print inline type in the flat model (#8188) (details)
  184. [Template] better indexing (#8189) (details)
  185. Clean directories before unstash (#8192) (details)
  186. Fix type attributes in functions (#8191) (details)
  187. Improve evaluation in ranges (#8203) (details)
  188. Do not copy libexpat.dll from OMDev. (#8202) (details)
  189. Add a DAE structure for initial for equations (#8205) (details)
  190. Add flag --dumpFlatModel (#8204) (details)
  191. Fix updating the element name (#8207) (details)
  192. Fix typo (#8208) (details)
  193. Convert the parameters to base unit when exporting to csv (#8212) (details)
  194. Hide previous(v) in the result file (#8209) (details)
  195. [janitor] Use string constants for var prefixes (#8213) (details)
  196. Flat Modelica fixes (#8215) (details)
  197. Improve flattening without scalarization (#8214) (details)
  198. Quote for-equation iterator in Flat Modelica (#8216) (details)
  199. Improve sorting of local function variables (#8218) (details)
  200. Handle functions returning enumerations. (#8196) (details)
  201. Add test for #8166. (#8223) (details)
  202. add a report button (#8185) (details)
  203. Make subscripting functions for -f optional (#8224) (details)
  204. Update package management section in the User's Guide (#8146) (details)
  205. Add CMake build support for qwt and OMPlot. (#8225) (details)
  206. Improve Flat Modelica output (#8231) (details)
  207. Output comments/annotations in Flat Modelica (#8232) (details)
  208. Issue 8061 (#8226) (details)
  209. Always use visible = true until #2081 is fixed (#8237) (details)
  210. Do not hard code the icon annotation visible attribute (#8238) (details)
  211. [cmake] Add CMake build support for OMShell (details)
  212. [cmake] Add CMake build support for OMNotebook (details)
  213. Use textColor instead of depreciated lineColor from FilledShape (#8246) (details)
  214. Redeclare improvements (#8249) (details)
  215. Improve saveTotalModelDebug (#8251) (details)
  216. Rename OMEdit's omc_config.h to omedit_config.h (#8252) (details)
  217. Fix platforms for FMU export (#8250) (details)
  218. Fix wrong include guard in C file for QT API generation. (details)
  219. Qualify some OMEdit header include directives. (details)
  220. [cmake] Improve handling of OMSimulator. (details)
  221. Fix class redeclaration issue (#8255) (details)
  222. [cmake] Add support for OMEdit. (details)
  223. Update the bootstrap source for GenerateAPIFunctionsTpl (details)
  224. Mark generated files as OUTPUTS. (details)
  225. Don't treat Clock as a reserved name (#8259) (details)
  226. ParModelica fixes for the new frontend (#8260) (details)
  227. Fix Clock for the old frontend (#8261) (details)
  228. Added documentation for install and convert library interfaces (#8263) (details)
  229. Fix initial environment when changing frontend (#8264) (details)
  230. Add CMake support libs-for-testing. (#8265) (details)
  231. Missing file from last commit (#8266) (details)
  232. Add the new sub elements like FMU, tables etc. at the cursor position (#8269) (details)
  233. Remove debug printing and report installed libs. (details)
  234. Fix typing of already typed binary expressions (#8274) (details)
  235. Use the cursor position also when adding system and connector (#8276) (details)
  236. Added a new interface for data reconciliation (#8257) (details)
  237. Add support for omc-diff and reference files. (#8277) (details)
  238. Evaluate subscripts in actualStream/inStream (#8278) (details)
  239. export relatedBoundaryConditions to html report (#8281) (details)
  240. Fix handling of function parameters of record type (#8288) (details)
  241. Rotate ringBuffer when step size zero (details)
  242. Fix generation of slice arrays in records. (#8289) (details)
  243. Fix handling of default function arguments (#8290) (details)
  244. Improve constraining modifiers on classes (#8298) (details)
  245. Parse `pure(...)` as a function call (#8295) (details)
  246. Link OMEditLib with Qt::svg. (details)
  247. [cmake] Build the non-default targets on Jenkins. (details)
  248. Implement pure() operator (#8300) (details)
  249. Handle function partial application in EvalFunction (#8302) (details)
  250. Handle array constructors in Call.unboxArgs (#8308) (details)
  251. Improve handling of previous() operator (#8301) (details)
  252. Adding noClock to NF getSpecialReturnType (#8314) (details)
  253. Improve handling of functional arguments (#8311) (details)
  254. [cmake] Add the testsuite-depends target. (#8315) (details)
  255. try to find and link the threads library (#8317) (details)
  256. Improve --dumpFlatModel (#8322) (details)
  257. Implement custom polymorphic types (#8323) (details)
  258. Vectorize bindings when using -d=-nfScalarize (#8267) (details)
  259. [NF] fix nested algorithm vectorization (#8326) (details)
  260. Simplify typing of builtin functions (#8329) (details)
  261. Cleanup codegen cref handling (#8328) (details)
  262. Clean up test cases (#8334) (details)
  263. Fix messages printed by the lib download script. (#8335) (details)
  264. Fix some uninitialized variable accesses (#8337) (details)
  265. Remove bad guard for synchronous operators (#8338) (details)
  266. Change sliced crefs to array constructors (#8339) (details)
  267. Classify Modelica as Modelica and Not Mokoto (#8346) (details)
  268. OPC UA terminate functionality (#8310) (details)
  269. add QStackedWidget for data Reconciliation Algorithm (#8354) (details)
  270. Do not expand slices in NF if targeting CPP runtime. (#8356) (details)
  271. revert the last OPC UA commit as it breaks the Windows builds (#8358) (details)
  272. implement fmi2SetRealInputDerivatives (#8357) (details)
  273. interpolate inputs with input_real_derivatives (#8364) (details)
  274. Remove unused code and unused target. (#8367) (details)
  275. validate dataReconciliation GUI (#8368) (details)
  276. check if mpLibraryTreeItem is not NULL as it can be when re-simulating (#8370) (details)
  277. Compile sundials as position independent code. (#8372) (details)
  278. check epsilon greater than 0 for dataReconciliation (#8375) (details)
  279. support for choices annotation in omc (#7487) (#7652) (details)
  280. Link to static versions of sundails for FMUs. (#8377) (details)
  281. Fixing Synchronous C-runtime implementation (#8324) (details)
  282. Use BUILD_TYPE for OMSimulator CMake build (#8378) (details)
  283. Refactor debug print of backenddaeinfo (#7790) (details)
  284. Use choice comment in dropdown #7488 (#8382) (details)
  285. Handle fill in ExpandExp (#8391) (details)
  286. Check for negative dimensions later (#8393) (details)
  287. Fix scope when mixing replaceable and inner/outer (#8394) (details)
  288. Fix handling of REAL_CLOCK (#8390) (details)
  289. Rename GC.mo to GCExt.mo. (#8395) (details)
  290. Improve subscripting of if-expressions (#8396) (details)
  291. Don't type outer components (#8398) (details)
  292. Export all symbols from libOpenModelicaCompiler. (#8399) (details)
  293. Improve typing of sum(A) and product(A) (#8400) (details)
  294. Fix importing of OMSimulatorLib for Windows. (#8401) (details)
  295. Silence parentheses-equality warning for clang. (#8402) (details)
  296. Handle inverse in dependency analysis (#8403) (details)
  297. Rename OMSimulator.mo to OMSimulatorExt.mo (#8404) (details)
  298. Check for _WIN32 instead of WIN32. (details)
  299. Make sure C math constants are set before using them (details)
  300. Add -DUNICODE to compilation of OMEDitLib. (#8410) (details)
  301. Remove check for `each` on scalars (#8409) (details)
  302. Fix homotopy depenency in initial equations (#8408) (details)
  303. Compile the resource files with the GUI executables (#8412) (details)
  304. Improve conditional array type handling (#8414) (details)
  305. Fix typing of crefs in record constructors (#8413) (details)
  306. Partially revert #8414 (#8420) (details)
  307. Revert cref typing fix that doesn't quite work (#8421) (details)
  308. Fix #8413 properly (#8422) (details)
  309. Modify the C flags not the CXX flags. Typo. (details)
  310. Handle linking of binutil's libbfd with OMEdit. (details)
  311. libbfd needs libintl and zlib. (details)
  312. Mark the qt clients as GUI executables. (details)
  313. Copy the element dimensions when duplicating (#8429) (details)
  314. Check restriction on class to be instantiated (#8430) (details)
  315. Improve TryExtends test case (#8431) (details)
  316. Ask for the name when duplicating the component (#8434) (details)
  317. fix --fmiFilter=blackBox and protected (#8433) (details)
  318. Further improve context check in typeCref (#8435) (details)
  319. [BE] fix ASSC pivoting (#8436) (details)
  320. Check if class exists before linearization. (#8417) (details)
  321. Allow looking up functions in nested components (#8444) (details)
  322. Define LINK_SUNDIALS_STATIC when compiling FMU sources (#8450) (details)
  323. Fixes for FMU generation on Windows with CMake built omc (#8451) (details)
  324. Fix names for nonlinear sparse solver flags (#8447) (details)
  325. Only try to read the profiling json file when profiling is on (#8467) (details)
  326. Clean up SCodeUtil.traverse* functions (#8468) (details)
  327. CMinpack in source-code FMUs (#8471) (details)
  328. Improve OF and NF checkModel (#8473) (details)
  329. [NF] update discrete variable verification (#8476) (details)
  330. Enable/Disable GUI and CPP runtime at configure time. (#8485) (details)
  331. Implement automatic component merging (#8490) (details)
  332. Install the CMinpack headers to the FMU sources dir (details)
  333. Install the dgesv headers to the FMU sources dir. (details)
  334. Install the configure script as executable. (#8493) (details)
  335. [CMake] do not build in each dir anymore. No need. (#8494) (details)
  336. Improve typing of crefs (#8495) (details)
  337. Install the required runtime dlls on MinGW. (#8496) (details)
  338. Documentation for OpenModelica CMake config. (#8497) (details)
  339. Fix Testsuite.friendly2 for cmake build (#8498) (details)
  340. Make rtest work with both cmake and autotools (#8499) (details)
  341. Fix import location of libOMSimulator. (#8502) (details)
  342. Make the installation dir of OMSimulator consistent (#8503) (details)
  343. Add dumping of name map for mergeComponents (#8505) (details)
  344. Check rational arithmetic for overflow (#8504) (details)
  345. Fix detection of discrete array variables (#8514) (details)
  346. Give an error for invalid unit expressions (#8518) (details)
  347. [FE] update unboxing for metamodelica (#8519) (details)
  348. [DO] added documentation from massimo ceraolo (#8068) (details)
  349. Warn about trailing whitespace in rtest baselining (#8526) (details)
  350. New Backend Merge (#8520) (details)
  351. Refactor typing of builtin Connections.* functions (#8529) (details)
  352. Improve evaluation of component references (#8530) (details)
  353. libfmi shared and static. libOpenModelicaFMIRuntime static. (#8531) (details)
  354. Remove trailing whitespace in solver dump (#8527) (details)
  355. [CI] Parallel build for dependencies omedit-testsuite. (#8532) (details)
  356. Remove no longer needed linkage of ModelicaExternalC libs. (#8533) (details)
  357. Make the self reference check in Lookup recursive (#8535) (details)
  358. Find value of NEED_CMINPACK in configure (#8536) (details)
  359. Fix zero crossing detection (#8537) (details)
  360. Add zlib as a standalone 3rdParty library. (details)
  361. Build static and shared versions of ModelicaExternalC (details)
  362. Update FFI search directories. (details)
  363. Update 3rdParty submodule. (#8542) (details)
  364. Improve typing of dimensions (#8543) (details)
  365. Forbid modifying protected elements (#8512) (details)
  366. Reorganize some NFExpression records (#8547) (details)
  367. Save the experiment annotation without simulating the model (#8549) (details)
  368. Update .gitignore (#7701) (details)
  369. Update PATH with library dirs before system calls. (#8552) (details)
  370. Make cse variables parameters that are added to globalKnownVars (#8551) (details)
  371. Improve checking of protected modifications (#8556) (details)
  372. Fix simplification of `array or array` (#8559) (details)
  373. Return default start value according to type (#8558) (details)
  374. Only literal constants qualify as initial=exact (#8557) (details)
  375. [janitor] Remove unnecessary wrapper (#8566) (details)
  376. Check bindings for initialization (#8562) (details)
  377. Populate the library and version drop-down based on filters (#8563) (details)
  378. Implement array expression using arrays (#8570) (details)
  379. Improve flattening performance (#8573) (details)
  380. Fix function evaluation regression (#8575) (details)
  381. generate partial derivatives for fmus with initialization DAE (#8477) (details)
  382. Generate a batch script on Windows (launches exe) (#8572) (details)
  383. Improve function evaluation (#8580) (details)
  384. Fix --fmiFilter=protected (#8579) (details)
  385. Update BooleanNetwork1 (#8581) (details)
  386. Declare equationIndexes to null for now. (#8583) (details)
  387. More array improvements (#8582) (details)
  388. filter variables from knowns and unknowns for directional derivatives (#8576) (details)
  389. Return default start value for enumerations (#8569) (details)
  390. Use --fmiFilter=protected by default (#8585) (details)
  391. Updates to optimization chapter (#8541) (details)
  392. Fix function evaluation for HelmholtzMedia (#8586) (details)
  393. Minor cleanup for the CMake configuration. (#8588) (details)
  394. Sync with compiler default for --fmiFilter (#8594) (details)
  395. Update OMSimulator (#8457) (details)
  396. Update OMSimulator (#8597) (details)
  397. Better representation of derivatives of arrays (#8598) (details)
  398. Remove DAE.STMT_FOR index and DAE.CREF_ITER (#8599) (details)
  399. Fix some compilation warnings (#8601) (details)
  400. Add the mingw directories to the FFI search paths. (#8602) (details)
  401. update dataReconciliation Users Guide (#8603) (details)
  402. Corrected counting of solvers statistcs (#8606) (details)
  403. Preserve the DynamicSelect when the graphical primitives are updated (#8605) (details)
  404. clean up enum handling (#8589) (details)
  405. Fix computation of directional derivatives (#8611) (details)
  406. Update --fmiFilter description (#8612) (details)
  407. Update OMSimulator (#8613) (details)
  408. Update OMSimulator (#8614) (details)
  409. Jacobian Update for the new Backend (#8616) (details)
  410. [janitor] cleanup NSimCode (#8621) (details)
  411. Handle the inheritance when animating using DynamicSelect annotation (#8623) (details)
  412. Fix some issues with Connections.uniqueRootIndices (#8622) (details)
  413. Fix Expression.recordElement (#8626) (details)
  414. Fixed handling of events in daeMode with no states (#8625) (details)
  415. Clean up interactive API implementation a bit (#8628) (details)
  416. Update OMSimulator (#8627) (details)
  417. fix typos in data Reconciliation users guide (#8631) (details)
  418. fix typos in dataReconciliation.rst (#8636) (details)
  419. Update OMSimulator (#8637) (details)
  420. [NB] use function derivative annotation (#8629) (details)
  421. Update issue templates (#8486) (details)
  422. [NB] Fix derivatives of some builtin functions (#8643) (details)
  423. [janitor] cummulated stuff (#8426) (details)
  424. Update the connection when start and end belong to the same element (#8645) (details)
  425. Add callback for loading models (#8647) (details)
  426. [NB] add function and algorithm differentiation (#8644) (details)
  427. Improve 55f5d0dd (#8653) (details)
  428. Add assert check for event sub-clocks (#8650) (details)
  429. No states da emode fix (#8655) (details)
  430. [janitor] Fix CodegenC.tpl (#8657) (details)
  431. [NB] proper adjacency matrix types + janitor (#8651) (details)
  432. Use the callback function to see which libraries are auto loaded (#8660) (details)
  433. Fix Interactive.evaluateGraphicalApi_dispatch (#8662) (details)
  434. Removed the prompt for switching to OF if translation fails (#8663) (details)
  435. Fixed reinit in DAE (#8664) (details)
  436. Don't overwrite inner/outer for derived types (#8668) (details)
  437. New backend events (#8659) (details)
  438. Add a drop down button for system libraries on the start page (#8665) (details)
  439. Use "Level of support by OpenModelica" instead of "Support Levels" (#8669) (details)
  440. [NB] update initialization (#8672) (details)
  441. remove new line (#8674) (details)
  442. First draft of getModelInstance API (#8676) (details)
  443. Removing debug prints / comments (#8677) (details)
  444. Explicitly specify the current directory to cover <> includes. (#8678) (details)
  445. Fix bug with hash sets (#8654) (details)
  446. Fixing memory leak in ida_solver. (#8675) (details)
  447. Only apply the prefix if unit is one of prefixable unit (#8673) (details)
  448. getModelInstances fixes (#8683) (details)
  449. Add a modified version of Intel TBB to OpenModelica (#8685) (details)
  450. Add initial testcases for automatic parallelization. (#8688) (details)
  451. Fix and generalize dependency analysis for algorithms. (#8689) (details)
  452. [NB] Fix differentiation of functions (#8681) (details)
  453. [janitor] Refactor program logic (#8684) (details)
  454. fix #7354 Modelica Integer parsing, displaying and div on Windows 64bit (#8691) (details)
  455. link lib64 to lib so libantrl4-runtime lib can be found (#8700) (details)
  456. Update .gitignore (#8695) (details)
  457. [NB] add pseudo array sparsity patterns (#8694) (details)
  458. Make a duplicate of the environment value (#8703) (details)
  459. set start values attributes in initialization mode (#8696) (details)
  460. Error message and fail for realpath (#8706) (details)
  461. Source-code-fmus on Windows using CMake (#8698) (details)
  462. improved resolveLoops (#8680) (details)
  463. Plot constant curves for practically constant variables (#8707) (details)
  464. [NB] update jacobians (#8708) (details)
  465. fix unit conversion issues on 32bit [#8699] (#8710) (details)
  466. [NB] implement sparsity coloring (#8711) (details)
  467. [NB] switch back to numeric jacobian default (#8714) (details)
  468. [NB] coloring small fix (#8715) (details)
  469. [NB] fix coloring  (#8718) (details)
  470. Improve handling of MSL (#8720) (details)
  471. Pass all flags from the bat file to the executable. (#8721) (details)
  472. Changed Upgrade installed libraries to Update installed libraries (#8724) (details)
  473. Delay processing the loadModel callback using QTimer (#8722) (details)
  474. fix the symbolic link (#8712) (details)
  475. Fix build for clang 3.8 on debian stretch. (#8725) (details)
  476. Improve dumping of flat types (#8727) (details)
  477. Use the correct heading (#8730) (details)
  478. Save and close the documentation editing when focus is on text view (#8732) (details)
  479. Prevent addition of duplicate expanded variables. (#8734) (details)
  480. Fix some compiler warnings in OMPlot (#8736) (details)
  481. Improve library loading for conversion (#8735) (details)
  482. Updated libraries (details)
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)
Commit 5a8d06366edbc3a9a0335ab37a13f131a2075828 by Mahder Gebremedhin
[cmake] Link to libdl and libomcmemory.

  - libomcmemory is needed by all generated 'function' code files. In
    addition to generated simulation code, that is.
  - libdl is needed by c/simulation/solver/embedded_solver.c
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)
Commit 347c240ffa0fbb07ba709efdba7c9a3e2a635e0c by Hannebohm Philip
[janitor] Fix formatting and typos (#7932)

* [janitor] Fix formatting and typos

* [janitor] Use existing enums
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)
Commit 2c412616c77adeccf0f379d2738d74beea741f72 by Mahder Gebremedhin
Remove embedded Bstatic and Bdynamic flags.

  - Specify them using the configuration mechanism instead.
The file was modified OMCompiler/configure.ac (diff)
The file was modified OMCompiler/Compiler/Template/CodegenFMU.tpl (diff)
Commit 3a5b8e7d54cabf163a6cb4a7d2c898084e17737a by Östlund Per
Set C++17 in OMEditLib (#7937)

The file was modified OMEdit/OMEditLIB/OMEditLIB.pro (diff)
Commit 7dd0e712f476d9d88af5a211caec85e9214ba6ee by adeel.asghar
Added msvc19 to the build targets (#7915)

Fixes #7914
The file was modified OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
Commit 2af9139a26e0cdd5ad8448bf8c11f6683108f045 by palanisamy arunkumar
fix modelprefix name and output path for dataReconciliation report (#7938)

The file was modified OMCompiler/SimulationRuntime/c/dataReconciliation/dataReconciliation.cpp (diff)
Commit 6ecc2c6b772c6738dd6cba94bb84dc0cfa1e8ee9 by Martin Sjölund
Add papers from Modelica 2021 (#7942)

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)
Commit c9691ae36b68211bb41915895b18a3ac8755ad89 by Mahder Gebremedhin
[cmake] Update source FMU config.

  - The source FMU handling code has been updated for the normal build
    since it was easier to change change it than to try and follow it.

    This changes reflect that for the CMake config.
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)
Commit 04b122e7a82f40311849b17a63d2c161aa00a1d0 by Kiel Henning
[macOS] copy also version specific library (#7943)

The file was modified OMCompiler/Makefile.in (diff)
Commit 923be1b6c072afdf706db8f0d2226952b9007000 by Östlund Per
Remove "using namespace std" in OMEdit header (#7940)

- Remove "using namespace std" in GDBMIParser.h to avoid name conflicts.
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)
Commit 5d3cce6a3c0a50958ece06783b025e1aebd26080 by Mahder Gebremedhin
Minor formatting for sundials recipe.

  - This is minor but I forgot to test Windows build in the previous PR
    for chaning sundials install directories. This will test that as well
The file was modified OMCompiler/Makefile.common (diff)
Commit a98ea9376445fe62ac954d5b64b0b4cfb0666c32 by Martin Sjölund
Add article from Biosystems 2021 (#7950)

The file was modified doc/bibliography/openmodelica.bib (diff)
The file was modified doc/bibliography/journals.cite (diff)
Commit 3a35a81904965488aebbf84498e6ceab4d522d8e by Mahder Gebremedhin
Fix #7945. Do not dereference NULL pointer. (#7948)

- Check if NULL and bail out for now. Maybe there can be some recovery
    semantics for the flag. For now just prevent segfaulting.
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 addedOMEdit/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 addedOMEdit/OMEditLIB/FlatModelica/Expression.h
The file was addedOMEdit/OMEditLIB/FlatModelica/ExpressionFuncs.cpp
The file was modified OMEdit/OMEditLIB/Annotations/TextAnnotation.cpp (diff)
The file was addedOMEdit/OMEditLIB/FlatModelica/ExpressionFuncs.h
Commit 51bb7b189cebc9e736845589ba1e41e51dce63fe by adeel.asghar
Added test for Expression class (#7951)

The file was addedOMEdit/Testsuite/Expression/ExpressionTest.h
The file was addedOMEdit/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 addedOMEdit/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)
Commit f465ce586f91d1e5c08fe998d32691b694376bec by adeel.asghar
Exposed Settings.getHomeDir as API function getHomeDirectoryPath (#7954)

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)
Commit e389033dfe7ba3077c5366ecdbf2b77ede39e61e by Martin Sjölund
Update build-deps to v1.16.3 (new ca-certs) (#7957)

The file was modified .CI/cache/Dockerfile (diff)
The file was modified Jenkinsfile (diff)
Commit 7b42f0ac3e92fc25caf75079b180c165d7720e36 by Martin Sjölund
Use a newer docker image for cmake build (#7958)

Xenial is outdated and the ca-certs no longer work.
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)
Commit b50d975fff129718d340bb7e9f21f5de32e52afa by Mahder Gebremedhin
For now install kinsol_impl.h until #7959 is fixed (#7961)

- We should not be using internal headers of Kinsol. There is an interface
    specifically for specifying the linear solver for Kinsol. We should
    use that instead.
The file was modified OMCompiler/Makefile.common (diff)
The file was modified OMCompiler/3rdParty (diff)
Commit 4369b9d278c84a16ec5233b91de2ac117806de0c by Mahder Gebremedhin
[cmake] Generated dummy user table for StandardTable

  - The define DUMMY_FUNCTION_USERTAB is needed. Otherwise we are getting
    undefined references to `usertab` when linking to libModelicaStandardTables
The file was modified OMCompiler/3rdParty (diff)
Commit c66243a4309c5fe59d6c95dadea5d560699d0a82 by Mahder Gebremedhin
[cmake] Initial config support for CPP runtime.

  - Libraries handled so far
      - libOMCppModelica
      - libOMCppMath
      - libOMCppSolver
      - libOMCppCVode
      - libOMCppKinsol
      - libOMCppLinearSolver
The file was addedOMCompiler/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 addedOMCompiler/SimulationRuntime/cpp/cmake_3.14.cmake
The file was addedOMCompiler/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 addedOMCompiler/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)
Commit e01867fbc8b2df3b3d93cab2c9e9111d9de2d66f by Östlund Per
Fix GDBMIParser (#7964)

The file was modified OMEdit/OMEditLIB/Debugger/Parser/GDBMIParser.cpp (diff)
Commit 68006652b79bf2d2779e46a014ced99522f1ca04 by Östlund Per
Strip DynamicSelect where not yet supported (#7967)

- Use the first argument of DynamicSelect for annotations that don't
  support DynamicSelect yet.
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 addedOMEdit/OMEditLIB/Annotations/DynamicAnnotation.h
The file was addedOMEdit/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 addedOMEdit/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 addedOMEdit/OMEditLIB/Annotations/ExtentAnnotation.cpp
The file was addedOMEdit/OMEditLIB/Annotations/BooleanAnnotation.h
The file was addedOMEdit/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 addedOMEdit/OMEditLIB/Annotations/DynamicAnnotation.cpp
The file was modified OMEdit/OMEditLIB/OMEditLIB.pro (diff)
The file was addedOMEdit/OMEditLIB/Annotations/ColorAnnotation.cpp
The file was modified OMEdit/OMEditLIB/Annotations/EllipseAnnotation.cpp (diff)
The file was addedOMEdit/OMEditLIB/Annotations/ColorAnnotation.h
The file was modified OMEdit/OMEditLIB/Annotations/TextAnnotation.h (diff)
The file was addedOMEdit/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 addedOMEdit/OMEditLIB/Annotations/BooleanAnnotation.cpp
The file was addedOMEdit/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)
Commit 4da21e4d6833b773a90b7be2364ebca0b528e5be by Mahder Gebremedhin
[cmake] Add OMCppFMU library.
The file was addedOMCompiler/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 addedOMCompiler/SimulationRuntime/cpp/FMU2/CMakeLists.txt
The file was modified OMCompiler/SimulationRuntime/cpp/cmake_3.14.cmake (diff)
Commit dc09ba24d747d2e05a1c4af594047f7291a86af9 by Mahder Gebremedhin
[cmake] Assume we always have C++11 threads.

  - Threads support is needed for HPCOM CPP runtime tests.
  - It is a fair assumption for now. If it needs to be checked and enabled
    we will do that later.
The file was modified OMCompiler/SimulationRuntime/cpp/Core/CMakeLists.txt (diff)
Commit 542fd4c8d1ef506d5ed18dc6344abaca6629cde3 by Östlund Per
Fix constant evaluation in annotations (#7976)

- Use EvalConstants if Ceval fails, to make sure structural parameters
  are always evaluated.
The file was modified OMCompiler/Compiler/Script/NFApi.mo (diff)
Commit 43c7f04abdeb4d970de2815fff5730346cad6551 by Östlund Per
Fix #7692 (#7977)

- Check that the level in assert() is a parameter and mark it as
  structural.
The file was addedtestsuite/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 addedtestsuite/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)
Commit 188f375ae424e09bfe78e6720d7d46fc36562a61 by Östlund Per
Automatically load used libraries (#7980)

- If a top-level name can't be found during name lookup, try to load a
  library with that name.
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 addedtestsuite/flattening/modelica/scodeinst/LookupLibrary1.mo
Commit 618c742bb2f2aac3eb88bedf8ded59a5bd5bfe66 by Martin Sjölund
Use C++14 by default (#7965)

The file was modified OMCompiler/configure.ac (diff)
The file was removedcommon/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 addedcommon/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)
Commit a7189e69909a92cd6ae8940f4f7a9cb3f66bb3c1 by Mahder Gebremedhin
[cmake] Install headers in include/omc.

  - The CMake config was installing headers in include/. Now they are
    installed in include/omc. This is where they should be.

  - Update compilation flags and fmu sources accordingly.
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)
Commit 967a23e570747ab7b6cb9e86766ce3383621ed5a by Mahder Gebremedhin
Collect SuiteSparse headers in one directory.

  - It is now done within SuiteSparse itself.
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 removedOMCompiler/.cmake/omc_check_exists.cmake
The file was addedcmake/omc_target_info.cmake
The file was removedOMCompiler/.cmake/omc_utils.cmake
The file was removedOMCompiler/.cmake/omc_target_info.cmake
The file was addedcmake/omc_check_exists.cmake
The file was addedcmake/omc_utils.cmake
The file was modified .CI/common.groovy (diff)
The file was addedCMakeLists.txt
Commit 45d5fa3b818b282027e17b01f6f281e7de0f31e5 by Mahder Gebremedhin
Fix copy paste error.

  - Change '==' to '='
The file was modified OMCompiler/Makefile.omdev.mingw (diff)
Commit 99aa455e61b9c7c2cc1e6273e4ab7663c7d3ae9e by Östlund Per
Fix typo in PointAnnotation (#7988)

- A point has two coordinates, not three.
The file was modified OMEdit/OMEditLIB/Annotations/PointAnnotation.cpp (diff)
Commit acafdf2e713875397a425fb98b304789580d33c2 by adeel.asghar
Fix the display of parameter values (#7991)

Fixes #7766
The file was modified OMEdit/OMEditLIB/Element/Element.cpp (diff)
Commit e5d54bcb04b2800bc33fa9158c5692b6443c0ba9 by adeel.asghar
Return the element annotations for Access level icon (#7993)

Fixes #7578
The file was modified OMCompiler/Compiler/Script/Interactive.mo (diff)
Commit 6e08b4d51aa63d1a4d946d95f47b422a2e282c4a by Mahder Gebremedhin
Fix #7992. Actually declare the variables.

  - I am not sure if this affects MM code. We will see.
The file was modified OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff)
Commit ab79a469f0b1550c7e05eb28596b2ebb822dc5f0 by Östlund Per
Fix unary expression in FlatModelica::Expression (#7995)

- Make unary expressions less greedy when parsing expression so that
  e.g. -x + y is parsed as -x + y and not -(x + y).
The file was modified OMEdit/Testsuite/Expression/ExpressionTest.cpp (diff)
The file was modified OMEdit/OMEditLIB/FlatModelica/Expression.cpp (diff)
Commit f58737cb1dd0d07d5d1f40c0e51b820b1951edde by rdgfranke
Keep compiler optimization for Cpp with g++ and clang++

This improves the simulation performance significantly;
unfortunately at the cost of longer model compilation times.
The file was modified OMCompiler/SimulationRuntime/cpp/PrecompiledHeader.cmake (diff)
Commit fcf131634bb2844d34eb5b97d00722545cdeb734 by adeel.asghar
Do not fetch connections while loading the class (#8001)

Changed access annotation error to notification
Look for error messages after getConnectionCount call
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)
Commit 4fe9a5be8a0e7088ef581869e43a31be9d18da4e by palanisamy arunkumar
add preoptModule introduceOutputRealDerivatives (#7986)

* add preoptModule introduceOutputRealDerivatives

* implement "fmi2GetRealOutputDerivatives()" in runtime

* map VR of output real derivatives only for fmuType=cs
The file was modified OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff)
The file was modified OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff)
The file was addedtestsuite/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)
Commit 4523ec1aaf47e3d60a4bf5fbe6e572e206a08acf by rdgfranke
Limit steps of Cpp Newton solver in case of singular Jacobians

This should also avoid endless iterations.
See Modelica.Electrical.Analog.*Lightning* examples of MSL 4.
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)
Commit 28cd7de5b1108da344dde3697bc2c70fcfeb490c by rdgfranke
Add tests for PowerSystems library
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.WindTurbine_PSGR.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.AdmittanceTest.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Sensor.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.DoubleLine.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Source.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Machines.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.GeneratorTest2.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.DoubleLine.out
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.ReferenceInertial.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Transformer.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Fault.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.PowerWorld.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkControlled.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.PowerAngle.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/Makefile
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.WindTurbine_PSGI.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.WindTurbine_IG.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.FaultTline.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.GenOrder3and7.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.ImpedanceTest.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Load.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.DoubleLine.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Line.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.CityTest.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.Frequency.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Breaker.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.InitialSteadyState.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.PQsource.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Fault.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkOpened.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.PVsource.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Inverter.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASM.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.SimulationSteadyInitial.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.SM_ctrl.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.PMeterTest.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.RXline.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.Display.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.TieLine.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.Tline.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Machines.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.Islanding.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASMav.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.LocalGeneration.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.WindFarm.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.WindTurbine_DFIG.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.ReferenceSynchron.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.Units.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.Tables.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.mos
The file was addedtestsuite/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 addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Elementary.Impedance.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Generation.Vsource.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.SimulationFixedInitial.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Introductory.SimulationSteadyState.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Network.NetworkLoop.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Wind.Test.RotorTest.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/common.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.Generic.Test.GeneratorTest.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.BLDC.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transformation.TapChanger.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC3ph.Transmission.FaultRXline.mos
The file was addedtestsuite/simulation/libraries/3rdParty/PowerSystems_cpp/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mos
The file was addedtestsuite/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)
Commit 5c7b2074aa16c4cfcd8027da9a357ae781392122 by rdgfranke
Fix wrong simplification cos/tan => sin to sin/tan => cos
The file was modified OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo (diff)
Commit 3a728b8cffa2898eb11448c56e67dc92f861c5ef by Östlund Per
Improve evaluation of records (#8007)

- Remove some unrelated split indices when creating record bindings
  during constant evaluation.
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFSubscript.mo (diff)
The file was addedtestsuite/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)
Commit f3a732dabf5d9c801e927f2171f1aee51ceb626b by Östlund Per
Improve conversion of imports (#8011)

- Simplify imports like A = A.B.C to just A.B.C.
- Remove duplicate imports after conversion.
- Add missing tests and actually enable the conversion tests.
The file was modified testsuite/openmodelica/conversion/ConvertClass5.mos (diff)
The file was modified testsuite/openmodelica/conversion/ConvertClass4.mos (diff)
The file was addedtestsuite/openmodelica/conversion/ConvertClass8.mos
The file was modified OMCompiler/Compiler/Script/Conversion.mo (diff)
The file was addedtestsuite/openmodelica/conversion/ConvertClass7.mos
The file was modified testsuite/Makefile (diff)
The file was modified testsuite/openmodelica/conversion/Makefile (diff)
Commit 3fe949350ab922c6f1e1b6180c6e58b2bc216807 by Östlund Per
Improve conversion of component references (#8013)

- Convert qualified crefs where the second part of the cref should be
  changed due to rules affecting the type of the first part.
The file was modified OMCompiler/Compiler/Script/Conversion.mo (diff)
The file was modified testsuite/openmodelica/conversion/Makefile (diff)
The file was addedtestsuite/openmodelica/conversion/ConvertElement2.mos
The file was addedtestsuite/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)
Commit a1008d6f589392c3d9613edf46aa092f4ce5fae1 by adrian.pop
fix missing separator (#8016)

The file was modified testsuite/Makefile (diff)
Commit de7122402817b837138a84f9542d8c42d964e8b1 by Östlund Per
Fix type table bug in Conversion (#8017)

- Clear the type table when going into a new class, to avoid
  accumulating every variable in the whole library.
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 addedtestsuite/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)
Commit 3870f1ccaeb259711e4bf6c70ebbc243d988e163 by Östlund Per
Fix library loading in Lookup (#8023)

- Make sure the version string is initialized.
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)
Commit 75b740d09831039ed813a37d7274e290bafe0a39 by Östlund Per
Fix behaviour of StringHandler::getStrings (#8028)

- Preserve the old behaviour of StringHandler::getStrings by appending
  an empty string to the list if the string to split ends with a comma.
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 addedOMEdit/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 addedOMEdit/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)
Commit 7343296e0079cd687565fa8f313a44d632207565 by adeel.asghar
Hide the protected variables from the variables browser (#8031)

Only show the protected variable if emit protected flag is true or if HideResult = false
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)
Commit f6f00e55c3994f77ae4e02fcc41645504f00879a by Mahder Gebremedhin
[cmake] Install PDEModelicaBuiltin.mo

  - It was overlooked before.
The file was modified OMCompiler/Compiler/CMakeLists.txt (diff)
Commit b38e5e96eb1e19eb419c08646767266157a27bfb by Östlund Per
Propagate the inner modifier in redeclares (#8034)

The file was modified OMCompiler/Compiler/NFFrontEnd/NFModifier.mo (diff)
The file was addedtestsuite/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)
Commit a04b71de2132c0ee87965feac306becccbd979fa by adeel.asghar
Handle the new values of hideResult attribute (#8038)

Added option for ignoreHideResult flag in Simulation->Output
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)
Commit 70dd5720741ba16af592844bbd1477efaab08c8a by Östlund Per
Improve type checking of bindings (#8040)

- Only take split indices that refer to the component or the component's
  parents into account when deciding which dimensions to check.
The file was addedtestsuite/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 addedtestsuite/openmodelica/cruntime/optimization/basic/InputOptIssues.mo
The file was addedtestsuite/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)
Commit 6402d9b70888a6cf45c9dbd825a53680723828fe by Östlund Per
Refactor some non tail-recursive functions (#8041)

- Rewrite some non tail-recursive functions to use loops instead, to
  avoid stack overflows on large models.
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)
Commit c49166fd5983e8e29300c1c15fd253fdcf2e1f87 by rdgfranke
Add options --ignore-hide-result and -ignoreHideResult to Cpp runtime
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)
Commit 3a49f6ed517de9fce39b96da246505d18b290e87 by adeel.asghar
Do not add extra message for checkModel call in Messages Browser (#8033)

The file was modified OMEdit/OMEditLIB/MainWindow.cpp (diff)
Commit 159a9df8f4736a5beeb11b1c5a5e9e301f96466f by adeel.asghar
Remove the extra message of instantiateModel (#8045)

The file was modified OMEdit/OMEditLIB/MainWindow.cpp (diff)
Commit c41fbb61b49bb421e3e20303acb6cee44956fb6a by Ruge Vitalij
fix: issue 7969 (#8030)

* update the attribute(min,max,nominal) of know variable like inputs via parameters.
* code is based on the comments in the function createStartValueEquations.
The file was modified OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff)
The file was addedtestsuite/openmodelica/cruntime/optimization/basic/issue7969.mos
The file was modified testsuite/openmodelica/cruntime/optimization/basic/Makefile (diff)
Commit 6bba8a5f800703ceee19482c5434fbe906e8d09d by Mahder Gebremedhin
Remove trilinos nox solver as it is not used.

  - Can be brought back if needed.
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 removedOMCompiler/SimulationRuntime/cpp/Solver/Nox/FactoryExport.cpp
The file was removedOMCompiler/SimulationRuntime/OMSICpp/runtime/include/Solver/Nox/NoxLapackInterface.h
The file was removedOMCompiler/SimulationRuntime/cpp/Solver/Nox/NOX_StatusTest_SgnChange.H
The file was removedOMCompiler/SimulationRuntime/cpp/Solver/Nox/NoxLapackInterface.h
The file was modified OMCompiler/SimulationRuntime/OMSICpp/runtime/include/Core/Utils/Modelica/ModelicaSimulationError.h (diff)
The file was removedOMCompiler/SimulationRuntime/cpp/Solver/Nox/NoxLapackInterface.cpp
The file was removedOMCompiler/SimulationRuntime/OMSICpp/runtime/include/Solver/Nox/NoxSettings.h
The file was modified OMCompiler/SimulationRuntime/cpp/CMakeLists.txt (diff)
The file was removedOMCompiler/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 removedOMCompiler/SimulationRuntime/cpp/Solver/Nox/FactoryExport.h
The file was removedOMCompiler/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 removedOMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Nox/NOX_StatusTest_SgnChange.C
The file was removedOMCompiler/SimulationRuntime/cpp/Solver/Nox/CMakeLists.txt
The file was modified OMCompiler/Makefile.common (diff)
The file was removedOMCompiler/SimulationRuntime/cpp/Solver/Nox/NoxSettings.cpp
The file was removedOMCompiler/SimulationRuntime/OMSICpp/runtime/include/Solver/Nox/FactoryExport.h
The file was removedOMCompiler/SimulationRuntime/cpp/Solver/Nox/NoxSettings.h
The file was modified OMCompiler/SimulationRuntime/cpp/SimCoreFactory/Policies/NonLinSolverOMCFactory.h (diff)
The file was removedOMCompiler/SimulationRuntime/cpp/Solver/Nox/Nox.cpp
The file was removedOMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Nox/Nox.cpp
The file was removedOMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Nox/NoxLapackInterface.cpp
The file was removedOMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Nox/FactoryExport.cpp
The file was removedOMCompiler/SimulationRuntime/cpp/Solver/Nox/Nox.h
The file was removedOMCompiler/SimulationRuntime/OMSICpp/runtime/src/Solver/Nox/CMakeLists.txt
The file was modified OMCompiler/SimulationRuntime/OMSI/Makefile.omdev.mingw (diff)
The file was removedOMCompiler/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 addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/ArrayConstructorRecord1.mo
Commit 2a0c89cf9335e896debd3bc1872d7080187fadc4 by adrian.pop
fix authors for one paper, add another paper (#8047)

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)
Commit 0918f06d2e4a5f3c3dedcb8b960a012237c6923e by adeel.asghar
Re-evaluate access annotation when the class is edited in text view (#8053)

The file was modified OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.cpp (diff)
The file was modified OMEdit/OMEditLIB/Modeling/LibraryTreeWidget.h (diff)
Commit 27af96c3e3fa7ba0efe9b7d1dc0a4dbc234db959 by Östlund Per
Implement dynamic StringAnnotation (#8056)

- Implement StringAnnotation class using DynamicAnnotation, and use it
  for the textString annotation attribute.
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 addedOMEdit/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 addedOMEdit/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 addedomsimulator.cmake
The file was modified CMakeLists.txt (diff)
Commit fedf620e28eb0cf35c266b833f6da255a48d6947 by Östlund Per
Fix string escaping issues (#8058)

- Escape strings in Expression.toString in OMC.
- Handle escaped characters inside strings in StringHandler::getStrings
  in OMEdit.
The file was modified OMEdit/OMEditLIB/Util/StringHandler.cpp (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit a25f5f34c8924ea0487fe6be23265afaf3915f4c by Östlund Per
Set static expression when assigning new value (#8059)

- Update the static value kept in an annotation attribute when assigning
  a new value to it.
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)
Commit dde8a6d50d3c2bd0594c818ebbe8446ee1a4eb42 by Martin Sjölund
Set user agent for libcurl (#8063)

gitlab.pam-retd.fr now refuses downloads with user agent not set.
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)
Commit 2a093f10910d33647fca56dd234cb0e63918e4c7 by Mahder Gebremedhin
Fix graphstream define guard for x64.
The file was modified OMCompiler/3rdParty (diff)
Commit 611faf971becda1672cbd424c890655eba7ec979 by rdgfranke
Add Type suffix to records passed to external functions (issue #8054)
The file was modified OMCompiler/Compiler/Template/CodegenCpp.tpl (diff)
The file was modified OMCompiler/Compiler/Template/CodegenCppOld.tpl (diff)
Commit 4ef7b219b2bba124637dcae58dbb73f7624c4f8f by Hannebohm Philip
Never select CSE var as iteration var (#8049)

Addresses issue #7800
TODO do this also for arrays, currently some tests would fail
TODO even tear them with minimalTearing
The file was modified OMCompiler/Compiler/BackEnd/BackendVariable.mo (diff)
The file was modified OMCompiler/Compiler/BackEnd/Tearing.mo (diff)
Commit 1c2a5c599db87f827f320ffac82da04ee8f17f60 by adeel.asghar
Escape the string when editing the text annotation (#8071)

The file was modified OMEdit/OMEditLIB/Annotations/ShapePropertiesDialog.cpp (diff)
Commit 1b2dd96a551ed7876992dcbbf95731a21b88f5d0 by adeel.asghar
Set current directory for license file when parsing encrypted library (#8072)

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 addedtestsuite/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)
Commit d0b18e70716857eb31db0e2b85520a0c9b5e598f by adeel.asghar
Make it possible to set value in display unit (#8078)

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)
Commit bb129807467c3cf3181730c388fa18a7b6b4e4af by Martin Sjölund
Update 3rdParty ModelicaExternalC sources (#8081)

Fixes #8075
The file was modified OMCompiler/3rdParty (diff)
Commit 0ea1e761369fb797dd8a42fda547f52e89d30b9e by Östlund Per
Clean up AbsynUtil (#8079)

- Remove some unused functions.
- Update some functions to use more modern MetaModelica.
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 addedOMCompiler/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)
Commit 69b0fd27962fc33740b4f45af2427f5589220719 by adeel.asghar
Show a help message to select mingw when msvc compilation fails (#8085)

The file was modified OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff)
The file was modified OMEdit/OMEditLIB/Simulation/SimulationOutputWidget.cpp (diff)
Commit fed4208ce208d8d0bce214688e1b4de862a9741e by Östlund Per
Fix evaluation of split and/or expressions (#8083)

The file was addedtestsuite/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)
Commit acdd5e1b40634469d726f2c6310f43c5c5b77988 by Martin Sjölund
Make OMCompiler-3rdParty contributions more clear (#8091)

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)
Commit 4c1b7b5aaa3e2c28dd68701f1e3d62100135291c by Heuermann Andreas
Removing unused KinsolLapack
The file was removedOMCompiler/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 removedOMCompiler/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 removedOMCompiler/SimulationRuntime/OMSICpp/runtime/include/Solver/Kinsol/KinsolLapack.h
The file was removedOMCompiler/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)
Commit 5918a1c98b3ecc873197dadc233971d6362ade39 by Martin Sjölund
Skip linking `-lm` for the detected lapack (#8089)

Trying to statically link `-lm` might fail on some systems.
The file was modified OMCompiler/m4/lapack.m4 (diff)
Commit e430d923b433f7858bae2a0a9597020d90a4700b by Östlund Per
Fix #8094 (#8095)

- Change ExpandableConnectors.addNestedExpandableConnectorsToSets to be
  recursive, in case the nested expandable connectors themselves contain
  expandable connectors.
The file was addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/ExpandableConnector7.mo
The file was addedtestsuite/flattening/modelica/scodeinst/ExpandableConnector8.mo
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit 257a47e6563f5c47a51a669e5c66dee772b6bf28 by Östlund Per
Implement -d=printStructuralParameters for NF (#8096)

The file was modified OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff)
Commit bf6b3cd54b632d7d6dc06a3b5322e7371c7e02e2 by adeel.asghar
Update the Libraries Browser with CLI commands (#8100)

Fixes #8052
For now only the addition and deletion commands related to models are handled.
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)
Commit 0f5d54d3f588d7ca71cf1e52f2254b76908e40bf by Martin Sjölund
Fix Jenkins pipeline (#8113)

A Jenkins update seems to have made restrictions to unstash. Remove
symbolic links before we stash omc-clang as a workaround.
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)
Commit 1250a386abd77cfcfe4ceb799da057f8398f601d by Mahder Gebremedhin
Try expanding non param variables as well. (#8019)

* Try expanding non param variables as well.

* Try SES_ARRAY_CALL_ASSIGN for all ARRAY_EQUATION

  - Let's see if anything breaks.
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 addedtestsuite/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)
Commit c046a5042199b3b5ab2653f7c0c862978aae9944 by 38031952+AnHeuermann
Use output path for nonlinear solver homotopy csv logging (#8107)

* Use output path for nonlinear solver homotopy csv logging
* Always close csv file after writing
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)
Commit bd7479c84df3192b1767986d603c4ad51069ce65 by Martin Sjölund
Set file permissions when decompressing zip-files (#8114)

The file was modified OMCompiler/Compiler/runtime/om_unzip.c (diff)
Commit 0909d61dbd76f5d85628a8aa3b71aab029b8991f by Östlund Per
Implement obfuscation feature for saveTotalModel (#8103)

The file was addedOMCompiler/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 addedtestsuite/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)
Commit 68aabef92f2b75f2f1b8419b86b4f9c8d99e67ec by Hannebohm Philip
Never select CSE vars in minimalTearing (#8101)

Addresses issue #7800
Continuation of PR #8049
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)
Commit 14d01f47f2cf8e616bb5050d8d56a0635bf4d759 by adeel.asghar
Created a separate dialog for saveTotalModel api options (#8110)

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)
Commit 6b7d1ec361e7ca5e69a03f10250ee0590d65f857 by Mahder Gebremedhin
Add the bin dir to link dirs on Windows.

  - DLLs are installed in the bin dir. Add it to the list of link directories
    specified for generated code on Windows.
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)
Commit 3dba97e5471a815fb4b43286d727e9aaa1552166 by Mahder Gebremedhin
Add CMake to the CI image cache. (#8124)

- Instead of downloading CMake as part of the testing script add it
    directly to the testing docker image.

  - Rename the image to cache-bionic-cmake-3.17.2.
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 addedtestsuite/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 addedOMCompiler/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)
Commit 200aa9bebec04d8c15c72340fdaed9cafbf53034 by adeel.asghar
Fix convertPackage signature (#8112)

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)
Commit 1972b24e473b37e7474ad6e20d47d5e73c84601c by Östlund Per
Fix #8132 (#8134)

- Don't remove : subscripts from the head.
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)
Commit a83f551364f056fd197b805965dcb699fb0b5a05 by Östlund Per
Fix #8141 (#8142)

- Fix the typing of `vector()` when the argument has 0-dimensions.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff)
The file was modified testsuite/flattening/modelica/scodeinst/FuncBuiltinVector.mo (diff)
Commit 1550b72354b4cd0f0c2c7b222197eba7d3edce24 by Hannebohm Philip
Use KLU for nlsLS if Kinsol is selected
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)
Commit 3b15529edf156286912bf95849ecbeb81120aff5 by Hannebohm Philip
Reduce -nlsMinSize default to 1000 (#8135)

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)
Commit 0c7039a3dd5d604cfceb253cea2bf9382471566f by Hannebohm Philip
Refactor sparse solver selection dumps (#8144)

Prettier dumps, shorter code lines, rounder numbers
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)
Commit b90fb7310770472df453e0933343d0738a398b81 by Östlund Per
Fix #8130 (#8145)

- Honor `-d=combineSubscripts` also when using `-f`.
- Change Inst.combineSubscripts to traverse expression, since
  FlatModel.mapExp is a shallow traversal.
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 addedtestsuite/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)
Commit 8df23861c32cd3fc42ebf2053da5eb15da28d83e by Heuermann Andreas
Use _event_floor in _event_mod_real

- Save correct pre-value at events
The file was modified OMCompiler/SimulationRuntime/c/simulation/solver/model_help.c (diff)
The file was modified OMCompiler/Compiler/BackEnd/FindZeroCrossings.mo (diff)
Commit d8aa7d6d370a2be73d138dcf945e0831ae742d58 by Östlund Per
Fix #8131 (#8152)

- Add flag `-d=printRecordTypes` to print out record types instead of
  record constructor functions in the flat code.
The file was addedtestsuite/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 addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/EmptyArray3.mo
Commit b35aa9c4a5148ee4a6bcf04c5e8648bfe93f91c9 by Östlund Per
Add format string to generated infoStreamPrint (#8151)

- Get rid of compiler warnings about non-literal format string by adding
  a format string for the generated message.
The file was modified OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff)
Commit 344f31ae5ed3078c8a842ad5b091fe6f68214920 by Martin Sjölund
Remove ModelicaExternalC linking from OMC (#8153)

Closes #8149
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 removedOMCompiler/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)
Commit 6e11c9856e32ad2a59ee6f2e91adc3167fdfcd34 by Mahder Gebremedhin
Remove linkage of ModelicaExternalC libraries. (#8159)

- They are not needed by omc anymore.
  - Use zlib (from ModelicaExternalC) explicitly where it is needed.
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)
Commit 2ca59e4f7e0cd3d984b9caa0c2c7d3b05095db92 by adeel.asghar
Added documentation about FMI options (#8156)

Fixes #8102
Generate a complete tooltip for combobox options and an item based tooltip as well
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)
Commit 16b841bd4e21b0e18d8a34d2b3721d877f238862 by Hannebohm Philip
Reduce max density for sparse solver
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)
Commit 9730d74810cf55cd38b531690a0b36b458fa4c74 by vruge
try to fix memory, see #8036

init the real discret variable with the pre value
The file was modified OMCompiler/SimulationRuntime/c/optimization/DataManagement/MoveData.c (diff)
Commit d26881ecd55e89ab733087b248f6feefdea87fb6 by Ruge Vitalij
force version of sphinxcontrib-bibtex (#8171)

The file was modified doc/UsersGuide/source/requirements.txt (diff)
Commit 392c5f9bed8c33020378583724c274a1d2c0e5f2 by Martin Sjölund
Install OMSimulatorServer.py (#8173)

Closes #8163
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 addedOMCompiler/SimulationRuntime/ModelicaExternalC/CMakeLists.txt
The file was modified OMCompiler/.gitignore (diff)
The file was modified OMCompiler/3rdParty (diff)
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/trees.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaUtilities.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaIO.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/zlib.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/deflate.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/README
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/gzread.c
The file was modified OMCompiler/SimulationRuntime/OMSICpp/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaRandom.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inflate.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaMatIO.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaRandom.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaStandardTables.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/snprintf.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/uncompr.c
The file was modified OMCompiler/SimulationRuntime/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/safe-math.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/stdint_wrap.h
The file was modified OMCompiler/SimulationRuntime/cpp/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/zconf.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaFFT.h
The file was modified OMCompiler/Compiler/runtime/CMakeLists.txt (diff)
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/trees.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/deflate.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/uthash.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/gconstructor.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaIO.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/infback.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/BuildProjects/autotools/README
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaStandardTablesUsertab.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/compress.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/gzclose.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inffast.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaInternal.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inftrees.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaFFT.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaMatIO.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/readme.txt
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/zutil.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaInternal.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/win32_dirent.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inflate.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/.gitattributes
The file was modified OMCompiler/Makefile.omdev.mingw (diff)
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/BuildProjects/autotools/Makefile.am
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/ChangeLog
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/zutil.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/BuildProjects/autotools/configure.ac
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/gzwrite.c
The file was addedOMCompiler/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 addedOMCompiler/SimulationRuntime/ModelicaExternalC.txt
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/stdint_msvc.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaStrings.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inffast.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaStandardTables.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaStrings.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/FAQ
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/gzguts.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/adler32.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/crc32.c
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/read_data_impl.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/win32_dirent.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/inftrees.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/crc32.h
The file was addedOMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/zlib/gzlib.c
The file was addedOMCompiler/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 addedtestsuite/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 addedtestsuite/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 addedtestsuite/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 addedtestsuite/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 addedtestsuite/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 addedtestsuite/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 addedtestsuite/openmodelica/conversion/libs/testlib 2.0.0/Resources/conversion_1_0_2_to_2_0_0.mos
Commit 7e004242604226cb19b943a43a35ee6f9bbc1333 by Östlund Per
Remove unused functions in Interactive (#8177)

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 addedOMParser/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)
Commit eea0274914c96a3db89e7c71673c32eb173d7f3e by 38032125+kabdelhak
[Template] better indexing (#8189)

- update array indexing of multidimensional variables
The file was modified OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff)
The file was modified OMCompiler/Compiler/Template/SimCodeTV.mo (diff)
Commit c67c6c5f461c04fb5cfa71ca5a50e0bbf51946b1 by Martin Sjölund
Clean directories before unstash (#8192)

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 addedtestsuite/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)
Commit 25b5073b4515588ccc156832e21da96dc2c53cfe by Östlund Per
Add a DAE structure for initial for equations (#8205)

Fixes #8199
The file was modified OMCompiler/Compiler/BackEnd/BackendDAECreate.mo (diff)
The file was addedtestsuite/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 addedtestsuite/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 addedOMCompiler/Compiler/NFFrontEnd/NFInstUtil.mo
The file was modified OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff)
The file was removedOMCompiler/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)
Commit 953d678eed96f8a29849a64b0694232447acbb31 by adeel.asghar
Fix updating the element name (#8207)

Fixes #8180
Use element instead of component
Code refactoring
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)
Commit a1b67a11b203a15fb778f91edfeb0682e6e6acca by adeel.asghar
Convert the parameters to base unit when exporting to csv (#8212)

Fixes #8206
The file was modified OMEdit/OMEditLIB/Plotting/PlotWindowContainer.cpp (diff)
Commit 15cb39456e18a48ac09167d32f6cdb8d71d50693 by Hannebohm Philip
Hide previous(v) in the result file (#8209)

* Hide previous(v) in the result file

See Wittgenstein, Tractatus

* Update testsuite
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)
Commit 4ff85b3970c948c81ca06e5a91e6e9bc13660a6c by Hannebohm Philip
[janitor] Use string constants for var prefixes (#8213)

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)
Commit 7c3ddb9cac9a472f4b6d061993172315f11d3f41 by Östlund Per
Flat Modelica fixes (#8215)

- Use Flat Modelica for the dumpFlatModel output if the -f is used.
- Also check the for-range in FlatModel.collectEquationFlatTypes.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFFlatModel.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFInstUtil.mo (diff)
Commit 8213b2cc3a7f5093f849eddbbc399c5ddb403204 by Östlund Per
Improve flattening without scalarization (#8214)

- Flatten equations and algorithms with an empty prefix when not doing
  scalarization, to get rid of any remaining split indices.
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)
Commit f6468aec2ee84a02ec9c87a00e3192200ac925c6 by Östlund Per
Quote for-equation iterator in Flat Modelica (#8216)

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 addedtestsuite/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)
Commit 7e7e92934dbc513e7660322074203866eda883eb by Mahder Gebremedhin
Handle functions returning enumerations. (#8196)

- A case was missing for enumeration type return functions.

  - If the function fails always report an error.
The file was modified OMCompiler/Compiler/BackEnd/CommonSubExpression.mo (diff)
Commit 2f849cefd4a419edae1bb11c60c82ddc21f0677b by Mahder Gebremedhin
Add test for #8166. (#8223)

- The test uses the OF to be consistent with the other tests.
The file was addedtestsuite/simulation/modelica/commonSubExp/wrapFunctionCalls_enums_8166.mo
The file was addedtestsuite/simulation/modelica/commonSubExp/wrapFunctionCalls_enums_8166.mos
The file was modified testsuite/simulation/modelica/commonSubExp/Makefile (diff)
Commit dc7de090e4eb0054a1b7309fa46fe4fce689da17 by adrian.pop
add a report button (#8185)

* add a report button

* Do not try to create the stack trace file when sending issue manually

* Fix slot comments

Co-authored-by: Adeel Asghar <adeel.asghar@liu.se>
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)
Commit 4fb12f37fd011ec67205ff750a08bcead41e9f65 by Östlund Per
Make subscripting functions for -f optional (#8224)

- Use the -m flag to enable the output of subscripting functions when -f
  is used, and otherwise output subscripted expressions.
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 addedtestsuite/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 addedOMPlot/qwt/src/CMakeLists.txt
The file was addedOMPlot/qwt/CMakeLists.txt
The file was addedOMPlot/CMakeLists.txt
The file was modified OMPlot/OMPlot/OMPlotGUI/Plot.cpp (diff)
The file was modified CMakeLists.txt (diff)
The file was addedOMPlot/OMPlot/OMPlotGUI/CMakeLists.txt
Commit 3eae525c6a38aff439c49cb57ed0b8c53bff60ad by Östlund Per
Improve Flat Modelica output (#8231)

- Only print visibility for blocks of variables, not for every variable.
- Remove unnecessary public section at end of variable list.

Fixes #8227.
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)
Commit b3681acee9166fb43c0402e5445dfea08c4c8812 by Östlund Per
Output comments/annotations in Flat Modelica (#8232)

Fixes #8228
The file was modified OMCompiler/Compiler/NFFrontEnd/NFEquation.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff)
The file was addedOMCompiler/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 addedtestsuite/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)
Commit 4d5294ca8b818697c41d43305497ae3a3961fbe7 by adeel.asghar
Always use visible = true until #2081 is fixed (#8237)

#8172
The file was modified OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp (diff)
The file was modified OMEdit/OMEditLIB/Modeling/ModelWidgetContainer.cpp (diff)
Commit ec99aac5b9f3d51e87c5f1655f07c34b4529d176 by adeel.asghar
Do not hard code the icon annotation visible attribute (#8238)

Fixes last commit. Only hard code the placement annotation visible attribute.
The file was modified OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp (diff)
Commit 6414d03dc21a1c446940a6e16b59e7662f756c2e by Mahder Gebremedhin
[cmake] Add CMake build support for OMShell

    - This works but right now it is missing some extra things.

    - Fix OMPlot config a bit. Install the targets and add an include
      directory for linking targets.
The file was modified OMPlot/OMPlot/OMPlotGUI/CMakeLists.txt (diff)
The file was addedOMShell/OMShell/OMShellGUI/CMakeLists.txt
The file was addedOMShell/CMakeLists.txt
Commit c2f9122c2a61f90e2ee8eff4a194ed22c98839e0 by Mahder Gebremedhin
[cmake] Add CMake build support for OMNotebook

  - This is a very basic support.

  - OMSketch is not added yet.
The file was addedOMNotebook/CMakeLists.txt
The file was addedOMNotebook/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)
Commit 14546fe3d955fab7d2b2ff93f9a5b746c8fc31fe by Östlund Per
Redeclare improvements (#8249)

- Improve the handling of constraining class modifiers for both
  components and classes.

Fixes #8092
The file was addedtestsuite/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 addedOMEdit/omedit_config.h.in
The file was removedOMEdit/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)
Commit 100185e7a4a49607b94601b420fdd06e68e419f1 by adeel.asghar
Fix platforms for FMU export (#8250)

* Update the list of platforms for fmu export

Fixes #8168, #6009
Added the list of docker platforms

* Use static as default.

* Updated docker platforms
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)
Commit ba7ee7bac27ca13b2522540a276e5c4f84cc63b6 by Mahder Gebremedhin
Qualify some OMEdit header include directives.

  - Include from SimulationRuntime/c/. Not from internal directories.
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 addedtestsuite/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 addedOMEdit/CMakeLists.txt
The file was addedOMEdit/OMEditLIB/Debugger/Parser/CMakeLists.txt
The file was addedOMEdit/OMEditLIB/CMakeLists.txt
The file was modified OMCompiler/Compiler/CMakeLists.txt (diff)
The file was addedOMEdit/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)
Commit afdbc3f48a41854b1109758ca8828288c1a2c8c2 by Mahder Gebremedhin
Mark generated files as OUTPUTS.

  - This were overlooked. Now CMake knows these are generated files that
    do not exist at configure time.
The file was modified OMCompiler/Compiler/CMakeLists.txt (diff)
Commit dbc8d8b93618842e50c7d4975d6ce12980d5f509 by Östlund Per
Don't treat Clock as a reserved name (#8259)

- Remove Clock from the lookup of predefined types, and instead add it
  to the top scope since it shouldn't be treated as a reserved name.

Fixes #3273
The file was modified OMCompiler/Compiler/FFrontEnd/FBuiltin.mo (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/Clock3.mo
The file was addedtestsuite/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 addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/Clock2.mo
The file was addedtestsuite/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 addedtestsuite/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)
Commit 4f16e6af22e247563217be068f60310ec921b4f6 by adeel.asghar
Added documentation for install and convert library interfaces (#8263)

The file was addeddoc/UsersGuide/source/media/omedit_install_library.png
The file was modified doc/UsersGuide/source/omedit.rst (diff)
The file was addeddoc/UsersGuide/source/media/omedit_convert_library.png
Commit 6e1c39cb0b06f760d555dd678ee0db94fb0502d3 by Östlund Per
Fix initial environment when changing frontend (#8264)

- Clear the cached initial environment when changing frontend via the
  scripting API to make sure the correct one is used.
- Revert #8261.
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)
Commit 0616ea8ce39eb5cd18a962a7260a5cc5340db3be by Mahder Gebremedhin
Add CMake support libs-for-testing. (#8265)

- Note that, since the package manager depends on `omc` itself, you would
   have to build and INSTALL `omc` before you can install the libraries.
The file was addedtestsuite/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)
Commit 478c20220e34e01c3c2ad4e996c94f32d699b3c2 by adeel.asghar
Missing file from last commit (#8266)

The file was modified doc/UsersGuide/source/packagemanager.rst (diff)
Commit d419fb24be59d19a4bddd332db272c2d572b7118 by adeel.asghar
Add the new sub elements like FMU, tables etc. at the cursor position (#8269)

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)
Commit 92b4063d26f2cb2a3f4e1be368ddc4245b421180 by Mahder Gebremedhin
Remove debug printing and report installed libs.

  - Print a message when a library is installed successfully.

  - Do not show statements by default. I think it was added for debugging
    purposes and forgotten.
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 addedtestsuite/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)
Commit 3adf772468ffbb943c47ee7f68c97b76393a0a12 by adeel.asghar
Use the cursor position also when adding system and connector (#8276)

Do not add geometry when adding the elements to the default position
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 addedtestsuite/ReferenceFiles/CMakeLists.txt
The file was addedtestsuite/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 addedtestsuite/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)
Commit aeb8a6d1a35547ead3b192db0829ff7d53ea96a4 by palanisamy arunkumar
export relatedBoundaryConditions to html report (#8281)

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)
Commit 0e4367f16113b37e4aac8a34bbaf984471c30efb by Heuermann Andreas
Rotate ringBuffer when step size zero
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 addedtestsuite/flattening/modelica/scodeinst/FuncDefaultArg7.mo
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
The file was addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/ConstrainingClassFunc2.mo
Commit 69c2fff7b0a7b89ee5ec678751202573875ae5c8 by Martin Sjölund
Parse `pure(...)` as a function call (#8295)

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)
Commit e247d3c9651fbfc42f5f39bc8f649bba80f9ac01 by Mahder Gebremedhin
Link OMEditLib with Qt::svg.

  - This was not required before. It seems it has became a requirement
    recently at some point. Not sure when.
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)
Commit 3d91fc8f23a18f764020267a0ff9efb8c2a25a4b by Östlund Per
Implement pure() operator (#8300)

Fixes #8296
The file was modified OMCompiler/Compiler/NFFrontEnd/NFCall.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFModelicaBuiltin.mo (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/FuncBuiltinPure1.mo
The file was addedtestsuite/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)
Commit 50859455ba56efe4239505acef1c1fbd37516cc3 by Östlund Per
Handle function partial application in EvalFunction (#8302)

- Replace function calls when function partial applications are given as
  arguments to a function in EvalFunction.
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)
Commit edc24144e6c2685ea90f61785f46409df46d2f2a by Östlund Per
Handle array constructors in Call.unboxArgs (#8308)

- Handle vectorized calls in the form of array constructors in
  Call.unboxArgs, and ignore other calls instead of failing.

Fixes #8305
The file was addedtestsuite/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)
Commit 99574cdea12e461c6bb77ee3f66095ac96f94c2b by Östlund Per
Improve handling of previous() operator (#8301)

- Add check that the argument of previous is a component expression.
- Expand previous since the backend can't yet handle previous of arrays.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff)
The file was modified OMCompiler/Compiler/Util/Error.mo (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/FuncBuiltinPrevious2.mo
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/FuncBuiltinPrevious3.mo
The file was addedtestsuite/flattening/modelica/scodeinst/FuncBuiltinPrevious1.mo
The file was modified OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/FuncBuiltinPrevious4.mo
Commit 7ee305e6bafbf67c0995571b15a4f2d26f8e9348 by 38031952+AnHeuermann
Adding noClock to NF getSpecialReturnType (#8314)

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 addedtestsuite/flattening/modelica/scodeinst/FunctionalArg3.mo
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/PartialApplication2.mo
The file was modified OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff)
Commit e8c3123a9797e62ccb8cfb9778714c73728dec0d by Mahder Gebremedhin
[cmake] Add the testsuite-depends target. (#8315)

  - This corresponds to the same target of the autoconf build. It is
    missing some functionality but it is fine for most use cases.
The file was modified .CI/common.groovy (diff)
The file was modified testsuite/CMakeLists.txt (diff)
Commit 8cecf668efcb9eee96923397c8db981ded7ed0da by adrian.pop
try to find and link the threads library (#8317)

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)
Commit 95cc070760d46f995fdeb33783868b290d1d0a23 by Östlund Per
Improve --dumpFlatModel (#8322)

- Remove "all" option for --dumpFlatModel, and instead interpret using
  the flag without arguments as "all".
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 addedtestsuite/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)
Commit b28ce89afa61e337228e320e55fc3724714d2a92 by 38032125+kabdelhak
[NF] fix nested algorithm vectorization (#8326)

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 addedtestsuite/flattening/modelica/scodeinst/FuncBuiltinSuperSample1.mo
The file was modified OMCompiler/Compiler/NFFrontEnd/NFBuiltinCall.mo (diff)
The file was addedtestsuite/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 addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/FuncBuiltinHold1.mo
The file was addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/FuncBuiltinSubSample1.mo
The file was addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/FuncBuiltinShiftSample1.mo
The file was addedtestsuite/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 removedtestsuite/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 removedtestsuite/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)
Commit 5a6b507758447c3c2f700148512e36568c8dd852 by Östlund Per
Change sliced crefs to array constructors (#8339)

- Change crefs like `a.x` or `a[:].x` into
  `{a[$i1].x for $i1 in 1:size(a, 1)}`
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 addedtestsuite/flattening/modelica/scodeinst/SlicedCref1.mo
The file was modified OMCompiler/Compiler/NFFrontEnd/NFEquation.mo (diff)
The file was addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/SlicedCref2.mo
Commit 7e168cd93f43032e76bbe095699f0961e6968a1f by Tinnerholm John
Classify Modelica as Modelica and Not Mokoto (#8346)

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)
Commit 3e197608f9c44954e496b2a1afcc4cadb8c9078f by palanisamy arunkumar
add QStackedWidget for data Reconciliation Algorithm (#8354)

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)
Commit 8713a817d7e5f3cde04f714373aae3bfe6180b67 by Mahder Gebremedhin
Do not expand slices in NF if targeting CPP runtime. (#8356)

  - This is not desired for the CPP runtime for now.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff)
Commit 602775e88574c3dd57bc17feffcad1b374dc14db by adrian.pop
revert the last OPC UA commit as it breaks the Windows builds (#8358)

- we will put it back after we check that it builds on Windows
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)
Commit ff44d506780034fecf7ec4920442cc360dde986f by palanisamy arunkumar
implement fmi2SetRealInputDerivatives (#8357)

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 addedtestsuite/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 removedOMCompiler/SimulationRuntime/ParModelica/explicit/openclrt/ocl_offcomp.cpp
The file was modified OMCompiler/SimulationRuntime/ParModelica/explicit/openclrt/CMakeLists.txt (diff)
The file was removedOMCompiler/SimulationRuntime/ParModelica/explicit/openclrt/ocl_offcomp.c
Commit 2816063fafcb04e3d255fa17b22eaa3746d20561 by palanisamy arunkumar
validate dataReconciliation GUI (#8368)

The file was modified OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff)
Commit 4c87b752b8af291f66c6323e1d0138b9af373e6a by adrian.pop
check if mpLibraryTreeItem is not NULL as it can be when re-simulating (#8370)

- fix #8369
The file was modified OMEdit/OMEditLIB/Simulation/SimulationDialog.cpp (diff)
Commit 5cc21bb3c0be839c7d1d06ab23fab4735d1d04be by Mahder Gebremedhin
Compile sundials as position independent code. (#8372)

   - Compile the static libraries of sundials with pic enabled. This is
      so that we can incorporate them in to our FMU runtime libs.
The file was modified OMCompiler/Makefile.common (diff)
Commit 94e2beef9ed03d7bab0f063ef1586d9631d0be49 by palanisamy arunkumar
check epsilon greater than 0 for dataReconciliation (#8375)

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 addedtestsuite/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 addedtestsuite/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 addedtestsuite/simulation/modelica/synchronous_c/inferredConstructor1.mos
The file was addedtestsuite/simulation/modelica/synchronous_c/sampleVar.mos
The file was addedtestsuite/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 addedtestsuite/simulation/modelica/synchronous_c/subSample.mos
The file was addedtestsuite/ReferenceFiles/msl40/Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.csv
The file was addedtestsuite/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 addedtestsuite/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 addedtestsuite/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 addedtestsuite/simulation/modelica/synchronous_c/inferredConstructor2.mos
The file was modified testsuite/Makefile (diff)
The file was addedtestsuite/simulation/modelica/synchronous_c/intervalBase.mos
The file was addedtestsuite/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 addedtestsuite/simulation/modelica/synchronous_c/firstTick.mos
The file was addedtestsuite/simulation/modelica/synchronous_c/Makefile
The file was addedtestsuite/simulation/modelica/synchronous_c/backSample1.mos
The file was addedtestsuite/simulation/modelica/synchronous_c/subSuperSample2.mos
The file was modified OMCompiler/SimulationRuntime/c/simulation/solver/solver_main.c (diff)
The file was addedtestsuite/simulation/modelica/synchronous_c/inferredSampleVar.mos
The file was addedtestsuite/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 addedtestsuite/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 addedtestsuite/simulation/modelica/synchronous_c/shiftSample1.mos
The file was modified OMCompiler/Compiler/NFFrontEnd/NFBuiltinFuncs.mo (diff)
The file was addedtestsuite/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 addedtestsuite/simulation/modelica/synchronous_c/holdVar.mos
The file was modified OMCompiler/Compiler/BackEnd/BackendVarTransform.mo (diff)
The file was addedtestsuite/simulation/modelica/synchronous_c/rationalConstructor1.mos
Commit df85172ec3016aa69894b1d13d8138877139e1b7 by 38031952+AnHeuermann
Use BUILD_TYPE for OMSimulator CMake build (#8378)

The file was modified omsimulator.cmake (diff)
Commit 8291efd717966553729b89055c8b9b23b77d77f4 by Hannebohm Philip
Refactor debug print of backenddaeinfo (#7790)

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)
Commit 102cf6e62fe8462f52da4e3e5cbde8989b4e753e by Östlund Per
Check for negative dimensions later (#8393)

- Move the check for negative dimensions from typing to flattening, so
  it's done after deleted conditional components have been removed.

Fixes #8374
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 addedtestsuite/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 addedtestsuite/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)
Commit eb90919623cb35052c42a808ed37c965202eb6ea by Hannebohm Philip
Fix handling of REAL_CLOCK (#8390)

- Do not put Clock constructor arguments inside previous call,
but still generate local var if necessary.
- No need to update constant interval.
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 removedOMCompiler/Compiler/Util/GC.mo
The file was addedOMCompiler/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 addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/InnerOuterPartialOuter2.mo
The file was addedtestsuite/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 addedtestsuite/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)
Commit 06f963d473b1e555058aff23be7772830e129483 by Östlund Per
Handle inverse in dependency analysis (#8403)

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 removedOMCompiler/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 addedOMCompiler/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)
Commit 0b740e75eb1733afa0fd1e3d8a2690a81cd9d4a7 by Hannebohm Philip
Fix homotopy depenency in initial equations (#8408)

* Fix homotopy depenency in initial equations

  Don't ignore variables in simplified expression of homotopy
  when building adjacency matrix.

* Add test case
The file was addedtestsuite/simulation/modelica/initialization/homotopy7.mos
The file was modified OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff)
Commit 6e1b5f7b645c0ec30050b1e9e59e57e49301a1b0 by Mahder Gebremedhin
Compile the resource files with the GUI executables (#8412)

  - The .rc files need to be compiled as part of the exe generation.
    To get, among other things, the icons.
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 addedtestsuite/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)
Commit ec6160b8d920800f3c69334f80a347c352fdc5ad by Östlund Per
Fix typing of crefs in record constructors (#8413)

The file was modified OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo (diff)
The file was addedtestsuite/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)
Commit 4196d445144b4b0c86c9de3d8363e2b7ccd50cfc by Östlund Per
Partially revert #8414 (#8420)

The file was modified OMCompiler/Compiler/NFFrontEnd/NFType.mo (diff)
Commit 0aa0fe7c65fb8d650f2f1758c38867dfb6938deb by Östlund Per
Revert cref typing fix that doesn't quite work (#8421)

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)
Commit a3c5036cfb3539630adf6bf3a6bb8cc7f03d4ed3 by Östlund Per
Fix #8413 properly (#8422)

- Improve the function check to better detect when in a record
  constructor.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/RecordBinding10.mo
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit baeba1188778dd620a2723a3c90a953496c8c934 by Mahder Gebremedhin
Modify the C flags not the CXX flags. Typo.

  - It was modifying the CXX flags instead of the C flags.
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 addedcmake/modules/Findbinutils.cmake
The file was modified CMakeLists.txt (diff)
Commit 2eba6534d37d050cd03a4593036d266e872817d0 by Mahder Gebremedhin
libbfd needs libintl and zlib.

  - Look for libintl if bdf is found.

  - We use our own zlib so link to that where needed.
The file was modified OMEdit/OMEditLIB/CMakeLists.txt (diff)
The file was modified cmake/modules/Findbinutils.cmake (diff)
Commit 8986c02296720b413fb8fee4c7ae7ab07cf0cf65 by Mahder Gebremedhin
Mark the qt clients as GUI executables.

  - So that, for example, they do not open a consol when they
    are launched.
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)
Commit 04813f518bbbc04025a1f78d1ffb4fb5cd3edfa3 by adeel.asghar
Copy the element dimensions when duplicating (#8429)

Fixes #8258
Catch the exception thrown by FlatModelica expression class. Avoids crashing OMEdit. See #8416.
The file was modified OMEdit/OMEditLIB/Modeling/Commands.cpp (diff)
The file was modified OMEdit/OMEditLIB/OMC/OMCProxy.cpp (diff)
Commit 0dc5d2bafa6e98b40d409e70459ed64a67878190 by Östlund Per
Check restriction on class to be instantiated (#8430)

- Check that the class the frontend is being asked to instantiate isn't
  a package or a function.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/InstanceRestriction1.mo
The file was addedtestsuite/flattening/modelica/scodeinst/InstanceRestriction2.mo
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit 24b85e3329e75b88138f741cca5ac26a70ef31b1 by Östlund Per
Improve TryExtends test case (#8431)

- Change the TryExtends test case to call the function instead of
  instantiating it, since it shouldn't be possible to instantiate a
  function.
The file was modified testsuite/metamodelica/meta/TryExtends.mos (diff)
Commit e2546399fe07a35c7551a5692537bfc26cf9ae78 by adeel.asghar
Ask for the name when duplicating the component (#8434)

Fixes #8282
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)
Commit 808cd71bd1357ceba4d54cfc12ea78754eae1565 by palanisamy arunkumar
fix --fmiFilter=blackBox and protected (#8433)

The file was addedtestsuite/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 addedtestsuite/omsimulator/fmiBlackBox.mos
The file was modified testsuite/omsimulator/Makefile (diff)
The file was modified OMCompiler/SimulationRuntime/c/simulation/simulation_info_json.c (diff)
Commit b76366f1c306687196e7340dcf0e490fca54b986 by Östlund Per
Further improve context check in typeCref (#8435)

The file was modified OMCompiler/Compiler/NFFrontEnd/NFInst.mo (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff)
The file was addedtestsuite/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 addedtestsuite/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 addedtestsuite/openmodelica/interactive-API/instantiateFunction.mo
Commit d44625d8835b0f76069fab3e0abfa12775071921 by Östlund Per
Allow looking up functions in nested components (#8444)

- Allow comp1..compN.class1..classN.function(), previously only
  comp.class1..classN.function() was allowed.

Fixes #8428
The file was addedtestsuite/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)
Commit 5c10d4c725f1d915d9e11025e57ba4ef217fbf21 by Hannebohm Philip
Fix names for nonlinear sparse solver flags (#8447)

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)
Commit 5e94f19b4a3098a639b4c4745ba5bb26d64f24e8 by adeel.asghar
Only try to read the profiling json file when profiling is on (#8467)

Fixes #8316
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 addedtestsuite/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 addedtestsuite/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)
Commit 68fa35afa074b6c652bf66766b1e8f68fe0cdd19 by 38032125+kabdelhak
[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
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)
Commit 6e92c1b6c1cdea002c61627cddb9edd8b508f40a by Östlund Per
Implement automatic component merging (#8490)

- Implemented automatic merging of similar components into arrays,
  enabled by the flag `-d=mergeComponents`.
The file was modified OMCompiler/Compiler/Util/Util.mo (diff)
The file was addedtestsuite/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 addedtestsuite/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 addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/MergeComponents5.mo
The file was addedtestsuite/flattening/modelica/scodeinst/MergeComponents1.mo
The file was modified OMCompiler/Compiler/FrontEnd/SCodeUtil.mo (diff)
The file was addedtestsuite/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)
Commit bf4bc931e65b15283dfd5cea659b1d2070829961 by Mahder Gebremedhin
Install the dgesv headers to the FMU sources dir.

  - This was listing them in the sources list by mistake.

    They should be installed but they should not be added to the sources
    list.
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)
Commit df769f4376fb8e7dfcda400684d870a1d11c39ce by Östlund Per
Improve typing of crefs (#8495)

- Type all scope parts of a cref, not just the first one.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff)
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
The file was addedtestsuite/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)
Commit 262ad75b37ca6e3710a4504489382e14702ae5e8 by Mahder Gebremedhin
Documentation for OpenModelica CMake config. (#8497)

  - The CMake build system is now good enough for general daily usage on
    Windows as well as Linux.
The file was addedREADME.cmake.md
Commit bfdc7155ce7cf4b2cea5c16d63f231c5953f174e by Östlund Per
Fix Testsuite.friendly2 for cmake build (#8498)

- Also remove `install_cmake` from the path when generating a
  testsuite-friendly path.
The file was modified OMCompiler/Compiler/Util/Testsuite.mo (diff)
Commit 33200a080e48514c921362454154443785f50eaa by Östlund Per
Make rtest work with both cmake and autotools (#8499)

- Select $OPENMODELICAHOME based on whether omc exists in the cmake
  build folder or not.
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)
Commit 6d6801bbce0c733bc0ee916c663badb29e0b4bff by Hannebohm Philip
Fix detection of discrete array variables (#8514)

The file was modified OMCompiler/Compiler/BackEnd/BackendDAECreate.mo (diff)
Commit 4a43dbcc574225440a4b299f38acf96dcf8f2164 by Östlund Per
Give an error for invalid unit expressions (#8518)

- Give an error message if a unit expressions fails to parse instead of
  throwing an internal error.

Fixes #8509
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 addedtestsuite/simulation/modelica/unitcheck/UnitCheck20.mos
The file was modified OMCompiler/Compiler/Util/Error.mo (diff)
Commit 2db8f705c92767f961145ad4f1395e813bd7eeb1 by 38032125+kabdelhak
[FE] update unboxing for metamodelica (#8519)

  - add support of unboxing in array subscripts that are qualified crefs
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)
Commit 4dbf5668cf2ea9e5f1908b2a09291eaf253d9262 by Ruge Vitalij
[DO] added documentation from massimo ceraolo (#8068)

The file was addeddoc/UsersGuide/source/media/do/image7.png
The file was addeddoc/UsersGuide/source/media/do/image11.png
The file was addeddoc/UsersGuide/source/media/do/image8.png
The file was addeddoc/UsersGuide/source/media/do/image5.png
The file was modified doc/UsersGuide/source/optimization.rst (diff)
The file was addeddoc/UsersGuide/source/media/do/image15.png
The file was addeddoc/UsersGuide/source/media/do/image1.png
The file was addeddoc/UsersGuide/source/media/do/image9.png
The file was addeddoc/UsersGuide/source/media/do/image13.png
The file was addeddoc/UsersGuide/source/OM_DOWithAnnotations.rst
The file was addeddoc/UsersGuide/source/media/do/image16.png
The file was addeddoc/UsersGuide/source/media/do/image10.png
The file was addeddoc/UsersGuide/source/media/do/image3.png
The file was addeddoc/UsersGuide/source/media/do/image14.png
Commit c3c0e2b08e4026d7875efdf18068531f39e1ad07 by Östlund Per
Warn about trailing whitespace in rtest baselining (#8526)

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 addedOMCompiler/Compiler/NSimCode/HashTableSimCode.mo
The file was modified OMCompiler/Compiler/boot/LoadCompilerSources.mos (diff)
The file was addedtestsuite/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 addedOMCompiler/Compiler/NFFrontEnd/NFBackendExtension.mo
The file was addedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBCausalize.mo
The file was addedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBAdjacency.mo
The file was addedtestsuite/simulation/modelica/NBackend/array_handling/simple_nested_for.mos
The file was addedOMCompiler/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 addedtestsuite/simulation/modelica/NBackend/msl/Makefile
The file was modified OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake (diff)
The file was addedOMCompiler/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 addedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBRemoveSimpleEquations.mo
The file was addedOMCompiler/Compiler/NBackEnd/Classes/NBVariable.mo
The file was addedOMCompiler/Compiler/NBackEnd/Modules/3_Post/NBTearing.mo
The file was addedOMCompiler/Compiler/NBackEnd/Util/NBBackendUtil.mo
The file was modified OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo (diff)
The file was addedOMCompiler/Compiler/NFFrontEnd/NFSBGraphUtil.mo
The file was addedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBMatching.mo
The file was modified OMCompiler/Compiler/NFFrontEnd/NFOperator.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/solveSingleEquation.mos
The file was addedtestsuite/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 addedOMCompiler/Compiler/NBackEnd/Util/NBGraphUtil.mo
The file was modified OMCompiler/Compiler/Util/UnorderedSet.mo (diff)
The file was addedOMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo
The file was addedOMCompiler/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 addedOMCompiler/Compiler/NBackEnd/Modules/NBModule.mo
The file was modified OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was addedOMCompiler/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 addedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBResolveSingularities.mo
The file was modified OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/detectStates.mos
The file was modified OMCompiler/Compiler/NFFrontEnd/NFComplexType.mo (diff)
The file was addedOMCompiler/Compiler/NSimCode/NSimVar.mo
The file was addedOMCompiler/Compiler/NSimCode/NSimJacobian.mo
The file was addedtestsuite/simulation/modelica/NBackend/array_handling/diagonal_slice_for.mos
The file was addedOMCompiler/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 addedtestsuite/simulation/modelica/NBackend/Makefile
The file was addedtestsuite/simulation/modelica/NBackend/partitioning.mos
The file was addedtestsuite/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 addedtestsuite/simulation/modelica/NBackend/eventSystem.mos
The file was addedtestsuite/simulation/modelica/NBackend/array_handling/exemplary.mos
The file was addedtestsuite/simulation/modelica/NBackend/minArr.mos
The file was modified OMCompiler/Compiler/BackEnd/RemoveSimpleEquations.mo (diff)
The file was addedOMCompiler/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 addedtestsuite/simulation/modelica/NBackend/RSE2.mos
The file was addedtestsuite/simulation/modelica/NBackend/simpleNonlinearLoop.mos
The file was addedOMCompiler/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 addedtestsuite/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 addedtestsuite/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 removedOMCompiler/Compiler/Util/AdjacencyList.mo
The file was addedOMCompiler/Compiler/NSimCode/NSimStrongComponent.mo
The file was modified testsuite/openmodelica/bootstrapping/ExpandableArrayTest.mos (diff)
The file was addedtestsuite/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 addedtestsuite/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 addedOMCompiler/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 addedtestsuite/simulation/modelica/NBackend/array_handling/slice_for.mos
The file was modified OMCompiler/Compiler/NFFrontEnd/NFBuiltinFuncs.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/helloWorld.mos
The file was modified OMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff)
The file was addedOMCompiler/Compiler/NBackEnd/Modules/1_Main/NBPartitioning.mo
The file was addedtestsuite/simulation/modelica/NBackend/differentation/allTheBuildins.mos
The file was addedOMCompiler/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 addedtestsuite/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 addedtestsuite/simulation/modelica/NBackend/underdetermined_init.mos
The file was addedOMCompiler/Compiler/NFFrontEnd/NFHashTableCrToExp.mo
The file was addedOMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo
The file was modified OMCompiler/Compiler/NFFrontEnd/NFFunction.mo (diff)
The file was addedOMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBDetectStates.mo
The file was addedOMCompiler/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 addedtestsuite/simulation/modelica/NBackend/StaticIR.mos
The file was modified OMCompiler/Compiler/Util/ClockIndexes.mo (diff)
The file was addedtestsuite/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 addedOMCompiler/Compiler/NFFrontEnd/NFHashSet.mo
The file was addedtestsuite/simulation/modelica/NBackend/implicitEquation.mos
The file was modified OMCompiler/Compiler/Util/StringUtil.mo (diff)
The file was addedOMCompiler/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 addedtestsuite/simulation/modelica/NBackend/minimalTearing.mos
The file was addedOMCompiler/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 addedOMCompiler/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)
Commit 07173a783287e3c4489be934b9402a33ed71a647 by Östlund Per
Improve evaluation of component references (#8530)

Fixes #8455, fixes #8456
The file was addedtestsuite/flattening/modelica/scodeinst/CevalBinding6.mo
The file was addedtestsuite/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)
Commit e15bbcf888ca10334f991a902ee279fb4102b39e by Hannebohm Philip
Remove trailing whitespace in solver dump (#8527)

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)
Commit 82f850c68ef7456b4f1ca818b9e13e0a85381661 by Mahder Gebremedhin
[CI] Parallel build for dependencies omedit-testsuite. (#8532)

  - Run the build, of everyting being built, in parallel.

    The `-j${numPhysicalCPU()}` argument was missing.
The file was modified .CI/common.groovy (diff)
Commit 5fd3b214d3dff8de5962e0f6047927755ac80b28 by Mahder Gebremedhin
Remove no longer needed linkage of ModelicaExternalC libs. (#8533)

  - This libs have not been needed to be linked in for a while since
    libOpenModelicaCompiler stopped depending on them.
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)
Commit 2638a98d8da672d33b0201e013da84f858cbc5de by Östlund Per
Make the self reference check in Lookup recursive (#8535)

Fixes #8521
The file was modified OMCompiler/Compiler/NFFrontEnd/NFLookup.mo (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/RecursiveExtends4.mo
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit eb0ed2668e8ad5d14df27fbb1c66d1585beb18c3 by 38031952+AnHeuermann
Find value of NEED_CMINPACK in configure (#8536)

Needed for source-code FMUs that have non-linear loops.
The file was modified OMCompiler/SimulationRuntime/fmi/export/buildproject/configure.ac (diff)
The file was modified testsuite/omsimulator/recompileFMU.mos (diff)
Commit 341ba59ae46d5b422ffad15fd948e1cc9cb76e9b by Hannebohm Philip
Fix zero crossing detection (#8537)

The operators div, mod, rem can return piecewise continuous values.
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 addedOMCompiler/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)
Commit f7516f6d3a446b1ad59918c55b39bb51b7e17526 by Mahder Gebremedhin
Update 3rdParty submodule. (#8542)

  - 3rdParty submodule was pointing to a branch on my fork instead of to
    master. It was overlooked when #8506 was merged.
The file was modified OMCompiler/3rdParty (diff)
Commit 70d7fff471519da52abcb3bcc7fd84168e4cd6f3 by Östlund Per
Improve typing of dimensions (#8543)

- Move the check for cyclic dimensions in order to allow more cases that
  can actually be handled without going into a typing loop.

Fixes #8454
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
The file was modified OMCompiler/Compiler/NFFrontEnd/NFTyping.mo (diff)
The file was addedtestsuite/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 addedtestsuite/flattening/modelica/scodeinst/ProtectedMod3.mo
The file was addedtestsuite/flattening/modelica/scodeinst/ProtectedMod4.mo
The file was addedtestsuite/flattening/modelica/scodeinst/ProtectedMod6.mo
The file was modified OMCompiler/Compiler/Util/Error.mo (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/ProtectedMod7.mo
The file was addedtestsuite/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 addedtestsuite/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)
Commit efbdcda99d38d0bc2b85b28970c0c7c243f81cbe by adeel.asghar
Save the experiment annotation without simulating the model (#8549)

Fixes #8538
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)
Commit ea6c02634a4a20fc8f83228ae09c49270abe1a09 by Lennart Ochel
Update .gitignore (#7701)

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)
Commit b1522d89fc2cc711183d5b85c6353e1c383d67de by Lennart Ochel
Make cse variables parameters that are added to globalKnownVars (#8551)

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 addedtestsuite/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 addedtestsuite/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)
Commit 3e9e9f81ce4c7dc3d0e0510db109f973252e93ee by Östlund Per
Fix simplification of `array or array` (#8559)

- Fix simplification of `array or array`, which was calling the wrong
  function and doing `and` instead of `or`.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff)
The file was addedtestsuite/flattening/modelica/scodeinst/OperationLogicalBinary2.mo
The file was modified testsuite/flattening/modelica/scodeinst/Makefile (diff)
Commit 75c31ea6cd3590ee66b3977843fb3fe583aaecac by Lennart Ochel
Return default start value according to type (#8558)

The file was modified testsuite/simulation/modelica/initialization/parameters.mos (diff)
The file was modified OMCompiler/Compiler/FrontEnd/DAEUtil.mo (diff)
Commit 2590823b625ce107acf50e69243503030e79d27a by Lennart Ochel
Only literal constants qualify as initial=exact (#8557)

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)
Commit 9bca51e40dcc45625cc1943370e9f401c8aa03e4 by Hannebohm Philip
[janitor] Remove unnecessary wrapper (#8566)

The file was modified OMCompiler/Compiler/FrontEnd/Expression.mo (diff)
Commit 11b99d955eba929d13901aa9f3e90dda57440aaa by Lennart Ochel
Check bindings for initialization (#8562)

Co-authored-by: arun3688 <rain100falls@gmail.com>
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)
Commit eee082e35181becab4b62988877bb5106cd042de by adeel.asghar
Populate the library and version drop-down based on filters (#8563)

* Populate the library and version drop-down based on filters

Fixes #8550

* Made the UI simple. Removed the version filters.
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)
Commit dfa5ea60321242c9852082fd4c735f50922ca4f4 by Östlund Per
Fix function evaluation regression (#8575)

- Don't create arrays with shared elements in
  Expression.fillType/fillArgs.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit 00da4a912f710bc884f2af53717f190b8c9a1318 by palanisamy arunkumar
generate partial derivatives for fmus with initialization DAE (#8477)

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)
Commit 287a4421170ee81a1b12ef6b54d63c4eb825dfc5 by Östlund Per
Improve function evaluation (#8580)

- Evaluate the bindings of outputs and local parameters to make sure
  they can be assigned to in the function body.
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 addedtestsuite/flattening/modelica/scodeinst/CevalFuncArray5.mo
Commit 3f313de0512ab82dac89b9dbd9c8f153cd5c8688 by Lennart Ochel
Fix --fmiFilter=protected (#8579)

The file was modified OMCompiler/Compiler/SimCode/SimCodeMain.mo (diff)
The file was modified OMCompiler/Compiler/SimCode/SimCodeUtil.mo (diff)
Commit 88f80d558de320cf735fbc4abc47252711166502 by Lennart Ochel
Update BooleanNetwork1 (#8581)

The file was removedtestsuite/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)
Commit edbf69405ddfacc18c2461d50d6a9f8eaba898f0 by palanisamy arunkumar
filter variables from knowns and unknowns for directional derivatives (#8576)

Co-authored-by: Lennart Ochel <lennart.ochel@ri.se>
The file was modified testsuite/openmodelica/fmi/ModelExchange/2.0/fmi_attributes_17.mos (diff)
The file was addedtestsuite/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)
Commit e907ba7a81a9ff808aa8ada9914c70d9c1ef680d by Kiel Henning
Return default start value for enumerations (#8569)

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)
Commit 1a809ac7ef70c8e4df25d2dedf108d5a2dbe2c3f by Lennart Ochel
Use --fmiFilter=protected by default (#8585)

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)
Commit b6e1ec940f74e285895ad38c5fe9f30df194225d by Ruge Vitalij
Updates to optimization chapter (#8541)

The file was modified doc/UsersGuide/source/optimization.rst (diff)
The file was modified doc/UsersGuide/source/OM_DOWithAnnotations.rst (diff)
Commit d6e04c0efc8eb9788a7f0f967fa419a855eacb68 by Östlund Per
Fix function evaluation for HelmholtzMedia (#8586)

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)
Commit 012d9194508068fd81e16c54ac8db346c3c87db1 by adeel.asghar
Sync with compiler default for --fmiFilter (#8594)

The file was modified OMEdit/OMEditLIB/Options/OptionsDialog.cpp (diff)
Commit 5e4e3261525c48c7b7bfc228dfb69b36b7f0b640 by Lennart Ochel
Update OMSimulator (#8457)

The file was modified OMSimulator (diff)
Commit 0d6d5fd11d82a339bb4662b6f7719b40cce71f3c by Lennart Ochel
Update OMSimulator (#8597)

The file was modified OMSimulator (diff)
The file was modified testsuite/omsimulator/testLoopsOverFMUs.mos (diff)
Commit 1c2ab765df7c3320ebee2d4a6d9f29f6d3f8e44d by adeel.asghar
Better representation of derivatives of arrays (#8598)

Fixes #8009
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)
Commit a00489cc19a5d9553b97f879cb8a1d7eb322f32d by palanisamy arunkumar
update dataReconciliation Users Guide (#8603)

The file was modified doc/UsersGuide/source/dataReconciliation.rst (diff)
The file was addeddoc/UsersGuide/source/media/dataReconciliationResult_2.png
The file was addeddoc/UsersGuide/source/media/dataReconciliationResult.png
The file was addeddoc/UsersGuide/source/media/dataReconciliationResult_4.png
The file was addeddoc/UsersGuide/source/media/dataReconciliationcsvinput.png
The file was removeddoc/UsersGuide/source/media/datareconciliation_csv_report.png
The file was removeddoc/UsersGuide/source/media/datareconciliation_Inputfile.png
The file was removeddoc/UsersGuide/source/media/datareconciliationSplitter_Input.png
The file was removeddoc/UsersGuide/source/media/datareconciliation_htmlreport.png
The file was addeddoc/UsersGuide/source/media/dataReconciliationResult_3.png
The file was removeddoc/UsersGuide/source/media/datareconciliation_simulationFlag.png
The file was removeddoc/UsersGuide/source/media/datareconciliation_ResultDirectory.png
The file was addeddoc/UsersGuide/source/media/dataReconciliationcorrelationcsvinput.png
The file was removeddoc/UsersGuide/source/media/datareconciliation_resimulate.png
The file was addeddoc/UsersGuide/source/media/dataReconciliationsplitter.png
The file was removeddoc/UsersGuide/source/media/datareconciliation_translationFlag.png
The file was addeddoc/UsersGuide/source/media/dataReconciliationsplittercomponent.png
The file was addeddoc/UsersGuide/source/media/boundaryConditionResults.png
Commit e16ede2e09485c936a75eb0a94b8d12b7b505ab5 by bernhardbachmann
Corrected counting of solvers statistcs (#8606)

Fixed ticket #8604
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)
Commit 64d8413db03407fccd623cd9d6c60c9b71ea0560 by Lennart Ochel
Fix computation of directional derivatives (#8611)

The file was modified OMCompiler/SimulationRuntime/fmi/export/openmodelica/fmu2_model_interface.c.inc (diff)
Commit cfdd44eea2e8d74c1cdcd7f5205cfbd3a334de57 by Lennart Ochel
Update --fmiFilter description (#8612)

The file was modified OMCompiler/Compiler/Util/Flags.mo (diff)
Commit 39a21aaa8206c5de089db99c551dd0b7c2c57fdc by Lennart Ochel
Update OMSimulator (#8613)

The file was modified OMSimulator (diff)
Commit e44c5d71893502591f9994de070d0fdbf2b91ac5 by Lennart Ochel
Update OMSimulator (#8614)

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 addedOMCompiler/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 removedOMCompiler/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 addedtestsuite/simulation/modelica/NBackend/array_handling/Makefile
The file was removedtestsuite/simulation/modelica/NBackend/array_handling/slice_for.mos
The file was modified testsuite/simulation/modelica/NBackend/array_handling/exemplary.mos (diff)
The file was removedOMCompiler/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 addedOMCompiler/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)
Commit f425a438ccdbabad830fde38a099e012b5b472c0 by adeel.asghar
Handle the inheritance when animating using DynamicSelect annotation (#8623)

Fixes #8607
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)
Commit 46c6e9eac47555756ce71d1f4ea8f06f360918b3 by Östlund Per
Fix Expression.recordElement (#8626)

- Set the correct type in the case that handles empty arrays of record
  instances.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit 76ee2db19482ebee97f285dec1f2e6a0e0e0ca53 by bernhardbachmann
Fixed handling of events in daeMode with no states (#8625)

The file was modified OMCompiler/SimulationRuntime/c/simulation/solver/dae_mode.c (diff)
Commit 236dd9c0924bfaba09f01110aa78e495d1cb3139 by Östlund Per
Clean up interactive API implementation a bit (#8628)

- Remove some unused variables and unnecessary matching.
The file was modified OMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
Commit 5d2381ceaf21d210f1800077b192c5fc512028b9 by Lennart Ochel
Update OMSimulator (#8627)

The file was modified testsuite/omsimulator/testLoopsOverFMUs.mos (diff)
The file was modified OMSimulator (diff)
Commit 92982c42b7b51cecc912651068f9fe1e7770512c by palanisamy arunkumar
fix typos in data Reconciliation users guide (#8631)

The file was modified doc/UsersGuide/source/dataReconciliation.rst (diff)
Commit df5422bf1c99024e96b673a0e813dbfe4771ff50 by palanisamy arunkumar
fix typos in dataReconciliation.rst (#8636)

The file was modified doc/UsersGuide/source/dataReconciliation.rst (diff)
Commit 562c483f17254508951a0bb1ab9f9fc6aa002d12 by Lennart Ochel
Update OMSimulator (#8637)

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 addedtestsuite/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 addedtestsuite/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 addedtestsuite/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)
Commit f2b184939a0b337d3646bbb752771922c5143ad6 by francesco.casella
Update issue templates (#8486)

The file was modified .github/ISSUE_TEMPLATE/first_bug_report.md (diff)
The file was modified .github/ISSUE_TEMPLATE/bug_report.md (diff)
Commit 39088fb9df331ec3899495658831d61492d86c3a by Hannebohm Philip
[NB] Fix derivatives of some builtin functions (#8643)

The function values of abs, mod and rem are indeed not discrete if
their arguments are not, so their derivatives are not zero.
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)
Commit 60ede2fc084c620608c5d9204261acb0eb7dc62d by Hannebohm Philip
[janitor] cummulated stuff (#8426)

* [janitor] cummulated stuff

* Replace matchcontinue with match

* Remove redundant wrapper
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)
Commit e4e5fe7c27532d4a810941be67eabe1096a76761 by adeel.asghar
Update the connection when start and end belong to the same element (#8645)

The file was modified OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp (diff)
The file was modified OMEdit/OMEditLIB/Element/CornerItem.cpp (diff)
Commit 55f5d0ddcc6b61928b72807e4d41845d1b2fe1f1 by Östlund Per
Add callback for loading models (#8647)

- Add a callback that's called whenever the compiler loads any new
  models.
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 addedtestsuite/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)
Commit 30bf246985c28ec7d87e5df3c57de649f8727961 by Hannebohm Philip
Add assert check for event sub-clocks (#8650)

The file was modified OMCompiler/SimulationRuntime/c/simulation/solver/synchronous.c (diff)
The file was addedtestsuite/simulation/modelica/synchronous/EventSubClock.mos
The file was addedtestsuite/simulation/modelica/synchronous/EventSubClock.mo
The file was modified testsuite/simulation/modelica/synchronous/Makefile (diff)
Commit fa6f392526289f3eaceebf71f3430c0025642901 by bernhardbachmann
No states da emode fix (#8655)

* Fixed handling of events in daeMode with no states

* Fixed DAE mode when number of states is zero
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)
Commit a9f4b68963b416992233fb82f8fe368c4fc33355 by Hannebohm Philip
[janitor] Fix CodegenC.tpl (#8657)

- Treat didEventStep like a bool
- Put braces around if body
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)
Commit de06db4d32a485e3e1b9903641bffab6b4ba4d3d by adeel.asghar
Use the callback function to see which libraries are auto loaded (#8660)

Add the automatically loaded libraries to Libraries Browser.
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)
Commit 5b39f819eab9f234ff7a8b5fc64bdd08546e7293 by adeel.asghar
Removed the prompt for switching to OF if translation fails (#8663)

The NF is better than OF now so its no point to prompt to the user to try with OF.
The option to enable OF is still there.
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)
Commit 91ad82a99593de6e3d9cfc4152e7a6f83c564706 by bernhardbachmann
Fixed reinit in DAE (#8664)

- Marked reinit equations as discrete
- Set states in ida for correct restart at events
The file was modified OMCompiler/SimulationRuntime/c/simulation/solver/ida_solver.c (diff)
The file was modified OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo (diff)
Commit 7e47840d3e9bc6cc6d005029e17c90e976d0a383 by Östlund Per
Don't overwrite inner/outer for derived types (#8668)

- Don't overwrite the original inner/outer attribute when merging
  derived class attributes.

Fixes #8667
The file was addedtestsuite/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 addedtestsuite/simulation/modelica/NBackend/event_handling/Makefile
The file was addedtestsuite/simulation/modelica/NBackend/event_handling/eventSystem.mos
The file was removedtestsuite/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 addedtestsuite/simulation/modelica/NBackend/event_handling/hybridSys.mos
The file was addedtestsuite/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)
Commit 1347ed8241dd25a3f4f999061a6909852f2a2152 by adeel.asghar
Add a drop down button for system libraries on the start page (#8665)

* Add a drop down button for system libraries on the start page

* Install library button on the welcome screen.
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)
Commit 9e4f2b55dfea9d5f9c1cddefb316cce77c2fad92 by adeel.asghar
Use "Level of support by OpenModelica" instead of "Support Levels" (#8669)

Fixes #8550
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)
Commit b507d3098980ddb420a020d64a8538dbd91e445b by Östlund Per
First draft of getModelInstance API (#8676)

- Implement getModelInstance.
- Improve the JSON parser to also allow constructing JSON structures in
  a convenient manner.
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)
Commit 17088e2fce9c03a5eb08f363adfe722bf23d158d by 38031952+AnHeuermann
Removing debug prints / comments (#8677)

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)
Commit 195f215549eb195d595a6c54c5ca08dff9e4eb7f by Hannebohm Philip
Fix bug with hash sets (#8654)

The file was modified OMCompiler/Compiler/NFFrontEnd/NFAlgorithm.mo (diff)
Commit ea634ddcdee8d9ba0d59e81661f0be9972632ebd by 38031952+AnHeuermann
Fixing memory leak in ida_solver. (#8675)

Related issue: #8664
The file was modified OMCompiler/SimulationRuntime/c/simulation/solver/ida_solver.c (diff)
Commit 9cdc236a2fcecab61e200d1b6c54436b1fdfa555 by adeel.asghar
Only apply the prefix if unit is one of prefixable unit (#8673)

* Only apply the prefix if unit is one of prefixable unit

Enable the prefix units feature by default
Fixes #8584, fixes #8488

* Add rpm
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)
Commit c94e2ebbd97fbe9b3bed444316d85702b4718338 by Östlund Per
getModelInstances fixes (#8683)

- Expand split subscripts in crefs.
- Resolve inner/outer components to the outer one.
- Remove some unused code in the JSON parser.
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 addedOMCompiler/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 addedtestsuite/simulation/modelica/parmodauto/Modelica.Electrical.Analog.Examples.CauerLowPassSC.mos
The file was addedtestsuite/simulation/modelica/parmodauto/Modelica.Fluid.Examples.BranchingDynamicPipes.mos
The file was modified testsuite/Makefile (diff)
The file was addedtestsuite/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)
Commit 4286dad4dce88bb8c692eb355b870123d1db4177 by Hannebohm Philip
[janitor] Refactor program logic (#8684)

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 addedtestsuite/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 addedtestsuite/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)
Commit 4e0bd4446b015269339087ad9c3677b7c327ef2b by adrian.pop
link lib64 to lib so libantrl4-runtime lib can be found (#8700)

- get el8 and fedora to work
The file was modified OMParser/Makefile (diff)
Commit cf55d3bb79db6ed9afcb1a9daa0867a80210dfb2 by Lennart Ochel
Update .gitignore (#8695)

The file was modified OMCompiler/.gitignore (diff)
Commit 5715e5ca473bff0511ca933dae252e8617acd46c by 38032125+kabdelhak
[NB] add pseudo array sparsity patterns (#8694)

- correctly create pseudo array sparsity patterns for for-loops
- correctly handle inner equations and inner variables in sparsity patterns for for-loops
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 addedtestsuite/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)
Commit ac633679b4fd22ecf7514831f6926c9212ead7af by adeel.asghar
Make a duplicate of the environment value (#8703)

Fixes #8686
The file was modified OMCompiler/Compiler/runtime/settingsimpl.c (diff)
Commit c9ba3f488006dcbfbdc612e9116ffd8222532b7d by palanisamy arunkumar
set start values attributes in initialization mode (#8696)

The file was modified testsuite/omsimulator/Makefile (diff)
The file was modified OMCompiler/Compiler/Template/CodegenFMU.tpl (diff)
The file was addedtestsuite/omsimulator/Issue_FMU_update_vars.mos
Commit 842f9acb270fb728d30ea7477d90972fce08fcab by 38031952+AnHeuermann
Error message and fail for realpath (#8706)

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 addedtestsuite/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 addedOMCompiler/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)
Commit c553b0a043acb52f5c21c0ad5ab49a1a185a3608 by Kiel Henning
improved resolveLoops (#8680)

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)
Commit 9fa25f28cd4591b7190504fa09276e1dfbb156c8 by adeel.asghar
Plot constant curves for practically constant variables (#8707)

* Plot constant curves for practically constant variables

Fixes #4232

* Fix fuzzyCompare

* Fix build
The file was addedOMPlot/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 addedOMPlot/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)
Commit 2dbc7f761b6804e0a31b7354cdae527e84780662 by adrian.pop
fix unit conversion issues on 32bit [#8699] (#8710)

The file was addedtestsuite/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)
Commit 37eb8d967ffa20b0079073de7e7df001c02b1e8b by 38032125+kabdelhak
[NB] coloring small fix (#8715)

The file was modified OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo (diff)
The file was modified OMCompiler/Compiler/NSimCode/NSimJacobian.mo (diff)
Commit 95159610bc0c4e1d387ac01d08b37004eecc85b4 by 38032125+kabdelhak
[NB] fix coloring  (#8718)

* [NB] coloring small fix

* [NB] fix coloring

- correctly account for indirect dependencies
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)
Commit f9ebf664b91e70579138f21baab7ddd20eb2c1eb by adeel.asghar
Changed Upgrade installed libraries to Update installed libraries (#8724)

Added a dialog to File | Update installed libraries explaining what it does.
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)
Commit 6c0a23a3ccee30053d3fd1cf23959639f92b82d6 by adeel.asghar
Delay processing the loadModel callback using QTimer (#8722)

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)
Commit 5dc98f9bcf7d445fa7139635a2e2f3337c5d23a3 by adrian.pop
fix the symbolic link (#8712)

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 addedtestsuite/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)
Commit d14d9fa1038a553d4f4d40f54054d999de046d32 by adeel.asghar
Use the correct heading (#8730)

The file was modified OMEdit/OMEditLIB/Modeling/ModelicaClassDialog.cpp (diff)
Commit c782d81a73e2338791a32ffd4fd09dc5ab20589d by adeel.asghar
Save and close the documentation editing when focus is on text view (#8732)

Fixes #8723
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)
Commit e704eb88a12c71bde61b9b68bc41377ea9e25f88 by User Hudson
Updated libraries
* libraries a83ef51...babdf06 (3):
  > Merge pull request #11 from adeas31/core-libs
  > Bump libraries
  > Bump libraries
The file was modified libraries (diff)