[root]/c_runtime/interactive
SampleClient
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 171 (100.0%) | 12322 (100.0%) | 72.0 |
sjoelund.se | 64 (37.4%) | 5280 (42.9%) | 82.5 |
perost | 22 (12.9%) | 3895 (31.6%) | 177.0 |
vasaie_p | 34 (19.9%) | 2482 (20.1%) | 73.0 |
adrpo | 48 (28.1%) | 661 (5.4%) | 13.7 |
lochel | 1 (0.6%) | 3 (0.0%) | 3.0 |
wbraun | 2 (1.2%) | 1 (0.0%) | 0.5 |
- GOT RID OF the old trunk/c_runtime and old templates SimCodeC.tpl/SimCodeFMU.tpl
- HIGHLY RECOMMENDED make clean
- renamed SimCodeXXX.tpl CodegenXXX.tpl
- merged the needed things from SimCodeC.tpl into CodegenQSS.tpl.
- all tests except the usual mishaps go.
- targeted all trunk/c_runtime references used in
Makefiles / C (Qt OMPlot) / Other files to their SimulationRuntime/ counterparts.
0 lines of code changed in 21 files:
- update a bit the omi_Calculation.cpp with things that are done before callSolver.
9 lines of code changed in 1 file:
- added stdio.h for gcc 4.4 compilation.
1 lines of code changed in 1 file:
- Use configured flags
2 lines of code changed in 1 file:
- BIG CHANGE!
- generate Model_init.xml instead of Model_init.txt
- clean objects in Model.makefile before compiling (Make doesn't seem to get that
Model.c is newer than Model.o if we issue two simulate commands for the same model,
even if the model changed via loadFile.)
- check the result of fflush in systemimpl.c and printimpl.c
- fflush in c_runtime/linearize.cpp
- added c_runtime/simulation_input_xml.h and cpp to read the Model_init.xml file.
- link the generated code with the XML parser library -lexpat as libc_runtime needs it now
- Model.c and Model_init.xml will now contain a GUID which is used in c_runtime/simulation_input_xml.cpp
to check if the Model_init.xml is matched with Model.c (Model.exe)
- The Model_init.xml is based on FMI but with much more information that we need for OMC.
- The Model_init.xml file it has no schema yet as it may change in the near future to include
more things that are now static in the generated code (Model.c). This will make compilation
of generated code faster.
- disabled testsuite/interactive-simulation/runInteractiveSimulation.mos and added only a
compilation test (more work is needed to make the run test more robust).
- updated tests and compiler files with the name change from _init.txt to _init.xml.
4 lines of code changed in 2 files:
reorder include files to avoid unknown references
3 lines of code changed in 1 file:
fix: changeParameterValues
fix: changeSimulationTime
update: interactive simulation performance
update: debug options
196 lines of code changed in 5 files:
fix: reinitialization after stopSimulation
fix: wrong references on ssdArray
update: setResultData and getResultData
update: resetSSDArrayWithNullSSD
update: initializeSSD_AND_SRDF
400 lines of code changed in 5 files:
fixed stopSimulation
223 lines of code changed in 5 files:
Debug stopSimulation function and changeSimulationTime v2
1 lines of code changed in 1 file:
- Fix compilation (merge conflict that was ignored instead of resolved)
0 lines of code changed in 1 file:
Debug stopSimulation function and changeSimulationTime v2
158 lines of code changed in 5 files:
- Fix compilation
1 lines of code changed in 1 file:
Debug stopSimulation function and changeSimulationTime
231 lines of code changed in 3 files:
- Remove the crap known as tabs from C sources
1411 lines of code changed in 13 files:
- Accept CC/CXX flags in more files
2 lines of code changed in 1 file:
update support for dassl2
update communication algorithm between runtime server and environment client
update English comments
fix communication between runtime server and environment client
fix done message after set filter
1154 lines of code changed in 8 files:
- possible fix to OMI interactive simulation.
- use timeValue instead of lastEmittedTime.
3 lines of code changed in 1 file:
- improvements to mmc GC (still disabled for now as is still slow)
+ added roots management to SimCodeC.tpl
- make VS happy by
+ having an array of 1 records without fields (Unparsing.tpl)
+ moving includes around
- new file SCodeCheck.mo (more will come here)
- better display of elements in SCode.mo
- added RCS lines to some files.
5 lines of code changed in 1 file:
- removed old dassl solver
- adjust testsuite
0 lines of code changed in 1 file:
- Made it a simulation error to an output-format that is not known instead of defaulting to plt
- Updated the measureTime option to print outputFormat and data sizes
- Improved handling of simulate() errors (now prints the contents of output.log when the simulation executable signals an error)
1 lines of code changed in 1 file:
- Fixed line endings of several files
1540 lines of code changed in 10 files:
- Added option variableFilter to translate/buildModel/simulate commands/simulation runtime
- This argument is a regular expression; any variable that matches this expression is present in the result file
- The default value is ".*", which matches _any_ variable
- The regex provided is treated as: ^(%regex%)$, i.e. you are forced to write regular expressions that match the complete name (no substring matches)
- Currently only implemented for plt/csv formats with mat coming in the near future
- Added an error message when a uniontype record contains a field that has the type of a uniontype record instead of a uniontype (this is more specific than the type mismatch error that used to be provided)
2 lines of code changed in 1 file:
- Replaced tab characters with 2 spaces (mostly in C sources since Eclipse/MDT usually manages to avoid using tabs)
$ svn diff Compiler/ | grep ^- | grep -v ^--- | wc -l
4771
$ svn diff c_runtime/ | grep ^- | grep -v ^--- | wc -l
13365
$ svn diff OMNotebook/ | grep ^- | grep -v ^--- | wc -l
17341
$ svn diff OMShell/ | grep ^- | grep -v ^--- | wc -l
582
1686 lines of code changed in 13 files:
- Rewrote the simulation runtime slightly
- names and comments of a variable is now stored in a record instead of different arrays
- This record also contains the Absyn.Info information (filename, line/column start/end)
- Removed sendDataHumbug. It has been replaced with preprocessor macros that disable sendData
17 lines of code changed in 4 files:
- Removed some tabs from omi
- Added some dependencies for omi_ServiceInterface.o
248 lines of code changed in 3 files:
- fixes for DynamicSelect in annotations (return the first and constant part)
- faster retrieval of annotations.
- fixes for the interactive simulation test and small fixes to the client.
9 lines of code changed in 1 file:
- exit if we cannot connect after we retry 5 times with 2 seconds delay.
5 lines of code changed in 1 file:
- Fixes to make the interactive client also compile on Linux.
2 lines of code changed in 2 files:
- build also the client for interactive simulation so we don't break it:
c_runtime/interactive/client.cpp
11 lines of code changed in 2 files:
- get rid of warnings, fixes for Linux.
3 lines of code changed in 3 files:
- updates to readmes and interactive-simulation test
- added the interactive-simulation to be run with the testsuite
- updated SimulationApplicationExample_TwoTanks.zip
8 lines of code changed in 1 file:
- finished the interactive-simulation test.
1 lines of code changed in 1 file:
- more work on testsuite for interactive-simulation
- made a better client.cpp that knows also how to read commands from a file.
- fflush(stdout) everywhere where we have cout!
- got rid of some warnings.
- still more work is needed for testing the test.
- translated *german* (duh!) messages to English.
583 lines of code changed in 9 files:
- make it portable
16 lines of code changed in 1 file:
- added a README.txt for interactive simulation.
2 lines of code changed in 1 file:
- Fix svn-eol-style on Makefiles
1 lines of code changed in 1 file:
- Ran make fix-svn-eol-style
353 lines of code changed in 7 files:
- get rid of the warning.
1 lines of code changed in 1 file:
- Changed code generation for when external object constructors are called
- It is now done after the input file has been read
- Ext.objs can now depend on (fixed) parameters, including strings
- Added code to support string parameters
- Added testcase ExtObjStringParam.mos based on bug https://openmodelica.org:8443/cb/issue/1163
1 lines of code changed in 1 file:
(6 more)