├── .CI ├── alpine │ └── Dockerfile ├── cache-32 │ └── Dockerfile ├── cache-arm32 │ └── Dockerfile └── cache │ └── Dockerfile ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── pull_request_template.md └── stale.yml ├── .gitignore ├── .gitmodules ├── BUILD.md ├── CMakeLists.txt ├── Jenkinsfile ├── OSMC-License.txt ├── README.md ├── config.cmake ├── FindSphinx.cmake ├── GetGitRevisionDescription.cmake ├── GetGitRevisionDescription.cmake.in └── OMSimulatorTopLevelSettings.cmake ├── doc ├── CMakeLists.txt ├── UsersGuide │ ├── .gitignore │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ ├── make.bat │ └── source │ │ ├── OMEdit.rst │ │ ├── OMSimulator.rst │ │ ├── OMSimulatorLib.rst │ │ ├── OMSimulatorLua.rst │ │ ├── OMSimulatorPython.rst │ │ ├── OpenModelicaScripting.rst │ │ ├── SSP.rst │ │ ├── api │ │ ├── RunFile.rst │ │ ├── activateVariant.rst │ │ ├── addBus.rst │ │ ├── addConnection.rst │ │ ├── addConnector.rst │ │ ├── addConnectorToBus.rst │ │ ├── addResources.rst │ │ ├── addSignalsToResults.rst │ │ ├── addSubModel.rst │ │ ├── addSystem.rst │ │ ├── compareSimulationResults.rst │ │ ├── copySystem.rst │ │ ├── delete.rst │ │ ├── deleteConnection.rst │ │ ├── deleteConnectorFromBus.rst │ │ ├── deleteResources.rst │ │ ├── doStep.rst │ │ ├── duplicateVariant.rst │ │ ├── export.rst │ │ ├── exportDependencyGraphs.rst │ │ ├── exportSSMTemplate.rst │ │ ├── exportSSVTemplate.rst │ │ ├── exportSnapshot.rst │ │ ├── freeMemory.rst │ │ ├── getBoolean.rst │ │ ├── getBus.rst │ │ ├── getComponentType.rst │ │ ├── getConnections.rst │ │ ├── getConnector.rst │ │ ├── getDirectionalDerivative.rst │ │ ├── getElement.rst │ │ ├── getElements.rst │ │ ├── getFMUInfo.rst │ │ ├── getFixedStepSize.rst │ │ ├── getInteger.rst │ │ ├── getModelState.rst │ │ ├── getReal.rst │ │ ├── getResultFile.rst │ │ ├── getSolver.rst │ │ ├── getStartTime.rst │ │ ├── getStopTime.rst │ │ ├── getString.rst │ │ ├── getSubModelPath.rst │ │ ├── getSystemType.rst │ │ ├── getTime.rst │ │ ├── getTolerance.rst │ │ ├── getVariableStepSize.rst │ │ ├── getVersion.rst │ │ ├── importFile.rst │ │ ├── importSnapshot.rst │ │ ├── initialize.rst │ │ ├── instantiate.rst │ │ ├── list.rst │ │ ├── listUnconnectedConnectors.rst │ │ ├── listVariants.rst │ │ ├── loadSnapshot.rst │ │ ├── newModel.rst │ │ ├── newResources.rst │ │ ├── referenceResources.rst │ │ ├── removeSignalsFromResults.rst │ │ ├── rename.rst │ │ ├── replaceSubModel.rst │ │ ├── reset.rst │ │ ├── setActivationRatio.rst │ │ ├── setBoolean.rst │ │ ├── setBusGeometry.rst │ │ ├── setCommandLineOption.rst │ │ ├── setConnectionGeometry.rst │ │ ├── setConnectorGeometry.rst │ │ ├── setElementGeometry.rst │ │ ├── setFixedStepSize.rst │ │ ├── setInteger.rst │ │ ├── setLogFile.rst │ │ ├── setLoggingCallback.rst │ │ ├── setLoggingInterval.rst │ │ ├── setLoggingLevel.rst │ │ ├── setMaxLogFileSize.rst │ │ ├── setReal.rst │ │ ├── setRealInputDerivative.rst │ │ ├── setResultFile.rst │ │ ├── setSolver.rst │ │ ├── setStartTime.rst │ │ ├── setStopTime.rst │ │ ├── setString.rst │ │ ├── setTempDirectory.rst │ │ ├── setTolerance.rst │ │ ├── setUnit.rst │ │ ├── setVariableStepSize.rst │ │ ├── setWorkingDirectory.rst │ │ ├── simulate.rst │ │ ├── simulate_realtime.rst │ │ ├── stepUntil.rst │ │ └── terminate.rst │ │ ├── conf.py │ │ ├── images │ │ ├── DualMassOscillator.png │ │ ├── omedit_01.png │ │ ├── omedit_02.png │ │ ├── omedit_03.png │ │ ├── omedit_04.png │ │ ├── omedit_05.png │ │ ├── omedit_06.png │ │ ├── omedit_07.png │ │ ├── omedit_08.png │ │ ├── omedit_09.png │ │ ├── omedit_10.png │ │ └── pi.png │ │ ├── index.rst │ │ └── introduction.rst └── dev │ └── OMSimulatorLib │ ├── .gitignore │ ├── CMakeLists.txt │ ├── Doxyfile │ ├── Makefile │ └── mainpage.md ├── include ├── CMakeLists.txt └── OMSimulator │ ├── OMSimulator.h │ └── Types.h ├── schema ├── CMakeLists.txt ├── fmi2 │ ├── fmi2Annotation.xsd │ ├── fmi2AttributeGroups.xsd │ ├── fmi2ModelDescription.xsd │ ├── fmi2ScalarVariable.xsd │ ├── fmi2Type.xsd │ ├── fmi2Unit.xsd │ └── fmi2VariableDependency.xsd ├── fmi3 │ ├── fmi3Annotation.xsd │ ├── fmi3AttributeGroups.xsd │ ├── fmi3ModelDescription.xsd │ ├── fmi3Type.xsd │ ├── fmi3Unit.xsd │ ├── fmi3Variable.xsd │ └── fmi3VariableDependency.xsd ├── oms.xsd └── ssp │ ├── SystemStructureCommon.xsd │ ├── SystemStructureDescription.xsd │ ├── SystemStructureDescription11.xsd │ ├── SystemStructureParameterMapping.xsd │ ├── SystemStructureParameterValues.xsd │ └── SystemStructureSignalDictionary.xsd ├── src ├── OMSimulator │ ├── CMakeLists.txt │ └── main.cpp ├── OMSimulatorGui │ ├── Application.cpp │ ├── Application.h │ ├── CMakeLists.txt │ ├── DemoLayer.h │ ├── FPSCounter.cpp │ ├── FPSCounter.h │ ├── Layer.h │ ├── ScopeLayer.h │ └── main.cpp ├── OMSimulatorLib │ ├── AlgLoop.cpp │ ├── AlgLoop.h │ ├── BusConnector.cpp │ ├── BusConnector.h │ ├── CMakeLists.txt │ ├── CSVReader.cpp │ ├── CSVReader.h │ ├── CSVWriter.cpp │ ├── CSVWriter.h │ ├── Clock.cpp │ ├── Clock.h │ ├── Clocks.cpp │ ├── Clocks.h │ ├── ComRef.cpp │ ├── ComRef.h │ ├── Component.cpp │ ├── Component.h │ ├── ComponentFMU3CS.cpp │ ├── ComponentFMU3CS.h │ ├── ComponentFMUCS.cpp │ ├── ComponentFMUCS.h │ ├── ComponentFMUME.cpp │ ├── ComponentFMUME.h │ ├── ComponentTable.cpp │ ├── ComponentTable.h │ ├── Connection.cpp │ ├── Connection.h │ ├── Connector.cpp │ ├── Connector.h │ ├── DirectedGraph.cpp │ ├── DirectedGraph.h │ ├── Element.cpp │ ├── Element.h │ ├── FMUInfo.cpp │ ├── FMUInfo.h │ ├── Flags.cpp │ ├── Flags.h │ ├── Logging.cpp │ ├── Logging.h │ ├── MATWriter.cpp │ ├── MATWriter.h │ ├── MatReader.cpp │ ├── MatReader.h │ ├── MatVer4.cpp │ ├── MatVer4.h │ ├── Model.cpp │ ├── Model.h │ ├── OMSFileSystem.cpp │ ├── OMSFileSystem.h │ ├── OMSString.cpp │ ├── OMSString.h │ ├── OMSimulator.cpp │ ├── Option.h │ ├── ResultReader.cpp │ ├── ResultReader.h │ ├── ResultWriter.cpp │ ├── ResultWriter.h │ ├── Scope.cpp │ ├── Scope.h │ ├── SignalDerivative.cpp │ ├── SignalDerivative.h │ ├── Snapshot.cpp │ ├── Snapshot.h │ ├── System.cpp │ ├── System.h │ ├── SystemSC.cpp │ ├── SystemSC.h │ ├── SystemWC.cpp │ ├── SystemWC.h │ ├── Util.h │ ├── Values.cpp │ ├── Values.h │ ├── Variable.cpp │ ├── Variable.h │ ├── Version.cpp.in │ ├── Version.h │ ├── XercesValidator.cpp │ ├── XercesValidator.h │ ├── ssd │ │ ├── ConnectionGeometry.cpp │ │ ├── ConnectionGeometry.h │ │ ├── ConnectorGeometry.cpp │ │ ├── ConnectorGeometry.h │ │ ├── ElementGeometry.cpp │ │ ├── ElementGeometry.h │ │ ├── SystemGeometry.cpp │ │ ├── SystemGeometry.h │ │ ├── Tags.cpp │ │ └── Tags.h │ ├── whereami.c │ └── whereami.h ├── OMSimulatorLua │ ├── CMakeLists.txt │ └── OMSimulatorLua.c ├── OMSimulatorPython │ ├── CMakeLists.txt │ ├── OMSimulatorPython3.bat │ ├── OMSimulatorPython3.in │ ├── __init__.py │ ├── capi.py │ ├── component.py │ ├── connection.py │ ├── connector.py │ ├── cref.py │ ├── elementgeometry.py │ ├── fmu.py │ ├── namespace.py │ ├── settings.py │ ├── ssd.py │ ├── ssm.py │ ├── ssp.py │ ├── ssv.py │ ├── system.py │ ├── unit.py │ ├── utils.py │ ├── values.py │ └── variable.py ├── OMSimulatorServer │ ├── .gitignore │ ├── CMakeLists.txt │ └── OMSimulatorServer.py └── pip │ ├── .gitignore │ ├── CMakeLists.txt │ ├── Makefile │ ├── README.md │ └── setup.py └── testsuite ├── .gitignore ├── CMakeLists.txt ├── Makefile ├── README.md ├── api ├── LOC.py ├── Makefile ├── NestedSystem.py ├── NewSSP.py ├── NewSSP2.py ├── NewSSP3.py ├── create_ssp_file.py ├── cref.py ├── duplicateVariant1.py ├── duplicateVariant2.py ├── exportJson1.py ├── exportJson2.py ├── exportJson3.py ├── exportJson4.py ├── exportSSMTemplate1.py ├── exportSSMTemplate2.py ├── exportSSVTemplate1.py ├── exportSSVTemplate2.py ├── fmuinfo.py ├── invalidSSD.py ├── invalidSSV.py ├── listSSVReference1.py ├── setMappingSSM1.py ├── setMappingSSM2.py ├── setMappingSSM3.py ├── setSolver1.py ├── setSolver2.py ├── setValue1.py ├── setValue2.py ├── setValue3.py ├── setValue4.py ├── setValueSSV1.py ├── setValueSSV2.py ├── setValueSSV3.py ├── swapSSV1.py ├── swapSSV2.py ├── swapSSV3.py └── swapSSV4.py ├── dcmotor ├── Makefile └── dcmotor.py ├── difftool ├── .gitignore ├── CMakeLists.txt ├── Makefile └── omc-diff.l ├── parker ├── Makefile └── ParkerSim.py ├── partest ├── runtest.pl └── runtests.pl ├── references ├── AircraftVehicleDemonstrator.mat ├── BouncingBall-cs.mat ├── BouncingBall-me.mat ├── Dahlquist-cs.mat ├── Dahlquist-me.mat ├── DualMassOscillator.CoupledSystemEq.mat ├── DualMassOscillator.ReferenceSystemEq.mat ├── PI_Controller.mat ├── RealNetwork1.mat ├── SSC.mat ├── Stair-cs.mat ├── Stair-me.mat ├── VanDerPol-cs.mat └── VanDerPol-me.mat ├── resources ├── .gitignore ├── A │ ├── binaries │ │ ├── linux64 │ │ │ └── A.so │ │ └── win64 │ │ │ ├── A.dll │ │ │ └── libA.dll.a │ ├── modelDescription.xml │ └── resources │ │ └── A_JacA.bin ├── AircraftVehicleDemonstrator.Atmosphere_Model_FMU_sf │ ├── binaries │ │ └── win64 │ │ │ ├── Atmosphere_Model_FMU_sf.dll │ │ │ ├── Atmosphere_Model_FMU_sf.lib │ │ │ └── MSVCR120.dll │ └── modelDescription.xml ├── AircraftVehicleDemonstrator.bC │ ├── binaries │ │ ├── win32 │ │ │ └── bC.dll │ │ └── win64 │ │ │ └── bC.dll │ ├── documentation │ │ ├── LICENSE_CVODE.txt │ │ ├── LICENSE_FMI.txt │ │ ├── LICENSE_HDF5.txt │ │ ├── LICENSE_LAPACK.txt │ │ ├── LICENSE_ModelicaFFT.txt │ │ ├── LICENSE_ModelicaIO.txt │ │ ├── LICENSE_ModelicaInternal.txt │ │ ├── LICENSE_ModelicaMatIO.txt │ │ ├── LICENSE_ModelicaRandom.txt │ │ ├── LICENSE_ModelicaStandardTables.txt │ │ ├── LICENSE_ModelicaStrings.txt │ │ ├── LICENSE_ModelicaUtilities.txt │ │ ├── LICENSE_SUNDIALS.txt │ │ ├── LICENSE_SuperLU_MT.txt │ │ ├── LICENSE_TPL.txt │ │ ├── LICENSE_ZLIB.txt │ │ ├── LICENSE_f2c.txt │ │ ├── LICENSE_uthash.txt │ │ ├── LICENSE_win32_dirent.txt │ │ ├── ModelicaLicense2.html │ │ ├── _main.html │ │ ├── _opensource.html │ │ └── index.html │ └── modelDescription.xml ├── AircraftVehicleDemonstrator.cockpit │ ├── binaries │ │ ├── win32 │ │ │ └── cockpit.dll │ │ └── win64 │ │ │ └── cockpit.dll │ ├── documentation │ │ ├── LICENSE_CVODE.txt │ │ ├── LICENSE_FMI.txt │ │ ├── LICENSE_HDF5.txt │ │ ├── LICENSE_LAPACK.txt │ │ ├── LICENSE_ModelicaFFT.txt │ │ ├── LICENSE_ModelicaIO.txt │ │ ├── LICENSE_ModelicaInternal.txt │ │ ├── LICENSE_ModelicaMatIO.txt │ │ ├── LICENSE_ModelicaRandom.txt │ │ ├── LICENSE_ModelicaStandardTables.txt │ │ ├── LICENSE_ModelicaStrings.txt │ │ ├── LICENSE_ModelicaUtilities.txt │ │ ├── LICENSE_SUNDIALS.txt │ │ ├── LICENSE_SuperLU_MT.txt │ │ ├── LICENSE_TPL.txt │ │ ├── LICENSE_ZLIB.txt │ │ ├── LICENSE_f2c.txt │ │ ├── LICENSE_uthash.txt │ │ ├── LICENSE_win32_dirent.txt │ │ ├── ModelicaLicense2.html │ │ ├── _main.html │ │ ├── _opensource.html │ │ └── index.html │ └── modelDescription.xml ├── AircraftVehicleDemonstrator.consumer_A │ ├── binaries │ │ ├── win32 │ │ │ └── consumer_A.dll │ │ └── win64 │ │ │ └── consumer_A.dll │ ├── documentation │ │ ├── LICENSE_CVODE.txt │ │ ├── LICENSE_FMI.txt │ │ ├── LICENSE_HDF5.txt │ │ ├── LICENSE_LAPACK.txt │ │ ├── LICENSE_ModelicaFFT.txt │ │ ├── LICENSE_ModelicaIO.txt │ │ ├── LICENSE_ModelicaInternal.txt │ │ ├── LICENSE_ModelicaMatIO.txt │ │ ├── LICENSE_ModelicaRandom.txt │ │ ├── LICENSE_ModelicaStandardTables.txt │ │ ├── LICENSE_ModelicaStrings.txt │ │ ├── LICENSE_ModelicaUtilities.txt │ │ ├── LICENSE_SUNDIALS.txt │ │ ├── LICENSE_SuperLU_MT.txt │ │ ├── LICENSE_TPL.txt │ │ ├── LICENSE_ZLIB.txt │ │ ├── LICENSE_f2c.txt │ │ ├── LICENSE_uthash.txt │ │ ├── LICENSE_win32_dirent.txt │ │ ├── ModelicaLicense2.html │ │ ├── _main.html │ │ ├── _opensource.html │ │ └── index.html │ └── modelDescription.xml ├── AircraftVehicleDemonstrator.consumer_B │ ├── binaries │ │ ├── win32 │ │ │ └── consumer_B.dll │ │ └── win64 │ │ │ └── consumer_B.dll │ ├── documentation │ │ ├── LICENSE_CVODE.txt │ │ ├── LICENSE_FMI.txt │ │ ├── LICENSE_HDF5.txt │ │ ├── LICENSE_LAPACK.txt │ │ ├── LICENSE_ModelicaFFT.txt │ │ ├── LICENSE_ModelicaIO.txt │ │ ├── LICENSE_ModelicaInternal.txt │ │ ├── LICENSE_ModelicaMatIO.txt │ │ ├── LICENSE_ModelicaRandom.txt │ │ ├── LICENSE_ModelicaStandardTables.txt │ │ ├── LICENSE_ModelicaStrings.txt │ │ ├── LICENSE_ModelicaUtilities.txt │ │ ├── LICENSE_SUNDIALS.txt │ │ ├── LICENSE_SuperLU_MT.txt │ │ ├── LICENSE_TPL.txt │ │ ├── LICENSE_ZLIB.txt │ │ ├── LICENSE_f2c.txt │ │ ├── LICENSE_uthash.txt │ │ ├── LICENSE_win32_dirent.txt │ │ ├── ModelicaLicense2.html │ │ ├── _main.html │ │ ├── _opensource.html │ │ └── index.html │ └── modelDescription.xml ├── AircraftVehicleDemonstrator.eCS_Generic_Export │ ├── binaries │ │ ├── win32 │ │ │ └── eCS_Generic_Export.dll │ │ └── win64 │ │ │ └── eCS_Generic_Export.dll │ ├── documentation │ │ ├── LICENSE_CVODE.txt │ │ ├── LICENSE_FMI.txt │ │ ├── LICENSE_HDF5.txt │ │ ├── LICENSE_LAPACK.txt │ │ ├── LICENSE_ModelicaFFT.txt │ │ ├── LICENSE_ModelicaIO.txt │ │ ├── LICENSE_ModelicaInternal.txt │ │ ├── LICENSE_ModelicaMatIO.txt │ │ ├── LICENSE_ModelicaRandom.txt │ │ ├── LICENSE_ModelicaStandardTables.txt │ │ ├── LICENSE_ModelicaStrings.txt │ │ ├── LICENSE_ModelicaUtilities.txt │ │ ├── LICENSE_SUNDIALS.txt │ │ ├── LICENSE_SuperLU_MT.txt │ │ ├── LICENSE_TPL.txt │ │ ├── LICENSE_ZLIB.txt │ │ ├── LICENSE_f2c.txt │ │ ├── LICENSE_uthash.txt │ │ ├── LICENSE_win32_dirent.txt │ │ ├── ModelicaLicense2.html │ │ ├── _main.html │ │ ├── _opensource.html │ │ └── index.html │ └── modelDescription.xml ├── AircraftVehicleDemonstrator.eCS_SW │ ├── binaries │ │ ├── win32 │ │ │ └── eCS_SW.dll │ │ └── win64 │ │ │ └── eCS_SW.dll │ ├── documentation │ │ ├── LICENSE_CVODE.txt │ │ ├── LICENSE_FMI.txt │ │ ├── LICENSE_HDF5.txt │ │ ├── LICENSE_LAPACK.txt │ │ ├── LICENSE_ModelicaFFT.txt │ │ ├── LICENSE_ModelicaIO.txt │ │ ├── LICENSE_ModelicaInternal.txt │ │ ├── LICENSE_ModelicaMatIO.txt │ │ ├── LICENSE_ModelicaRandom.txt │ │ ├── LICENSE_ModelicaStandardTables.txt │ │ ├── LICENSE_ModelicaStrings.txt │ │ ├── LICENSE_ModelicaUtilities.txt │ │ ├── LICENSE_SUNDIALS.txt │ │ ├── LICENSE_SuperLU_MT.txt │ │ ├── LICENSE_TPL.txt │ │ ├── LICENSE_ZLIB.txt │ │ ├── LICENSE_f2c.txt │ │ ├── LICENSE_uthash.txt │ │ ├── LICENSE_win32_dirent.txt │ │ ├── ModelicaLicense2.html │ │ ├── _main.html │ │ ├── _opensource.html │ │ └── index.html │ └── modelDescription.xml ├── AircraftVehicleDemonstrator.engine │ ├── binaries │ │ ├── win32 │ │ │ └── engine.dll │ │ └── win64 │ │ │ └── engine.dll │ ├── documentation │ │ ├── LICENSE_CVODE.txt │ │ ├── LICENSE_FMI.txt │ │ ├── LICENSE_HDF5.txt │ │ ├── LICENSE_LAPACK.txt │ │ ├── LICENSE_ModelicaFFT.txt │ │ ├── LICENSE_ModelicaIO.txt │ │ ├── LICENSE_ModelicaInternal.txt │ │ ├── LICENSE_ModelicaMatIO.txt │ │ ├── LICENSE_ModelicaRandom.txt │ │ ├── LICENSE_ModelicaStandardTables.txt │ │ ├── LICENSE_ModelicaStrings.txt │ │ ├── LICENSE_ModelicaUtilities.txt │ │ ├── LICENSE_SUNDIALS.txt │ │ ├── LICENSE_SuperLU_MT.txt │ │ ├── LICENSE_TPL.txt │ │ ├── LICENSE_ZLIB.txt │ │ ├── LICENSE_f2c.txt │ │ ├── LICENSE_uthash.txt │ │ ├── LICENSE_win32_dirent.txt │ │ ├── ModelicaLicense2.html │ │ ├── _main.html │ │ ├── _opensource.html │ │ └── index.html │ └── modelDescription.xml ├── B │ ├── binaries │ │ ├── linux64 │ │ │ └── B.so │ │ └── win64 │ │ │ ├── B.dll │ │ │ └── libB.dll.a │ └── modelDescription.xml ├── Blocks.mos ├── BouncingBall │ ├── binaries │ │ ├── darwin64 │ │ │ └── BouncingBall.dylib │ │ ├── linux64 │ │ │ └── BouncingBall.so │ │ ├── win32 │ │ │ └── BouncingBall.dll │ │ └── win64 │ │ │ └── BouncingBall.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ └── sources │ │ ├── all.c │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi2Functions.c │ │ ├── model.c │ │ └── model.h ├── BouncingBall3 │ ├── binaries │ │ ├── aarch64-darwin │ │ │ └── BouncingBall.dylib │ │ ├── aarch64-linux │ │ │ └── BouncingBall.so │ │ ├── x86-windows │ │ │ └── BouncingBall.dll │ │ ├── x86_64-darwin │ │ │ └── BouncingBall.dylib │ │ ├── x86_64-linux │ │ │ └── BouncingBall.so │ │ └── x86_64-windows │ │ │ └── BouncingBall.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ └── sources │ │ ├── buildDescription.xml │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi3Functions.c │ │ ├── model.c │ │ └── model.h ├── CMakeLists.txt ├── CONOPS.csv ├── Dahlquist │ ├── binaries │ │ ├── darwin64 │ │ │ └── Dahlquist.dylib │ │ ├── linux64 │ │ │ └── Dahlquist.so │ │ ├── win32 │ │ │ └── Dahlquist.dll │ │ └── win64 │ │ │ └── Dahlquist.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ └── sources │ │ ├── all.c │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi2Functions.c │ │ ├── model.c │ │ └── model.h ├── Dahlquist3 │ ├── binaries │ │ ├── aarch64-darwin │ │ │ └── Dahlquist.dylib │ │ ├── aarch64-linux │ │ │ └── Dahlquist.so │ │ ├── x86-windows │ │ │ └── Dahlquist.dll │ │ ├── x86_64-darwin │ │ │ └── Dahlquist.dylib │ │ ├── x86_64-linux │ │ │ └── Dahlquist.so │ │ └── x86_64-windows │ │ │ └── Dahlquist.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ └── sources │ │ ├── buildDescription.xml │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi3Functions.c │ │ ├── model.c │ │ └── model.h ├── DualMassOscillator.System1 │ ├── binaries │ │ ├── linux64 │ │ │ └── DualMassOscillator_System1.so │ │ └── win64 │ │ │ ├── DualMassOscillator_System1.dll │ │ │ └── libDualMassOscillator_System1.dll.a │ ├── modelDescription.xml │ └── resources │ │ └── DualMassOscillator_System1_JacA.bin ├── DualMassOscillator.System2 │ ├── binaries │ │ ├── linux64 │ │ │ └── DualMassOscillator_System2.so │ │ └── win64 │ │ │ ├── DualMassOscillator_System2.dll │ │ │ └── libDualMassOscillator_System2.dll.a │ ├── modelDescription.xml │ └── resources │ │ └── DualMassOscillator_System2_JacA.bin ├── DualMassOscillator.mo ├── DualMassOscillator.mos ├── Enum1 │ ├── binaries │ │ ├── linux64 │ │ │ └── Enum1.so │ │ └── win64 │ │ │ ├── Enum1.dll │ │ │ └── libEnum1.dll.a │ └── modelDescription.xml ├── Enumeration.mos ├── EventTest.mos ├── EventTest │ ├── binaries │ │ ├── linux64 │ │ │ └── EventTest.so │ │ └── win64 │ │ │ ├── EventTest.dll │ │ │ └── libEventTest.dll.a │ ├── modelDescription.xml │ └── resources │ │ └── EventTest_JacA.bin ├── Feedthrough │ ├── binaries │ │ ├── darwin64 │ │ │ └── Feedthrough.dylib │ │ ├── linux64 │ │ │ └── Feedthrough.so │ │ ├── win32 │ │ │ └── Feedthrough.dll │ │ └── win64 │ │ │ └── Feedthrough.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ └── sources │ │ ├── all.c │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi2Functions.c │ │ ├── model.c │ │ └── model.h ├── Feedthrough3 │ ├── binaries │ │ ├── aarch64-darwin │ │ │ └── Feedthrough.dylib │ │ ├── aarch64-linux │ │ │ └── Feedthrough.so │ │ ├── x86-windows │ │ │ └── Feedthrough.dll │ │ ├── x86_64-darwin │ │ │ └── Feedthrough.dylib │ │ ├── x86_64-linux │ │ │ └── Feedthrough.so │ │ └── x86_64-windows │ │ │ └── Feedthrough.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ └── sources │ │ ├── buildDescription.xml │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi3Functions.c │ │ ├── model.c │ │ └── model.h ├── HelloWorld.mos ├── HelloWorld │ ├── binaries │ │ ├── linux64 │ │ │ └── HelloWorld.so │ │ └── win64 │ │ │ ├── HelloWorld.dll │ │ │ └── libHelloWorld.dll.a │ ├── modelDescription.xml │ └── resources │ │ └── HelloWorld_JacA.bin ├── HelloWorldWithInput.mos ├── HelloWorldWithInput │ ├── binaries │ │ ├── linux64 │ │ │ └── HelloWorldWithInput.so │ │ └── win64 │ │ │ ├── HelloWorldWithInput.dll │ │ │ └── libHelloWorldWithInput.dll.a │ ├── modelDescription.xml │ └── resources │ │ └── HelloWorldWithInput_JacA.bin ├── Int1 │ ├── binaries │ │ ├── linux64 │ │ │ └── Int1.so │ │ └── win64 │ │ │ ├── Int1.dll │ │ │ └── libInt1.dll.a │ └── modelDescription.xml ├── LOC │ └── SystemStructure.ssd ├── Lin2DimODE.mos ├── Lin2DimODE │ ├── binaries │ │ ├── linux64 │ │ │ └── Lin2DimODE.so │ │ └── win64 │ │ │ ├── Lin2DimODE.dll │ │ │ └── libLin2DimODE.dll.a │ ├── modelDescription.xml │ └── resources │ │ └── Lin2DimODE_JacA.bin ├── Makefile ├── Modelica.Blocks.Continuous.Integrator │ ├── binaries │ │ ├── linux64 │ │ │ └── Modelica_Blocks_Continuous_Integrator.so │ │ └── win64 │ │ │ ├── Modelica_Blocks_Continuous_Integrator.dll │ │ │ └── libModelica_Blocks_Continuous_Integrator.dll.a │ ├── documentation │ │ └── index.html │ ├── modelDescription.xml │ └── resources │ │ └── Modelica_Blocks_Continuous_Integrator_JacA.bin ├── Modelica.Blocks.Math.Add │ ├── binaries │ │ ├── linux64 │ │ │ └── Modelica_Blocks_Math_Add.so │ │ └── win64 │ │ │ ├── Modelica_Blocks_Math_Add.dll │ │ │ └── libModelica_Blocks_Math_Add.dll.a │ ├── documentation │ │ └── index.html │ └── modelDescription.xml ├── Modelica.Blocks.Math.Add3 │ ├── binaries │ │ ├── linux64 │ │ │ └── Modelica_Blocks_Math_Add3.so │ │ └── win64 │ │ │ ├── Modelica_Blocks_Math_Add3.dll │ │ │ └── libModelica_Blocks_Math_Add3.dll.a │ ├── documentation │ │ └── index.html │ └── modelDescription.xml ├── Modelica.Blocks.Math.Feedback │ ├── binaries │ │ ├── linux64 │ │ │ └── Modelica_Blocks_Math_Feedback.so │ │ └── win64 │ │ │ ├── Modelica_Blocks_Math_Feedback.dll │ │ │ └── libModelica_Blocks_Math_Feedback.dll.a │ ├── documentation │ │ └── index.html │ └── modelDescription.xml ├── Modelica.Blocks.Math.Gain │ ├── binaries │ │ ├── linux64 │ │ │ └── Modelica_Blocks_Math_Gain.so │ │ └── win64 │ │ │ ├── Modelica_Blocks_Math_Gain.dll │ │ │ └── libModelica_Blocks_Math_Gain.dll.a │ ├── documentation │ │ └── index.html │ └── modelDescription.xml ├── Modelica.Blocks.Math.Product │ ├── binaries │ │ ├── linux64 │ │ │ └── Modelica_Blocks_Math_Product.so │ │ └── win64 │ │ │ ├── Modelica_Blocks_Math_Product.dll │ │ │ └── libModelica_Blocks_Math_Product.dll.a │ ├── documentation │ │ └── index.html │ └── modelDescription.xml ├── Modelica.Blocks.Nonlinear.Limiter │ ├── binaries │ │ ├── linux64 │ │ │ └── Modelica_Blocks_Nonlinear_Limiter.so │ │ └── win64 │ │ │ ├── Modelica_Blocks_Nonlinear_Limiter.dll │ │ │ └── libModelica_Blocks_Nonlinear_Limiter.dll.a │ ├── documentation │ │ └── index.html │ └── modelDescription.xml ├── Modelica.Blocks.Sources.Constant │ ├── binaries │ │ ├── linux64 │ │ │ └── Modelica_Blocks_Sources_Constant.so │ │ └── win64 │ │ │ ├── Modelica_Blocks_Sources_Constant.dll │ │ │ └── libModelica_Blocks_Sources_Constant.dll.a │ ├── documentation │ │ └── index.html │ └── modelDescription.xml ├── Modelica.Blocks.Sources.ContinuousClock │ ├── binaries │ │ ├── linux64 │ │ │ └── Modelica_Blocks_Sources_ContinuousClock.so │ │ └── win64 │ │ │ ├── Modelica_Blocks_Sources_ContinuousClock.dll │ │ │ └── libModelica_Blocks_Sources_ContinuousClock.dll.a │ ├── documentation │ │ └── index.html │ └── modelDescription.xml ├── Modelica.Blocks.Sources.Sine │ ├── binaries │ │ ├── linux64 │ │ │ └── Modelica_Blocks_Sources_Sine.so │ │ └── win64 │ │ │ ├── Modelica_Blocks_Sources_Sine.dll │ │ │ └── libModelica_Blocks_Sources_Sine.dll.a │ ├── documentation │ │ └── index.html │ └── modelDescription.xml ├── Modelica.Blocks.Sources.Step │ ├── binaries │ │ ├── linux64 │ │ │ └── Modelica_Blocks_Sources_Step.so │ │ └── win64 │ │ │ ├── Modelica_Blocks_Sources_Step.dll │ │ │ └── libModelica_Blocks_Sources_Step.dll.a │ ├── documentation │ │ └── index.html │ └── modelDescription.xml ├── Modelica.Electrical.Analog.Examples.CauerLowPassAnalog │ ├── binaries │ │ └── win64 │ │ │ ├── Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dll │ │ │ └── Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.lib │ ├── modelDescription.xml │ └── resources │ │ └── Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_info.json ├── ParkerSimPack │ ├── D16_aero.ssd │ ├── D16_aero_stimuli.ssd │ ├── D16_auto_stimuli.ssd │ ├── SystemStructure.ssd │ └── resources │ │ ├── FMU_16_aero_interface.fmu │ │ ├── FMU_16_aero_stimuli.fmu │ │ ├── FMU_16_interface.fmu │ │ ├── FMU_16_stimuli.fmu │ │ └── L90LS_UD_OS_OS.fmu ├── QuarterCarModel.DisplacementDisplacement.Chassis │ ├── binaries │ │ ├── linux64 │ │ │ └── QuarterCarModel_DisplacementDisplacement_Chassis.so │ │ └── win64 │ │ │ ├── QuarterCarModel_DisplacementDisplacement_Chassis.dll │ │ │ └── libQuarterCarModel_DisplacementDisplacement_Chassis.dll.a │ ├── modelDescription.xml │ └── resources │ │ └── QuarterCarModel_DisplacementDisplacement_Chassis_JacA.bin ├── QuarterCarModel.DisplacementDisplacement.Wheel │ ├── binaries │ │ ├── linux64 │ │ │ └── QuarterCarModel_DisplacementDisplacement_Wheel.so │ │ └── win64 │ │ │ ├── QuarterCarModel_DisplacementDisplacement_Wheel.dll │ │ │ └── libQuarterCarModel_DisplacementDisplacement_Wheel.dll.a │ ├── modelDescription.xml │ └── resources │ │ └── QuarterCarModel_DisplacementDisplacement_Wheel_JacA.bin ├── QuarterCarModel.DisplacementForce.Chassis │ ├── binaries │ │ ├── linux64 │ │ │ └── QuarterCarModel_DisplacementForce_Chassis.so │ │ └── win64 │ │ │ ├── QuarterCarModel_DisplacementForce_Chassis.dll │ │ │ └── libQuarterCarModel_DisplacementForce_Chassis.dll.a │ ├── modelDescription.xml │ └── resources │ │ └── QuarterCarModel_DisplacementForce_Chassis_JacA.bin ├── QuarterCarModel.DisplacementForce.Wheel │ ├── binaries │ │ ├── linux64 │ │ │ └── QuarterCarModel_DisplacementForce_Wheel.so │ │ └── win64 │ │ │ ├── QuarterCarModel_DisplacementForce_Wheel.dll │ │ │ └── libQuarterCarModel_DisplacementForce_Wheel.dll.a │ ├── modelDescription.xml │ └── resources │ │ └── QuarterCarModel_DisplacementForce_Wheel_JacA.bin ├── QuarterCarModel.mo ├── QuarterCarModel.mos ├── Resource │ ├── binaries │ │ ├── darwin64 │ │ │ └── Resource.dylib │ │ ├── linux64 │ │ │ └── Resource.so │ │ ├── win32 │ │ │ └── Resource.dll │ │ └── win64 │ │ │ └── Resource.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ ├── resources │ │ └── y.txt │ └── sources │ │ ├── all.c │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi2Functions.c │ │ ├── model.c │ │ └── model.h ├── Resource3 │ ├── binaries │ │ ├── aarch64-darwin │ │ │ └── Resource.dylib │ │ ├── aarch64-linux │ │ │ └── Resource.so │ │ ├── x86-windows │ │ │ └── Resource.dll │ │ ├── x86_64-darwin │ │ │ └── Resource.dylib │ │ ├── x86_64-linux │ │ │ └── Resource.so │ │ └── x86_64-windows │ │ │ └── Resource.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ ├── resources │ │ └── y.txt │ └── sources │ │ ├── buildDescription.xml │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi3Functions.c │ │ ├── model.c │ │ └── model.h ├── Stair │ ├── binaries │ │ ├── darwin64 │ │ │ └── Stair.dylib │ │ ├── linux64 │ │ │ └── Stair.so │ │ ├── win32 │ │ │ └── Stair.dll │ │ └── win64 │ │ │ └── Stair.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ └── sources │ │ ├── all.c │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi2Functions.c │ │ ├── model.c │ │ └── model.h ├── Stair3 │ ├── binaries │ │ ├── aarch64-darwin │ │ │ └── Stair.dylib │ │ ├── aarch64-linux │ │ │ └── Stair.so │ │ ├── x86-windows │ │ │ └── Stair.dll │ │ ├── x86_64-darwin │ │ │ └── Stair.dylib │ │ ├── x86_64-linux │ │ │ └── Stair.so │ │ └── x86_64-windows │ │ │ └── Stair.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ └── sources │ │ ├── buildDescription.xml │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi3Functions.c │ │ ├── model.c │ │ └── model.h ├── VanDerPol │ ├── binaries │ │ ├── darwin64 │ │ │ └── VanDerPol.dylib │ │ ├── linux64 │ │ │ └── VanDerPol.so │ │ ├── win32 │ │ │ └── VanDerPol.dll │ │ └── win64 │ │ │ └── VanDerPol.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ └── sources │ │ ├── all.c │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi2Functions.c │ │ ├── model.c │ │ └── model.h ├── VanDerPol3 │ ├── binaries │ │ ├── aarch64-darwin │ │ │ └── VanDerPol.dylib │ │ ├── aarch64-linux │ │ │ └── VanDerPol.so │ │ ├── x86-windows │ │ │ └── VanDerPol.dll │ │ ├── x86_64-darwin │ │ │ └── VanDerPol.dylib │ │ ├── x86_64-linux │ │ │ └── VanDerPol.so │ │ └── x86_64-windows │ │ │ └── VanDerPol.dll │ ├── documentation │ │ ├── index.html │ │ └── result.svg │ ├── modelDescription.xml │ └── sources │ │ ├── buildDescription.xml │ │ ├── config.h │ │ ├── cosimulation.c │ │ ├── cosimulation.h │ │ ├── fmi3Functions.c │ │ ├── model.c │ │ └── model.h ├── dcmotor │ └── SystemStructure.ssd ├── drivetrain.csv ├── embrace │ ├── CONOPS.csv │ ├── SystemStructure.ssd │ └── resources │ │ ├── 0001_ECS_HW.fmu │ │ ├── 0002_ECS_SW.fmu │ │ ├── 0003_Consumer.fmu │ │ ├── 0004_Atmos.fmu │ │ ├── 0005_AdaptionUnit.fmu │ │ ├── ECS_HW.ssm │ │ ├── RAPID_Systems_2020-12-07_Test_1_ssv.ssv │ │ ├── RAPID_Systems_2021-03-29_Test_1.ssv │ │ └── signalFilter.xml ├── embrace_TwoConf │ ├── CONOPS.csv │ ├── SystemStructure.ssd │ └── resources │ │ ├── 0001_ECS_HW.fmu │ │ ├── 0002_ECS_SW.fmu │ │ ├── 0003_Consumer.fmu │ │ ├── 0004_Atmos.fmu │ │ ├── 0005_AdaptionUnit.fmu │ │ ├── ECS_Conf1.ssv │ │ ├── ECS_Conf2.ssv │ │ ├── ECS_HW.ssm │ │ └── signalFilter.xml ├── equationPair.equation1 │ ├── binaries │ │ ├── linux32 │ │ │ ├── equationPair_equation1.so │ │ │ └── equationPair_equation1_FMU.libs │ │ ├── linux64 │ │ │ ├── equationPair_equation1.so │ │ │ └── equationPair_equation1_FMU.libs │ │ ├── win32 │ │ │ ├── equationPair_equation1.dll │ │ │ └── equationPair_equation1_FMU.libs │ │ └── win64 │ │ │ ├── equationPair_equation1.dll │ │ │ └── equationPair_equation1_FMU.libs │ └── modelDescription.xml ├── equationPair.equation2 │ ├── binaries │ │ ├── linux32 │ │ │ ├── equationPair_equation2.so │ │ │ └── equationPair_equation2_FMU.libs │ │ ├── linux64 │ │ │ ├── equationPair_equation2.so │ │ │ └── equationPair_equation2_FMU.libs │ │ ├── win32 │ │ │ ├── equationPair_equation2.dll │ │ │ └── equationPair_equation2_FMU.libs │ │ └── win64 │ │ │ ├── equationPair_equation2.dll │ │ │ └── equationPair_equation2_FMU.libs │ └── modelDescription.xml ├── equationPair.mo ├── equationPair.mos ├── externalGain.ssv ├── externalRoot.ssv ├── externalSystem1.ssv ├── external_import_parameter_mapping.ssm ├── external_import_parameter_mapping.ssv ├── fmi_attributes_19 │ ├── binaries │ │ └── win64 │ │ │ └── fmi_attributes_19.dll │ ├── modelDescription.xml │ └── resources │ │ ├── fmi_attributes_19_JacA.bin │ │ ├── fmi_attributes_19_JacFMIDER.bin │ │ └── fmi_attributes_19_JacFMIDERINIT.bin ├── fmidertest.mos ├── fmidertest │ ├── binaries │ │ └── win64 │ │ │ ├── fmidertest.dll │ │ │ └── fmidertest.lib │ └── modelDescription.xml ├── importExportAllResources │ ├── SystemStructure.ssd │ └── resources │ │ ├── external_import_parameter_mapping.ssm │ │ ├── external_import_parameter_mapping.ssv │ │ ├── import_parameter_mapping.ssm │ │ └── import_parameter_mapping.ssv ├── importParameterMapping │ ├── SystemStructure.ssd │ └── resources │ │ ├── import_parameter_mapping.ssm │ │ └── import_parameter_mapping.ssv ├── importParameterMappingInline │ └── SystemStructure.ssd ├── importStartValues │ ├── SystemStructure.ssd │ └── resources │ │ ├── Root.ssv │ │ ├── System1.ssv │ │ └── signalFilter.xml ├── importStartValues1 │ ├── SystemStructure.ssd │ └── resources │ │ ├── Root.ssv │ │ └── System1.ssv ├── import_export_parameters1 │ ├── SystemStructure.ssd │ └── resources │ │ ├── 0001_addP.fmu │ │ ├── 0002_P.fmu │ │ ├── 0003_addI.fmu │ │ ├── import_export_parameters.ssv │ │ └── signalFilter.xml ├── import_export_parameters2 │ ├── SystemStructure.ssd │ └── resources │ │ ├── 0001_addP.fmu │ │ ├── 0002_P.fmu │ │ ├── 0003_addI.fmu │ │ ├── addI.ssv │ │ ├── addP.ssv │ │ ├── cosim.ssv │ │ ├── foo.ssv │ │ └── signalFilter.xml ├── import_export_parameters3 │ ├── SystemStructure.ssd │ └── resources │ │ ├── 0001_addP.fmu │ │ ├── 0002_P.fmu │ │ ├── 0003_addI.fmu │ │ └── signalFilter.xml ├── import_hierarchical_ssv_sources │ ├── SystemStructure.ssd │ └── resources │ │ ├── import_hierarchical_ssv_sources_system1.ssv │ │ ├── import_hierarchical_ssv_sources_system2.ssv │ │ ├── import_hierarchical_ssv_sources_system3.ssm │ │ └── import_hierarchical_ssv_sources_system3.ssv ├── invalidSSD │ ├── SystemStructure.ssd │ └── resources │ │ ├── Root.ssv │ │ ├── System1.ssv │ │ └── signalFilter.xml ├── invalidSSM │ ├── SystemStructure.ssd │ └── resources │ │ ├── import_parameter_mapping.ssm │ │ └── import_parameter_mapping.ssv ├── invalidSSV │ ├── SystemStructure.ssd │ └── resources │ │ ├── Root.ssv │ │ ├── System1.ssv │ │ └── signalFilter.xml ├── nls.cs │ ├── binaries │ │ ├── linux32 │ │ │ ├── nls_cs.so │ │ │ └── nls_cs_FMU.libs │ │ ├── linux64 │ │ │ ├── nls_cs.so │ │ │ └── nls_cs_FMU.libs │ │ ├── win32 │ │ │ ├── nls_cs.dll │ │ │ └── nls_cs_FMU.libs │ │ └── win64 │ │ │ ├── nls_cs.dll │ │ │ └── nls_cs_FMU.libs │ └── modelDescription.xml ├── nls.me │ ├── binaries │ │ ├── linux32 │ │ │ ├── nls_me.so │ │ │ └── nls_me_FMU.libs │ │ ├── linux64 │ │ │ ├── nls_me.so │ │ │ └── nls_me_FMU.libs │ │ ├── win32 │ │ │ ├── nls_me.dll │ │ │ └── nls_me_FMU.libs │ │ └── win64 │ │ │ ├── nls_me.dll │ │ │ └── nls_me_FMU.libs │ └── modelDescription.xml ├── nls.mos ├── replaceA │ ├── binaries │ │ └── win64 │ │ │ ├── replaceA.dll │ │ │ └── replaceA.lib │ └── modelDescription.xml ├── replaceA_extended │ ├── binaries │ │ └── win64 │ │ │ ├── replaceA_extended.dll │ │ │ └── replaceA_extended.lib │ └── modelDescription.xml ├── replaceB │ ├── binaries │ │ └── win64 │ │ │ ├── replaceB.dll │ │ │ └── replaceB.lib │ └── modelDescription.xml ├── replaceSubmodel.mos ├── replaceSubmodel4 │ ├── SystemStructure.ssd │ └── resources │ │ ├── 0001_A.fmu │ │ ├── 0002_B.fmu │ │ ├── root.ssm │ │ ├── root.ssv │ │ └── signalFilter.xml ├── replaceSubmodel5 │ ├── SystemStructure.ssd │ └── resources │ │ ├── 0001_A.fmu │ │ ├── 0002_B.fmu │ │ ├── root.ssm │ │ ├── root.ssv │ │ └── signalFilter.xml ├── road.csv ├── setpoint.csv ├── str_hello_world.mos ├── str_hello_world │ ├── binaries │ │ ├── linux64 │ │ │ └── str_hello_world.so │ │ └── win64 │ │ │ ├── libstr_hello_world.dll.a │ │ │ └── str_hello_world.dll │ └── modelDescription.xml ├── table.csv ├── tank1 │ ├── binaries │ │ └── win64 │ │ │ └── tank1.dll │ └── modelDescription.xml ├── tank2 │ ├── binaries │ │ └── win64 │ │ │ └── tank2.dll │ └── modelDescription.xml ├── tank3 │ ├── binaries │ │ └── win64 │ │ │ └── tank3.dll │ └── modelDescription.xml ├── tankYPipe.mos ├── testArray │ ├── binaries │ │ └── win64 │ │ │ ├── libtestArray.dll.a │ │ │ ├── libwinpthread-1.dll │ │ │ └── testArray.dll │ └── modelDescription.xml ├── toplevelparameter1 │ ├── SystemStructure.ssd │ └── resources │ │ ├── 0001_addP.fmu │ │ ├── addp.ssv │ │ ├── root.ssv │ │ └── signalFilter.xml ├── toplevelparameter2 │ ├── SystemStructure.ssd │ └── resources │ │ ├── 0001_addP.fmu │ │ └── signalFilter.xml ├── unit.mos └── ypipe │ ├── binaries │ └── win64 │ │ └── ypipe.dll │ └── modelDescription.xml └── rtest /.CI/alpine/Dockerfile: -------------------------------------------------------------------------------- 1 | # We need gcc 8 for filesystem support 2 | FROM alpine:3.12 3 | 4 | RUN apk add -U libtool automake g++ git cmake make readline-dev musl-dev util-linux linux-headers libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev mesa-dev 5 | -------------------------------------------------------------------------------- /.CI/cache-32/Dockerfile: -------------------------------------------------------------------------------- 1 | # Cannot be parametrized in Jenkins... 2 | FROM docker.openmodelica.org/build-deps:v1.16-i386 3 | 4 | # We don't know the uid of the user who will build, so make the /cache directories world writable 5 | 6 | RUN apt update && apt install -y libasan6 libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev && \ 7 | mkdir -p /cache/runtest/ /cache/omlibrary/ && chmod ugo+rwx /cache/runtest/ /cache/omlibrary/ 8 | -------------------------------------------------------------------------------- /.CI/cache-arm32/Dockerfile: -------------------------------------------------------------------------------- 1 | # Cannot be parametrized in Jenkins... 2 | FROM docker.openmodelica.org/build-deps:v1.13-arm32 3 | 4 | # We don't know the uid of the user who will build, so make the /cache directories world writable 5 | 6 | RUN apt update && apt install -y libasan6 libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev && \ 7 | mkdir -p /cache/runtest/ /cache/omlibrary/ && chmod ugo+rwx /cache/runtest/ /cache/omlibrary/ 8 | -------------------------------------------------------------------------------- /.CI/cache/Dockerfile: -------------------------------------------------------------------------------- 1 | # Cannot be parametrized in Jenkins... 2 | FROM docker.openmodelica.org/build-deps:v1.22.2 3 | 4 | # We don't know the uid of the user who will build, so make the /cache directories world writable 5 | 6 | RUN apt update && apt install -y libasan6 libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev && \ 7 | mkdir -p /cache/runtest/ /cache/omlibrary/ && chmod ugo+rwx /cache/runtest/ /cache/omlibrary/ 8 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | 5 | --- 6 | 7 | **Is your feature request related to a problem? Please describe.** 8 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 9 | 10 | **Describe the solution you'd like** 11 | A clear and concise description of what you want to happen. 12 | 13 | **Describe alternatives you've considered** 14 | A clear and concise description of any alternative solutions or features you've considered. 15 | 16 | **Additional context** 17 | Add any other context or screenshots about the feature request here. 18 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | ### Related Issues 2 | 3 | 4 | 5 | ### Purpose 6 | 7 | 8 | 9 | ### Approach 10 | 11 | 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # generated directories 2 | /.env/ 3 | /.vs/ 4 | /.vscode/ 5 | /build/ 6 | /install/ 7 | /version.txt 8 | 9 | imgui.ini 10 | 11 | # local files 12 | /OMSimulator.config 13 | /OMSimulator.creator 14 | /OMSimulator.creator.user 15 | /OMSimulator.files 16 | /OMSimulator.includes 17 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "3rdParty"] 2 | path = 3rdParty 3 | url = https://github.com/OpenModelica/OMSimulator-3rdParty.git 4 | -------------------------------------------------------------------------------- /doc/UsersGuide/.gitignore: -------------------------------------------------------------------------------- 1 | # generated directories 2 | /build/ 3 | 4 | # generated files 5 | /source/*.inc 6 | /source/api/*.inc 7 | -------------------------------------------------------------------------------- /doc/UsersGuide/README.md: -------------------------------------------------------------------------------- 1 | # User's Guide 2 | 3 | OMSimulator User's Guide using Sphinx (Python Documentation Generator). 4 | 5 | ## Dependencies 6 | 7 | - OMSimulator 8 | - [Sphinx](http://sphinx-doc.org/) 9 | - Python3 10 | 11 | ## Build instructions 12 | 13 | ```bash 14 | make html 15 | ``` 16 | 17 | ## Preview build 18 | 19 | ```bash 20 | python3 -m http.server --directory build/html 21 | ``` 22 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/OMSimulatorLib.rst: -------------------------------------------------------------------------------- 1 | .. index:: OMSimulatorLib 2 | 3 | OMSimulatorLib 4 | ============== 5 | 6 | This library is the core of OMSimulator and provides a C interface that can 7 | easily be utilized to handle co-simulation scenarios. 8 | 9 | .. index:: OMSimulatorLib; C-API 10 | 11 | C-API 12 | ===== 13 | 14 | .. include:: OMSimulatorLib.inc 15 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/RunFile.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | RunFile 3 | ------- 4 | 5 | Simulates a single FMU or SSP model. 6 | #END# 7 | 8 | #CAPI# 9 | .. code-block:: c 10 | 11 | oms_status_enu_t oms_RunFile(const char* filename); 12 | 13 | #END# 14 | 15 | #DESCRIPTION# 16 | #END# 17 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/addBus.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | addBus 3 | ------ 4 | 5 | Adds a bus to a given component. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_addBus(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.addBus(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_addBus(const char* cref); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_addBus(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/addConnectorToBus.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | addConnectorToBus 3 | ----------------- 4 | 5 | Adds a connector to a bus. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_addConnectorToBus(busCref, connectorCref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.addConnectorToBus(busCref, connectorCref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_addConnectorToBus(const char* busCref, const char* connectorCref); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_addConnectorToBus(busCref, connectorCref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/addSubModel.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | addSubModel 3 | ----------- 4 | 5 | Adds a component to a system. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_addSubModel(cref, fmuPath) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.addSubModel(cref, fmuPath) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_addSubModel(const char* cref, const char* fmuPath); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_addSubModel(cref, fmuPath); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/copySystem.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | copySystem 3 | ---------- 4 | 5 | Copies a system. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_copySystem(source, target) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.copySystem(source, target) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_copySystem(const char* source, const char* target); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_copySystem(source, target); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/delete.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | delete 3 | ------ 4 | 5 | Deletes a connector, component, system, or model object. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_delete(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.delete(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_delete(const char* cref); 26 | 27 | #END# 28 | 29 | 30 | #OMC# 31 | .. code-block:: modelica 32 | 33 | status := oms_delete(cref); 34 | 35 | #END# 36 | 37 | #DESCRIPTION# 38 | #END# 39 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/deleteConnection.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | deleteConnection 3 | ---------------- 4 | 5 | Deletes the connection between connectors `crefA` and `crefB`. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_deleteConnection(crefA, crefB) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.deleteConnection(crefA, crefB) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_deleteConnection(const char* crefA, const char* crefB); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_deleteConnection(crefA, crefB); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | The two arguments `crefA` and `crefB` get swapped automatically if necessary. 38 | #END# 39 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/deleteConnectorFromBus.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | deleteConnectorFromBus 3 | ---------------------- 4 | 5 | Deletes a connector from a given bus. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_deleteConnectorFromBus(busCref, connectorCref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.deleteConnectorFromBus(busCref, connectorCref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_deleteConnectorFromBus(const char* busCref, const char* connectorCref); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_deleteConnectorFromBus(busCref, connectorCref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/doStep.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | doStep 3 | ------ 4 | 5 | Simulates a macro step of the given composite model. The step size 6 | will be determined by the master algorithm and is limited by the 7 | definied minimal and maximal step sizes. 8 | #END# 9 | 10 | #PYTHON# 11 | .. code-block:: python 12 | 13 | status = oms.doStep(cref) 14 | 15 | #END# 16 | 17 | #CAPI# 18 | .. code-block:: c 19 | 20 | oms_status_enu_t oms_doStep(const char* cref); 21 | 22 | #END# 23 | 24 | #DESCRIPTION# 25 | #END# 26 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/export.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | export 3 | ------ 4 | 5 | Exports a composite model to a SPP file. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_export(cref, filename) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.export(cref, filename) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_export(const char* cref, const char* filename); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_export(cref, filename); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/freeMemory.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | freeMemory 3 | ---------- 4 | 5 | Free the memory allocated by some other API. Pass the object for which memory 6 | is allocated. 7 | #END# 8 | 9 | #LUA# 10 | 11 | This function is neither needed nor available from the Lua interface. 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | oms.freeMemory(obj) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | void oms_freeMemory(void* obj); 26 | 27 | #END# 28 | 29 | #OMC# 30 | 31 | This function is not needed for OpenModelicaScripting Interface 32 | 33 | #END# 34 | 35 | #DESCRIPTION# 36 | #END# 37 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getBoolean.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getBoolean 3 | ---------- 4 | 5 | Get boolean value of given signal. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | value, status = oms_getBoolean(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | value, status = oms.getBoolean(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_getBoolean(const char* cref, bool* value); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | (value, status) := oms_getBoolean(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getBus.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getBus 3 | ------ 4 | 5 | Gets the bus object. 6 | #END# 7 | 8 | #CAPI# 9 | .. code-block:: c 10 | 11 | oms_status_enu_t oms_getBus(const char* cref, oms_busconnector_t** busConnector); 12 | 13 | #END# 14 | 15 | #DESCRIPTION# 16 | #END# 17 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getComponentType.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getComponentType 3 | ---------------- 4 | 5 | Gets the type of the given component. 6 | #END# 7 | 8 | #CAPI# 9 | .. code-block:: c 10 | 11 | oms_status_enu_t oms_getComponentType(const char* cref, oms_component_enu_t* type); 12 | 13 | #END# 14 | 15 | #DESCRIPTION# 16 | #END# 17 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getConnections.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getConnections 3 | -------------- 4 | 5 | Get list of all connections from a given component. 6 | #END# 7 | 8 | #CAPI# 9 | .. code-block:: c 10 | 11 | oms_status_enu_t oms_getConnections(const char* cref, oms_connection_t*** connections); 12 | 13 | #END# 14 | 15 | #DESCRIPTION# 16 | #END# 17 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getConnector.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getConnector 3 | ------------ 4 | 5 | Gets the connector object of the given connector cref. 6 | #END# 7 | 8 | #CAPI# 9 | .. code-block:: c 10 | 11 | oms_status_enu_t oms_getConnector(const char* cref, oms_connector_t** connector); 12 | 13 | #END# 14 | 15 | #DESCRIPTION# 16 | #END# 17 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getDirectionalDerivative.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getDirectionalDerivative 3 | ------------------------ 4 | This function computes the directional derivatives of an FMU. 5 | #END# 6 | 7 | #LUA# 8 | .. code-block:: lua 9 | 10 | value, status = oms_getDirectionalDerivative(cref) 11 | 12 | #END# 13 | 14 | #PYTHON# 15 | .. code-block:: python 16 | 17 | value, status = oms.getDirectionalDerivative(cref) 18 | 19 | #END# 20 | 21 | #CAPI# 22 | .. code-block:: c 23 | 24 | oms_status_enu_t oms_getDirectionalDerivative(const char* cref, double* value); 25 | 26 | #END# 27 | 28 | #END# 29 | 30 | #DESCRIPTION# 31 | #END# 32 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getElement.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getElement 3 | ---------- 4 | 5 | Get element information of a given component reference. 6 | #END# 7 | 8 | #CAPI# 9 | .. code-block:: c 10 | 11 | oms_status_enu_t oms_getElement(const char* cref, oms_element_t** element); 12 | 13 | #END# 14 | 15 | #DESCRIPTION# 16 | #END# 17 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getElements.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getElements 3 | ----------- 4 | 5 | Get list of all sub-components of a given component reference. 6 | #END# 7 | 8 | #CAPI# 9 | .. code-block:: c 10 | 11 | oms_status_enu_t oms_getElements(const char* cref, oms_element_t*** elements); 12 | 13 | #END# 14 | 15 | #DESCRIPTION# 16 | #END# 17 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getFMUInfo.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getFMUInfo 3 | ---------- 4 | 5 | Returns FMU specific information. 6 | #END# 7 | 8 | #CAPI# 9 | .. code-block:: c 10 | 11 | oms_status_enu_t oms_getFMUInfo(const char* cref, const oms_fmu_info_t** fmuInfo); 12 | 13 | #END# 14 | 15 | #DESCRIPTION# 16 | #END# 17 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getInteger.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getInteger 3 | ---------- 4 | 5 | Get integer value of given signal. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | value, status = oms_getInteger(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | value, status = oms.getInteger(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_getInteger(const char* cref, int* value); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | (value, status) := oms_getInteger(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getModelState.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getModelState 3 | ------------- 4 | 5 | Gets the model state of the given model cref. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | modelState, status = oms_getModelState(cref) 12 | 13 | #END# 14 | 15 | #CAPI# 16 | .. code-block:: c 17 | 18 | oms_status_enu_t oms_getModelState(const char* cref, oms_modelState_enu_t* modelState); 19 | 20 | #END# 21 | 22 | #OMC# 23 | .. code-block:: modelica 24 | 25 | (modelState, status) := oms_getModelState(cref); 26 | 27 | #END# 28 | 29 | #DESCRIPTION# 30 | #END# 31 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getReal.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getReal 3 | ------- 4 | 5 | Get real value. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | value, status = oms_getReal(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | value, status = oms.getReal(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_getReal(const char* cref, double* value); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | (value, status) := oms_getReal(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getResultFile.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getResultFile 3 | ------------- 4 | 5 | Gets the result filename and buffer size of the given model cref. 6 | #END# 7 | 8 | #PYTHON# 9 | .. code-block:: python 10 | 11 | filename, bufferSize, status = oms.getResultFile(cref) 12 | 13 | #END# 14 | 15 | #CAPI# 16 | .. code-block:: c 17 | 18 | oms_status_enu_t oms_getResultFile(const char* cref, char** filename, int* bufferSize); 19 | 20 | #END# 21 | 22 | #DESCRIPTION# 23 | #END# 24 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getSolver.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getSolver 3 | --------- 4 | 5 | Gets the selected solver method of the given system. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | solver, status = oms_getSolver(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | solver, status = oms.getSolver(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_getSolver(const char* cref, oms_solver_enu_t* solver); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | (solver, status) := oms_getSolver(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getStartTime.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getStartTime 3 | ------------ 4 | 5 | Get the start time from the model. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | startTime, status = oms_getStartTime(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | startTime, status = oms.getStartTime(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_getStartTime(const char* cref, double* startTime); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | (startTime, status) := oms_getStartTime(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getStopTime.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getStopTime 3 | ----------- 4 | 5 | Get the stop time from the model. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | stopTime, status = oms_getStopTime(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | stopTime, status = oms.getStopTime(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_getStopTime(const char* cref, double* stopTime); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | (stopTime, status) := oms_getStopTime(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getString.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getString 3 | --------- 4 | 5 | Get string value. 6 | 7 | 8 | Memory is allocated for `value`. The caller is responsible to free it 9 | using the C-API. The Lua and Python bindings take care of the memory 10 | and the caller doesn't need to call free. 11 | #END# 12 | 13 | #LUA# 14 | .. code-block:: lua 15 | 16 | value, status = oms_getString(cref) 17 | 18 | #END# 19 | 20 | #PYTHON# 21 | .. code-block:: python 22 | 23 | value, status = oms.getString(cref) 24 | 25 | #END# 26 | 27 | #CAPI# 28 | .. code-block:: c 29 | 30 | oms_status_enu_t oms_getString(const char* cref, char** value); 31 | 32 | #END# 33 | 34 | 35 | #DESCRIPTION# 36 | #END# 37 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getSubModelPath.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getSubModelPath 3 | --------------- 4 | 5 | Returns the path of a given component. 6 | #END# 7 | 8 | #PYTHON# 9 | .. code-block:: python 10 | 11 | path, status = oms.getSubModelPath(cref) 12 | 13 | #END# 14 | 15 | #CAPI# 16 | .. code-block:: c 17 | 18 | oms_status_enu_t oms_getSubModelPath(const char* cref, char** path); 19 | 20 | #END# 21 | 22 | #OMC# 23 | .. code-block:: modelica 24 | 25 | (path, status) := oms_getSubModelPath(cref); 26 | 27 | #END# 28 | 29 | #DESCRIPTION# 30 | #END# 31 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getSystemType.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getSystemType 3 | ------------- 4 | 5 | Gets the type of the given system. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | type, status = oms_getSystemType(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | type, status = oms.getSystemType(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_getSystemType(const char* cref, oms_system_enu_t* type); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | (type, status) := oms_getSystemType(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getTime.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getTime 3 | ------- 4 | 5 | Get the current simulation time from the model. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | time, status = oms_getTime(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | time, status = oms.getTime(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_getTime(const char* cref, double* time); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | (time, status) := oms_getTime(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getTolerance.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getTolerance 3 | ------------ 4 | 5 | Gets the tolerance of a given system or component. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | relativeTolerance, status = oms_getTolerance(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | relativeTolerance, status = oms.getTolerance(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_getTolerance(const char* cref, double* relativeTolerance); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | (relativeTolerance, status) := oms_getTolerance(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/getVersion.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | getVersion 3 | ---------- 4 | 5 | Returns the library's version string. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | version = oms_getVersion() 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | oms = OMSimulator() 19 | oms.getVersion() 20 | 21 | #END# 22 | 23 | #CAPI# 24 | .. code-block:: c 25 | 26 | const char* oms_getVersion(); 27 | 28 | #END# 29 | 30 | #OMC# 31 | .. code-block:: modelica 32 | 33 | version := oms_getVersion(); 34 | 35 | #END# 36 | 37 | #DESCRIPTION# 38 | #END# 39 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/importFile.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | importFile 3 | ---------- 4 | 5 | Imports a composite model from a SSP file. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | cref, status = oms_importFile(filename) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | cref, status = oms.importFile(filename) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_importFile(const char* filename, char** cref); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | (cref, status) := oms_importFile(filename); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/initialize.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | initialize 3 | ---------- 4 | 5 | Initializes a composite model. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_initialize(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.initialize(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_initialize(const char* cref); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_initialize(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/instantiate.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | instantiate 3 | ----------- 4 | 5 | Instantiates a given composite model. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_instantiate(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.instantiate(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_instantiate(const char* cref); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_instantiate(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/loadSnapshot.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | loadSnapshot 3 | ------------ 4 | 5 | Loads a snapshot to restore a previous model state. The model must be in virgin model state, which means it must not be instantiated. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | newCref, status = oms_loadSnapshot(cref, snapshot) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | newCref, status = oms.loadSnapshot(cref, snapshot) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_loadSnapshot(const char* cref, const char* snapshot, char** newCref); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_loadSnapshot(cref, snapshot); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/newModel.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | newModel 3 | -------- 4 | 5 | Creates a new and yet empty composite model. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_newModel(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.newModel(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_newModel(const char* cref); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_newModel(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/rename.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | rename 3 | ------ 4 | 5 | Renames a model, system, or component. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_rename(cref, newCref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.rename(cref, newCref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_rename(const char* cref, const char* newCref); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_rename(cref, newCref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/reset.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | reset 3 | ----- 4 | 5 | Reset the composite model after a simulation run. 6 | 7 | The FMUs go into the same state as after instantiation. 8 | #END# 9 | 10 | #LUA# 11 | .. code-block:: lua 12 | 13 | status = oms_reset(cref) 14 | 15 | #END# 16 | 17 | #PYTHON# 18 | .. code-block:: python 19 | 20 | status = oms.reset(cref) 21 | 22 | #END# 23 | 24 | #CAPI# 25 | .. code-block:: c 26 | 27 | oms_status_enu_t oms_reset(const char* cref); 28 | 29 | #END# 30 | 31 | #OMC# 32 | .. code-block:: modelica 33 | 34 | status := oms_reset(cref); 35 | 36 | #END# 37 | 38 | #DESCRIPTION# 39 | #END# 40 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setActivationRatio.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setActivationRatio 3 | ------------------ 4 | 5 | Experimental feature for setting the activation ratio of FMUs for experimenting with multi-rate master algorithms. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = experimental_setActivationRatio(cref, k) 12 | 13 | #END# 14 | 15 | #CAPI# 16 | .. code-block:: c 17 | 18 | oms_status_enu_t experimental_setActivationRatio(const char* cref, int k); 19 | 20 | #END# 21 | 22 | #DESCRIPTION# 23 | #END# 24 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setBoolean.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setBoolean 3 | ---------- 4 | 5 | Sets the value of a given boolean signal. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_setBoolean(cref, value) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.setBoolean(cref, value) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_setBoolean(const char* cref, bool value); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_setBoolean(cref, value); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setBusGeometry.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setBusGeometry 3 | -------------- 4 | 5 | #END# 6 | 7 | #CAPI# 8 | .. code-block:: c 9 | 10 | oms_status_enu_t oms_setBusGeometry(const char* bus, const ssd_connector_geometry_t* geometry); 11 | 12 | #END# 13 | 14 | #DESCRIPTION# 15 | #END# 16 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setCommandLineOption.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setCommandLineOption 3 | -------------------- 4 | 5 | Sets special flags. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_setCommandLineOption(cmd) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.setCommandLineOption(cmd) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_setCommandLineOption(const char* cmd); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_setCommandLineOption(cmd); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | 38 | Available flags: 39 | 40 | .. literalinclude :: omsimulator-help.inc 41 | :language: bash 42 | 43 | #END# 44 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setConnectionGeometry.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setConnectionGeometry 3 | --------------------- 4 | 5 | #END# 6 | 7 | #CAPI# 8 | .. code-block:: c 9 | 10 | oms_status_enu_t oms_setConnectionGeometry(const char* crefA, const char* crefB, const ssd_connection_geometry_t* geometry); 11 | 12 | #END# 13 | 14 | #DESCRIPTION# 15 | #END# 16 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setConnectorGeometry.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setConnectorGeometry 3 | -------------------- 4 | 5 | Set geometry information to a given connector. 6 | #END# 7 | 8 | #CAPI# 9 | .. code-block:: c 10 | 11 | oms_status_enu_t oms_setConnectorGeometry(const char* cref, const ssd_connector_geometry_t* geometry); 12 | 13 | #END# 14 | 15 | #DESCRIPTION# 16 | #END# 17 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setElementGeometry.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setElementGeometry 3 | ------------------ 4 | 5 | Set geometry information to a given component. 6 | #END# 7 | 8 | #CAPI# 9 | .. code-block:: c 10 | 11 | oms_status_enu_t oms_setElementGeometry(const char* cref, const ssd_element_geometry_t* geometry); 12 | 13 | #END# 14 | 15 | #DESCRIPTION# 16 | #END# 17 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setInteger.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setInteger 3 | ---------- 4 | 5 | Sets the value of a given integer signal. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_setInteger(cref, value) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.setInteger(cref, value) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_setInteger(const char* cref, int value); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_setInteger(cref, value); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setLogFile.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setLogFile 3 | ---------- 4 | 5 | Redirects logging output to file or std streams. The warning/error counters are 6 | reset. 7 | 8 | filename="" to redirect to std streams and proper filename to redirect to file. 9 | #END# 10 | 11 | #LUA# 12 | .. code-block:: lua 13 | 14 | status = oms_setLogFile(filename) 15 | 16 | #END# 17 | 18 | #PYTHON# 19 | .. code-block:: python 20 | 21 | status = oms.setLogFile(filename) 22 | 23 | #END# 24 | 25 | #CAPI# 26 | .. code-block:: c 27 | 28 | oms_status_enu_t oms_setLogFile(const char* filename); 29 | 30 | #END# 31 | 32 | #OMC# 33 | .. code-block:: modelica 34 | 35 | status := oms_setLogFile(filename); 36 | 37 | #END# 38 | 39 | #DESCRIPTION# 40 | #END# 41 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setLoggingCallback.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setLoggingCallback 3 | ------------------ 4 | 5 | Sets a callback function for the logging system. 6 | #END# 7 | 8 | #CAPI# 9 | .. code-block:: c 10 | 11 | void oms_setLoggingCallback(void (*cb)(oms_message_type_enu_t type, const char* message)); 12 | 13 | #END# 14 | 15 | #DESCRIPTION# 16 | #END# 17 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setLoggingInterval.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setLoggingInterval 3 | ------------------ 4 | 5 | Set the logging interval of the simulation. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_setLoggingInterval(cref, loggingInterval) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.setLoggingInterval(cref, loggingInterval) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_setLoggingInterval(const char* cref, double loggingInterval); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_setLoggingInterval(cref, loggingInterval); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setLoggingLevel.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setLoggingLevel 3 | --------------- 4 | 5 | Enables/Disables debug logging (logDebug and logTrace). 6 | 7 | 0 default, 1 default+debug, 2 default+debug+trace 8 | #END# 9 | 10 | #LUA# 11 | .. code-block:: lua 12 | 13 | oms_setLoggingLevel(logLevel) 14 | 15 | #END# 16 | 17 | #PYTHON# 18 | .. code-block:: python 19 | 20 | oms.setLoggingLevel(logLevel) 21 | 22 | #END# 23 | 24 | #CAPI# 25 | .. code-block:: c 26 | 27 | void oms_setLoggingLevel(int logLevel); 28 | 29 | #END# 30 | 31 | #OMC# 32 | .. code-block:: modelica 33 | 34 | oms_setLoggingLevel(logLevel); 35 | 36 | #END# 37 | 38 | #DESCRIPTION# 39 | #END# 40 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setMaxLogFileSize.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setMaxLogFileSize 3 | ----------------- 4 | 5 | Sets maximum log file size in MB. If the file exceeds this limit, the logging 6 | will continue on stdout. 7 | #END# 8 | 9 | #LUA# 10 | .. code-block:: lua 11 | 12 | oms_setMaxLogFileSize(size) 13 | 14 | #END# 15 | 16 | #PYTHON# 17 | .. code-block:: python 18 | 19 | oms.setMaxLogFileSize(size) 20 | 21 | #END# 22 | 23 | #CAPI# 24 | .. code-block:: c 25 | 26 | void oms_setMaxLogFileSize(const unsigned long size); 27 | 28 | #END# 29 | 30 | #DESCRIPTION# 31 | #END# 32 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setRealInputDerivative.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setRealInputDerivative 3 | ---------------------- 4 | 5 | Sets the first order derivative of a real input signal. 6 | 7 | This can only be used for CS-FMU real input signals. 8 | #END# 9 | 10 | #LUA# 11 | .. code-block:: lua 12 | 13 | status = oms_setRealInputDerivative(cref, value) 14 | 15 | #END# 16 | 17 | #PYTHON# 18 | .. code-block:: python 19 | 20 | status = oms.setRealInputDerivative(cref, value) 21 | 22 | #END# 23 | 24 | #CAPI# 25 | .. code-block:: c 26 | 27 | oms_status_enu_t oms_setRealInputDerivative(const char* cref, double value); 28 | 29 | #END# 30 | 31 | #OMC# 32 | .. code-block:: modelica 33 | 34 | status := oms_setRealInputDerivative(cref, value); 35 | 36 | #END# 37 | 38 | #DESCRIPTION# 39 | #END# 40 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setStartTime.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setStartTime 3 | ------------ 4 | 5 | Set the start time of the simulation. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_setStartTime(cref, startTime) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.setStartTime(cref, startTime) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_setStartTime(const char* cref, double startTime); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_setStartTime(cref, startTime); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setStopTime.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setStopTime 3 | ----------- 4 | 5 | Set the stop time of the simulation. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_setStopTime(cref, stopTime) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.setStopTime(cref, stopTime) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_setStopTime(const char* cref, double stopTime); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_setStopTime(cref, stopTime); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setString.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setString 3 | --------- 4 | 5 | Sets the value of a given string signal. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_setString(cref, value) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.setString(cref, value) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_setString(const char* cref, const char* value); 26 | 27 | #END# 28 | 29 | 30 | #DESCRIPTION# 31 | #END# 32 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setTempDirectory.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setTempDirectory 3 | ---------------- 4 | 5 | Set new temp directory. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_setTempDirectory(newTempDir) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.setTempDirectory(newTempDir) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_setTempDirectory(const char* newTempDir); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_setTempDirectory(newTempDir); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setUnit.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setUnit 3 | ------- 4 | 5 | Sets the unit of a given signal. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_setUnit(cref, value) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.setUnit(cref, value) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_setUnit(const char* cref, const char* value); 26 | 27 | #END# 28 | 29 | 30 | #DESCRIPTION# 31 | #END# 32 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/setWorkingDirectory.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | setWorkingDirectory 3 | ------------------- 4 | 5 | Set a new working directory. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_setWorkingDirectory(newWorkingDir) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.setWorkingDirectory(newWorkingDir) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_setWorkingDirectory(const char* newWorkingDir); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_setWorkingDirectory(newWorkingDir); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/simulate.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | simulate 3 | -------- 4 | 5 | Simulates a composite model. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_simulate(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.simulate(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_simulate(const char* cref); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_simulate(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/simulate_realtime.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | simulate_realtime 3 | ----------------- 4 | 5 | Experimental feature for (soft) real-time simulation. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = experimental_simulate_realtime(ident) 12 | 13 | #END# 14 | 15 | #CAPI# 16 | .. code-block:: c 17 | 18 | oms_status_enu_t experimental_simulate_realtime(const char* ident); 19 | 20 | #END# 21 | 22 | #DESCRIPTION# 23 | #END# 24 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/stepUntil.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | stepUntil 3 | --------- 4 | 5 | Simulates a composite model until a given time value. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_stepUntil(cref, stopTime) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.stepUntil(cref, stopTime) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_stepUntil(const char* cref, double stopTime); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_stepUntil(cref, stopTime); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/api/terminate.rst: -------------------------------------------------------------------------------- 1 | #CAPTION# 2 | terminate 3 | --------- 4 | 5 | Terminates a given composite model. 6 | #END# 7 | 8 | #LUA# 9 | .. code-block:: lua 10 | 11 | status = oms_terminate(cref) 12 | 13 | #END# 14 | 15 | #PYTHON# 16 | .. code-block:: python 17 | 18 | status = oms.terminate(cref) 19 | 20 | #END# 21 | 22 | #CAPI# 23 | .. code-block:: c 24 | 25 | oms_status_enu_t oms_terminate(const char* cref); 26 | 27 | #END# 28 | 29 | #OMC# 30 | .. code-block:: modelica 31 | 32 | status := oms_terminate(cref); 33 | 34 | #END# 35 | 36 | #DESCRIPTION# 37 | #END# 38 | -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/DualMassOscillator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/DualMassOscillator.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/omedit_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/omedit_01.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/omedit_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/omedit_02.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/omedit_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/omedit_03.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/omedit_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/omedit_04.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/omedit_05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/omedit_05.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/omedit_06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/omedit_06.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/omedit_07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/omedit_07.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/omedit_08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/omedit_08.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/omedit_09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/omedit_09.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/omedit_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/omedit_10.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/images/pi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/doc/UsersGuide/source/images/pi.png -------------------------------------------------------------------------------- /doc/UsersGuide/source/index.rst: -------------------------------------------------------------------------------- 1 | OMSimulator's documentation 2 | =========================== 3 | 4 | .. only :: html or epub 5 | 6 | .. include :: releaselink.inc 7 | 8 | 9 | .. toctree:: 10 | :maxdepth: 3 11 | :caption: Contents 12 | :numbered: 13 | 14 | introduction 15 | OMSimulator 16 | OMSimulatorLib 17 | OMSimulatorLua 18 | OMSimulatorPython 19 | OpenModelicaScripting 20 | OMEdit 21 | SSP 22 | 23 | 24 | .. only :: html 25 | 26 | Indices and tables 27 | ================== 28 | 29 | * :ref:`genindex` 30 | * :ref:`search` 31 | -------------------------------------------------------------------------------- /doc/dev/OMSimulatorLib/.gitignore: -------------------------------------------------------------------------------- 1 | # generated directories 2 | /OMSimulatorLib/ 3 | -------------------------------------------------------------------------------- /doc/dev/OMSimulatorLib/Makefile: -------------------------------------------------------------------------------- 1 | RM=rm -rf 2 | MKDIR=mkdir -p 3 | 4 | .PHONY: all doc-doxygen clean 5 | 6 | all: doc-doxygen 7 | 8 | doc-doxygen: 9 | @echo 10 | @echo "# make doc-doxygen" 11 | @echo 12 | @doxygen Doxyfile 13 | 14 | clean: 15 | @echo 16 | @echo "# make clean" 17 | @echo 18 | $(RM) html 19 | -------------------------------------------------------------------------------- /doc/dev/OMSimulatorLib/mainpage.md: -------------------------------------------------------------------------------- 1 | # OMSimulatorLib 2 | 3 | [OMSimulator](https://github.com/OpenModelica/OMSimulator) 4 | -------------------------------------------------------------------------------- /include/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(OMSimulatorInclude INTERFACE) 2 | 3 | target_include_directories(OMSimulatorInclude 4 | INTERFACE 5 | ${CMAKE_CURRENT_SOURCE_DIR}) 6 | 7 | add_library(oms::public_includes ALIAS OMSimulatorInclude) 8 | install(DIRECTORY OMSimulator TYPE INCLUDE) 9 | -------------------------------------------------------------------------------- /schema/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | install(DIRECTORY fmi2 fmi3 ssp 2 | DESTINATION ${CMAKE_INSTALL_LIBDIR}/OMSimulator/schema) 3 | -------------------------------------------------------------------------------- /src/OMSimulator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(OMSimulator) 2 | 3 | add_executable(OMSimulator main.cpp) 4 | 5 | target_link_libraries(OMSimulator PUBLIC OMSimulatorLib_static) 6 | 7 | install(TARGETS OMSimulator DESTINATION bin) 8 | -------------------------------------------------------------------------------- /src/OMSimulatorGui/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(OMSimulatorGui) 2 | 3 | add_executable(OMSimulatorGui main.cpp Application.cpp FPSCounter.cpp) 4 | 5 | if(WIN32) 6 | if(MINGW) 7 | target_link_options(OMSimulatorGui PRIVATE "-mwindows") 8 | else() 9 | target_link_options(OMSimulatorGui PRIVATE "/SUBSYSTEM:WINDOWS") 10 | endif() 11 | endif() 12 | 13 | target_include_directories(OMSimulatorGui PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../OMSimulatorLib) 14 | target_link_libraries(OMSimulatorGui PUBLIC OMSimulatorLib_static oms::3rd::GLFW oms::3rd::imgui oms::3rd::tinyfd) 15 | 16 | install(TARGETS OMSimulatorGui DESTINATION bin) 17 | -------------------------------------------------------------------------------- /src/OMSimulatorGui/DemoLayer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Application.h" 4 | #include "Layer.h" 5 | 6 | #include "imgui.h" 7 | 8 | class DemoLayer : public Layer 9 | { 10 | public: 11 | DemoLayer(Application &app) :app(app) {} 12 | 13 | void OnAttach() override 14 | { 15 | app.ShowMenubar(); 16 | } 17 | 18 | void OnMenuBar() override 19 | { 20 | if (ImGui::BeginMenu("Demo")) 21 | { 22 | if (ImGui::MenuItem(show ? "Hide" : "Show")) 23 | show = !show; 24 | ImGui::EndMenu(); 25 | } 26 | } 27 | 28 | void OnUIRender() override 29 | { 30 | if (show) 31 | ImGui::ShowDemoWindow(); 32 | } 33 | 34 | private: 35 | Application &app; 36 | 37 | bool show = false; 38 | }; 39 | -------------------------------------------------------------------------------- /src/OMSimulatorGui/Layer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class Layer 4 | { 5 | public: 6 | virtual ~Layer() = default; 7 | 8 | virtual void OnAttach() {} 9 | virtual void OnDetach() {} 10 | 11 | virtual void OnMenuBar() {} 12 | virtual void OnUpdate(float ts) {} 13 | virtual void OnUIRender() {} 14 | }; 15 | -------------------------------------------------------------------------------- /src/OMSimulatorLib/OMSFileSystem.h: -------------------------------------------------------------------------------- 1 | #ifndef _OMS_FILESYSTEM_H_ 2 | #define _OMS_FILESYSTEM_H_ 3 | 4 | #include 5 | namespace filesystem = std::filesystem; 6 | 7 | 8 | #define OMS_RECURSIVE_DIRECTORY_ITERATOR(path) (filesystem::recursive_directory_iterator{path}) 9 | 10 | filesystem::path naive_uncomplete(const filesystem::path& path, const filesystem::path& base); 11 | filesystem::path oms_unique_path(const std::string& prefix); 12 | void oms_copy_file(const filesystem::path& from, const filesystem::path& to); 13 | filesystem::path oms_canonical(const filesystem::path& p); 14 | filesystem::path oms_absolute(const filesystem::path& p); 15 | filesystem::path oms_temp_directory_path(void); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/OMSimulatorLua/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(OMSimulatorLua C) 2 | 3 | add_library(OMSimulatorLua STATIC OMSimulatorLua.c) 4 | 5 | target_link_libraries(OMSimulatorLua PUBLIC OMSimulatorLib) 6 | 7 | IF(WIN32 AND MSVC) 8 | target_link_libraries(OMSimulatorLua PUBLIC wsock32 ws2_32) 9 | ELSEIF (WIN32 AND MINGW) 10 | target_link_libraries(OMSimulatorLua PUBLIC wsock32 ws2_32 shlwapi) 11 | ENDIF () 12 | 13 | install(TARGETS OMSimulatorLua) 14 | -------------------------------------------------------------------------------- /src/OMSimulatorPython/OMSimulatorPython3.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set PYTHONPATH=%~dp0;%~dp0\..\lib;%PYTHONPATH% 4 | set PATH=%~dp0;%~dp0\..\bin;%PATH% 5 | 6 | python3 %* 7 | -------------------------------------------------------------------------------- /src/OMSimulatorPython/namespace.py: -------------------------------------------------------------------------------- 1 | ns = { 2 | 'ssc': 'http://ssp-standard.org/SSP1/SystemStructureCommon', 3 | 'ssd': 'http://ssp-standard.org/SSP1/SystemStructureDescription', 4 | 'ssv': 'http://ssp-standard.org/SSP1/SystemStructureParameterValues', 5 | 'ssm': 'http://ssp-standard.org/SSP1/SystemStructureParameterMapping', 6 | 'ssb': 'http://ssp-standard.org/SSP1/SystemStructureSignalDictionary', 7 | 'oms': 'https://raw.githubusercontent.com/OpenModelica/OMSimulator/master/schema/oms.xsd' 8 | } 9 | 10 | def tag(prefix, name): 11 | '''Helper method to generate a properly namespaced tag.''' 12 | return f'{{{ns[prefix]}}}{name}' 13 | -------------------------------------------------------------------------------- /src/OMSimulatorPython/settings.py: -------------------------------------------------------------------------------- 1 | from dataclasses import dataclass 2 | from pathlib import Path 3 | 4 | 5 | @dataclass 6 | class _Settings: 7 | suppressPath: bool = False 8 | debug_mode: bool = False 9 | 10 | Settings = _Settings() 11 | 12 | 13 | def suppress_path_to_str(path): 14 | if path is None: 15 | return str(None) 16 | 17 | if Settings.suppressPath: 18 | return '' 19 | 20 | return str(path) 21 | 22 | 23 | def suppress_relative_path_to_str(path, temp_directory): 24 | if path is None: 25 | return str(None) 26 | 27 | if Settings.suppressPath and temp_directory is not None: 28 | return f'/{Path(path).relative_to(temp_directory)}' 29 | 30 | if Settings.suppressPath: 31 | return '' 32 | 33 | return str(path) 34 | -------------------------------------------------------------------------------- /src/OMSimulatorServer/.gitignore: -------------------------------------------------------------------------------- 1 | # generated directories 2 | /log/ 3 | -------------------------------------------------------------------------------- /src/OMSimulatorServer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(OMSimulatorServer) 2 | 3 | install(FILES OMSimulatorServer.py 4 | DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/OMSimulator/scripts) 5 | -------------------------------------------------------------------------------- /src/pip/.gitignore: -------------------------------------------------------------------------------- 1 | # generated directories 2 | /install/ 3 | -------------------------------------------------------------------------------- /src/pip/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(pip) 2 | 3 | configure_file("${CMAKE_CURRENT_SOURCE_DIR}/setup.py" "${CMAKE_CURRENT_BINARY_DIR}/setup.py" @ONLY) 4 | 5 | install(FILES "${CMAKE_CURRENT_BINARY_DIR}/setup.py" DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/install/) 6 | install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/README.md" DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/install/) 7 | install(FILES "${CMAKE_SOURCE_DIR}/OSMC-License.txt" DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/install/) 8 | -------------------------------------------------------------------------------- /src/pip/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: pip 2 | 3 | pip: 4 | @echo 5 | @echo "# make pip" 6 | @echo 7 | cd install/ && python3 setup.py sdist 8 | @echo 9 | @echo "# All local packages:" 10 | @ls install/dist/ -Art 11 | @echo 12 | @echo "# Run the following command to upload the package" 13 | @echo "> twine upload src/pip/install/dist/$(shell ls install/dist/ -Art | tail -n 1)" 14 | -------------------------------------------------------------------------------- /src/pip/README.md: -------------------------------------------------------------------------------- 1 | # OMSimulator [![License: OSMC-PL](https://img.shields.io/badge/license-OSMC--PL-lightgrey.svg)](OSMC-License.txt) 2 | 3 | The OMSimulator project is a FMI-based co-simulation environment. 4 | -------------------------------------------------------------------------------- /testsuite/.gitignore: -------------------------------------------------------------------------------- 1 | # generated files 2 | /*.log 3 | -------------------------------------------------------------------------------- /testsuite/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | add_subdirectory(difftool) 3 | add_subdirectory(resources) 4 | 5 | add_custom_target(testsuite-depends 6 | DEPENDS testsuite-resources 7 | DEPENDS omc-diff) 8 | -------------------------------------------------------------------------------- /testsuite/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: all test difftool resources partest 2 | 3 | all: difftool resources test 4 | 5 | test: api.log parker.log dcmotor.log 6 | 7 | partest: difftool resources 8 | cd partest && time ./runtests.pl -nocolour -with-xml 9 | 10 | difftool: 11 | @$(MAKE) -C difftool 12 | 13 | resources: 14 | @$(MAKE) -C resources 15 | 16 | api.log: difftool 17 | @$(MAKE) -C api -f Makefile test > $@ 18 | @grep == api.log 19 | 20 | parker.log: difftool 21 | @$(MAKE) -C parker -f Makefile test > $@ 22 | @grep == parker.log 23 | 24 | dcmotor.log: difftool 25 | @$(MAKE) -C dcmotor -f Makefile test > $@ 26 | @grep == dcmotor.log -------------------------------------------------------------------------------- /testsuite/api/cref.py: -------------------------------------------------------------------------------- 1 | ## status: correct 2 | ## teardown_command: 3 | ## linux: yes 4 | ## mingw32: yes 5 | ## ucrt64: yes 6 | ## win: yes 7 | ## mac: yes 8 | 9 | from OMSimulator import CRef 10 | 11 | x = CRef('foo', 'bar') 12 | y = CRef('foo', 'bar', 'baz') 13 | z = CRef(y) 14 | print(x, y, z) 15 | 16 | x.names[0] = 'x' 17 | y.names[0] = 'y' 18 | z.names[0] = 'z' 19 | print(x, y, z) 20 | 21 | ## Result: 22 | ## foo/bar foo/bar/baz foo/bar/baz 23 | ## x/bar y/bar/baz z/bar/baz 24 | ## endResult 25 | -------------------------------------------------------------------------------- /testsuite/difftool/.gitignore: -------------------------------------------------------------------------------- 1 | # generated files 2 | /lex.yy.c 3 | /lex.yy.o 4 | -------------------------------------------------------------------------------- /testsuite/difftool/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | find_package(FLEX) 4 | 5 | if(NOT FLEX_FOUND) 6 | message(WARNING "GNU Flex not found. You will not be able to use omc-diff to verify test results against expected results.") 7 | else() 8 | FLEX_TARGET(omc_diff_lexer omc-diff.l ${CMAKE_CURRENT_BINARY_DIR}/lex.yy.c) 9 | add_executable(omc-diff ${FLEX_omc_diff_lexer_OUTPUTS}) 10 | 11 | install(TARGETS omc-diff) 12 | endif() 13 | -------------------------------------------------------------------------------- /testsuite/difftool/Makefile: -------------------------------------------------------------------------------- 1 | ifdef OMDEV 2 | CC = gcc 3 | EXT=".exe" 4 | endif 5 | 6 | # ugly fix for macosx 7 | detected_OS := $(shell uname -s) 8 | OMBUILDDIR =../../install/ 9 | 10 | $(OMBUILDDIR)/bin/omc-diff$(EXT): lex.yy.o $(OMBUILDDIR)/bin 11 | $(CC) -o $@ lex.yy.o 12 | lex.yy.c: omc-diff.l 13 | flex omc-diff.l 14 | $(OMBUILDDIR)/bin: 15 | mkdir -p "$@" 16 | -------------------------------------------------------------------------------- /testsuite/references/AircraftVehicleDemonstrator.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/AircraftVehicleDemonstrator.mat -------------------------------------------------------------------------------- /testsuite/references/BouncingBall-cs.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/BouncingBall-cs.mat -------------------------------------------------------------------------------- /testsuite/references/BouncingBall-me.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/BouncingBall-me.mat -------------------------------------------------------------------------------- /testsuite/references/Dahlquist-cs.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/Dahlquist-cs.mat -------------------------------------------------------------------------------- /testsuite/references/Dahlquist-me.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/Dahlquist-me.mat -------------------------------------------------------------------------------- /testsuite/references/DualMassOscillator.CoupledSystemEq.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/DualMassOscillator.CoupledSystemEq.mat -------------------------------------------------------------------------------- /testsuite/references/DualMassOscillator.ReferenceSystemEq.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/DualMassOscillator.ReferenceSystemEq.mat -------------------------------------------------------------------------------- /testsuite/references/PI_Controller.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/PI_Controller.mat -------------------------------------------------------------------------------- /testsuite/references/RealNetwork1.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/RealNetwork1.mat -------------------------------------------------------------------------------- /testsuite/references/SSC.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/SSC.mat -------------------------------------------------------------------------------- /testsuite/references/Stair-cs.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/Stair-cs.mat -------------------------------------------------------------------------------- /testsuite/references/Stair-me.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/Stair-me.mat -------------------------------------------------------------------------------- /testsuite/references/VanDerPol-cs.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/VanDerPol-cs.mat -------------------------------------------------------------------------------- /testsuite/references/VanDerPol-me.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/references/VanDerPol-me.mat -------------------------------------------------------------------------------- /testsuite/resources/.gitignore: -------------------------------------------------------------------------------- 1 | /*.fmu 2 | /*.ssp 3 | -------------------------------------------------------------------------------- /testsuite/resources/A/binaries/linux64/A.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/A/binaries/linux64/A.so -------------------------------------------------------------------------------- /testsuite/resources/A/binaries/win64/A.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/A/binaries/win64/A.dll -------------------------------------------------------------------------------- /testsuite/resources/A/binaries/win64/libA.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/A/binaries/win64/libA.dll.a -------------------------------------------------------------------------------- /testsuite/resources/A/resources/A_JacA.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.Atmosphere_Model_FMU_sf/binaries/win64/Atmosphere_Model_FMU_sf.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.Atmosphere_Model_FMU_sf/binaries/win64/Atmosphere_Model_FMU_sf.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.Atmosphere_Model_FMU_sf/binaries/win64/Atmosphere_Model_FMU_sf.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.Atmosphere_Model_FMU_sf/binaries/win64/Atmosphere_Model_FMU_sf.lib -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.Atmosphere_Model_FMU_sf/binaries/win64/MSVCR120.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.Atmosphere_Model_FMU_sf/binaries/win64/MSVCR120.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.bC/binaries/win32/bC.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.bC/binaries/win32/bC.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.bC/binaries/win64/bC.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.bC/binaries/win64/bC.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.bC/documentation/LICENSE_FMI.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.bC/documentation/LICENSE_FMI.txt -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.bC/documentation/_main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This file only exists as a placeholder for FMI 1. 6 | The actual documentation is present in index.html according to the FMI 2 file naming of the main index file. 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.bC/documentation/_opensource.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.bC/documentation/_opensource.html -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.cockpit/binaries/win32/cockpit.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.cockpit/binaries/win32/cockpit.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.cockpit/binaries/win64/cockpit.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.cockpit/binaries/win64/cockpit.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.cockpit/documentation/LICENSE_FMI.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.cockpit/documentation/LICENSE_FMI.txt -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.cockpit/documentation/_main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This file only exists as a placeholder for FMI 1. 6 | The actual documentation is present in index.html according to the FMI 2 file naming of the main index file. 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.cockpit/documentation/_opensource.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.cockpit/documentation/_opensource.html -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.consumer_A/binaries/win32/consumer_A.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.consumer_A/binaries/win32/consumer_A.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.consumer_A/binaries/win64/consumer_A.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.consumer_A/binaries/win64/consumer_A.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.consumer_A/documentation/LICENSE_FMI.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.consumer_A/documentation/LICENSE_FMI.txt -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.consumer_A/documentation/_main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This file only exists as a placeholder for FMI 1. 6 | The actual documentation is present in index.html according to the FMI 2 file naming of the main index file. 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.consumer_A/documentation/_opensource.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.consumer_A/documentation/_opensource.html -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.consumer_B/binaries/win32/consumer_B.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.consumer_B/binaries/win32/consumer_B.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.consumer_B/binaries/win64/consumer_B.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.consumer_B/binaries/win64/consumer_B.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.consumer_B/documentation/LICENSE_FMI.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.consumer_B/documentation/LICENSE_FMI.txt -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.consumer_B/documentation/_main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This file only exists as a placeholder for FMI 1. 6 | The actual documentation is present in index.html according to the FMI 2 file naming of the main index file. 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.consumer_B/documentation/_opensource.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.consumer_B/documentation/_opensource.html -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.eCS_Generic_Export/binaries/win32/eCS_Generic_Export.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.eCS_Generic_Export/binaries/win32/eCS_Generic_Export.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.eCS_Generic_Export/binaries/win64/eCS_Generic_Export.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.eCS_Generic_Export/binaries/win64/eCS_Generic_Export.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.eCS_Generic_Export/documentation/LICENSE_FMI.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.eCS_Generic_Export/documentation/LICENSE_FMI.txt -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.eCS_Generic_Export/documentation/_main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This file only exists as a placeholder for FMI 1. 6 | The actual documentation is present in index.html according to the FMI 2 file naming of the main index file. 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.eCS_Generic_Export/documentation/_opensource.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.eCS_Generic_Export/documentation/_opensource.html -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.eCS_SW/binaries/win32/eCS_SW.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.eCS_SW/binaries/win32/eCS_SW.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.eCS_SW/binaries/win64/eCS_SW.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.eCS_SW/binaries/win64/eCS_SW.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.eCS_SW/documentation/LICENSE_FMI.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.eCS_SW/documentation/LICENSE_FMI.txt -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.eCS_SW/documentation/_main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This file only exists as a placeholder for FMI 1. 6 | The actual documentation is present in index.html according to the FMI 2 file naming of the main index file. 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.eCS_SW/documentation/_opensource.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.eCS_SW/documentation/_opensource.html -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.engine/binaries/win32/engine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.engine/binaries/win32/engine.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.engine/binaries/win64/engine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.engine/binaries/win64/engine.dll -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.engine/documentation/LICENSE_FMI.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.engine/documentation/LICENSE_FMI.txt -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.engine/documentation/_main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This file only exists as a placeholder for FMI 1. 6 | The actual documentation is present in index.html according to the FMI 2 file naming of the main index file. 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /testsuite/resources/AircraftVehicleDemonstrator.engine/documentation/_opensource.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/AircraftVehicleDemonstrator.engine/documentation/_opensource.html -------------------------------------------------------------------------------- /testsuite/resources/B/binaries/linux64/B.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/B/binaries/linux64/B.so -------------------------------------------------------------------------------- /testsuite/resources/B/binaries/win64/B.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/B/binaries/win64/B.dll -------------------------------------------------------------------------------- /testsuite/resources/B/binaries/win64/libB.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/B/binaries/win64/libB.dll.a -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall/binaries/darwin64/BouncingBall.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/BouncingBall/binaries/darwin64/BouncingBall.dylib -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall/binaries/linux64/BouncingBall.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/BouncingBall/binaries/linux64/BouncingBall.so -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall/binaries/win32/BouncingBall.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/BouncingBall/binaries/win32/BouncingBall.dll -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall/binaries/win64/BouncingBall.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/BouncingBall/binaries/win64/BouncingBall.dll -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall/sources/all.c: -------------------------------------------------------------------------------- 1 | #define FMI_VERSION 2 2 | 3 | #include "fmi2Functions.c" 4 | #include "model.c" 5 | #include "cosimulation.c" 6 | -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall3/binaries/aarch64-darwin/BouncingBall.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/BouncingBall3/binaries/aarch64-darwin/BouncingBall.dylib -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall3/binaries/aarch64-linux/BouncingBall.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/BouncingBall3/binaries/aarch64-linux/BouncingBall.so -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall3/binaries/x86-windows/BouncingBall.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/BouncingBall3/binaries/x86-windows/BouncingBall.dll -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall3/binaries/x86_64-darwin/BouncingBall.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/BouncingBall3/binaries/x86_64-darwin/BouncingBall.dylib -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall3/binaries/x86_64-linux/BouncingBall.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/BouncingBall3/binaries/x86_64-linux/BouncingBall.so -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall3/binaries/x86_64-windows/BouncingBall.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/BouncingBall3/binaries/x86_64-windows/BouncingBall.dll -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall3/sources/buildDescription.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /testsuite/resources/BouncingBall3/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/CONOPS.csv: -------------------------------------------------------------------------------- 1 | time,Alt,Mach,heatLoad,WGT_ON_WHL,Aircraft_state 2 | 0,0,0.2,500,1,0 3 | 60,0,0.2,500,1,0 4 | 60,0,0.2,500,0,4 5 | 110,8000,0.8,500,0,4 6 | 460,8000,0.8,500,0,4 7 | 460,8000,0.8,3500,0,4 8 | 580,8000,0.8,3500,0,4 9 | 640,1000,1.3,3500,0,4 10 | 640,1000,1.3,500,0,4 11 | 700,1000,1.3,500,0,4 12 | 750,8000,0.8,500,0,4 13 | 1100,8000,0.8,500,0,4 14 | 1150,0,0.2,500,0,4 15 | 1150,0,0.2,500,1,0 16 | 1200,0,0,500,1,0 17 | -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist/binaries/darwin64/Dahlquist.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Dahlquist/binaries/darwin64/Dahlquist.dylib -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist/binaries/linux64/Dahlquist.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Dahlquist/binaries/linux64/Dahlquist.so -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist/binaries/win32/Dahlquist.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Dahlquist/binaries/win32/Dahlquist.dll -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist/binaries/win64/Dahlquist.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Dahlquist/binaries/win64/Dahlquist.dll -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist/sources/all.c: -------------------------------------------------------------------------------- 1 | #define FMI_VERSION 2 2 | 3 | #include "fmi2Functions.c" 4 | #include "model.c" 5 | #include "cosimulation.c" 6 | -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist/sources/config.h: -------------------------------------------------------------------------------- 1 | #ifndef config_h 2 | #define config_h 3 | 4 | // define class name and unique id 5 | #define MODEL_IDENTIFIER Dahlquist 6 | #define INSTANTIATION_TOKEN "{221063D2-EF4A-45FE-B954-B5BFEEA9A59B}" 7 | 8 | #define CO_SIMULATION 9 | #define MODEL_EXCHANGE 10 | 11 | #define HAS_CONTINUOUS_STATES 12 | 13 | #define SET_FLOAT64 14 | 15 | #define FIXED_SOLVER_STEP 0.1 16 | #define DEFAULT_STOP_TIME 10 17 | 18 | typedef enum { 19 | vr_time, vr_x, vr_der_x, vr_k 20 | } ValueReference; 21 | 22 | typedef struct { 23 | 24 | double x; 25 | double der_x; 26 | double k; 27 | 28 | } ModelData; 29 | 30 | #endif /* config_h */ 31 | -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist3/binaries/aarch64-darwin/Dahlquist.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Dahlquist3/binaries/aarch64-darwin/Dahlquist.dylib -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist3/binaries/aarch64-linux/Dahlquist.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Dahlquist3/binaries/aarch64-linux/Dahlquist.so -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist3/binaries/x86-windows/Dahlquist.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Dahlquist3/binaries/x86-windows/Dahlquist.dll -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist3/binaries/x86_64-darwin/Dahlquist.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Dahlquist3/binaries/x86_64-darwin/Dahlquist.dylib -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist3/binaries/x86_64-linux/Dahlquist.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Dahlquist3/binaries/x86_64-linux/Dahlquist.so -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist3/binaries/x86_64-windows/Dahlquist.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Dahlquist3/binaries/x86_64-windows/Dahlquist.dll -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist3/sources/buildDescription.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist3/sources/config.h: -------------------------------------------------------------------------------- 1 | #ifndef config_h 2 | #define config_h 3 | 4 | // define class name and unique id 5 | #define MODEL_IDENTIFIER Dahlquist 6 | #define INSTANTIATION_TOKEN "{221063D2-EF4A-45FE-B954-B5BFEEA9A59B}" 7 | 8 | #define CO_SIMULATION 9 | #define MODEL_EXCHANGE 10 | 11 | #define HAS_CONTINUOUS_STATES 12 | 13 | #define SET_FLOAT64 14 | 15 | #define FIXED_SOLVER_STEP 0.1 16 | #define DEFAULT_STOP_TIME 10 17 | 18 | typedef enum { 19 | vr_time, vr_x, vr_der_x, vr_k 20 | } ValueReference; 21 | 22 | typedef struct { 23 | 24 | double x; 25 | double der_x; 26 | double k; 27 | 28 | } ModelData; 29 | 30 | #endif /* config_h */ 31 | -------------------------------------------------------------------------------- /testsuite/resources/Dahlquist3/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/DualMassOscillator.System1/binaries/linux64/DualMassOscillator_System1.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/DualMassOscillator.System1/binaries/linux64/DualMassOscillator_System1.so -------------------------------------------------------------------------------- /testsuite/resources/DualMassOscillator.System1/binaries/win64/DualMassOscillator_System1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/DualMassOscillator.System1/binaries/win64/DualMassOscillator_System1.dll -------------------------------------------------------------------------------- /testsuite/resources/DualMassOscillator.System1/binaries/win64/libDualMassOscillator_System1.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/DualMassOscillator.System1/binaries/win64/libDualMassOscillator_System1.dll.a -------------------------------------------------------------------------------- /testsuite/resources/DualMassOscillator.System1/resources/DualMassOscillator_System1_JacA.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/DualMassOscillator.System2/binaries/linux64/DualMassOscillator_System2.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/DualMassOscillator.System2/binaries/linux64/DualMassOscillator_System2.so -------------------------------------------------------------------------------- /testsuite/resources/DualMassOscillator.System2/binaries/win64/DualMassOscillator_System2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/DualMassOscillator.System2/binaries/win64/DualMassOscillator_System2.dll -------------------------------------------------------------------------------- /testsuite/resources/DualMassOscillator.System2/binaries/win64/libDualMassOscillator_System2.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/DualMassOscillator.System2/binaries/win64/libDualMassOscillator_System2.dll.a -------------------------------------------------------------------------------- /testsuite/resources/DualMassOscillator.System2/resources/DualMassOscillator_System2_JacA.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/Enum1/binaries/linux64/Enum1.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Enum1/binaries/linux64/Enum1.so -------------------------------------------------------------------------------- /testsuite/resources/Enum1/binaries/win64/Enum1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Enum1/binaries/win64/Enum1.dll -------------------------------------------------------------------------------- /testsuite/resources/Enum1/binaries/win64/libEnum1.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Enum1/binaries/win64/libEnum1.dll.a -------------------------------------------------------------------------------- /testsuite/resources/EventTest.mos: -------------------------------------------------------------------------------- 1 | loadString(" 2 | model EventTest 3 | parameter Real start_height = 2.0; 4 | Real height(fixed=true, start=start_height); 5 | equation 6 | der(height) = -1.0; 7 | when height < 0.0 then 8 | reinit(height, start_height); 9 | end when; 10 | end EventTest; 11 | "); getErrorString(); 12 | 13 | buildModelFMU(EventTest, version="2.0", fmuType="me_cs", fileNamePrefix="EventTest", platforms={"x86_64-linux-gnu docker run multiarch/crossbuild","x86_64-w64-mingw32 docker run multiarch/crossbuild"}); getErrorString(); 14 | 15 | system("zip -qd EventTest.fmu sources/* && unzip -o EventTest.fmu -d EventTest/"); 16 | -------------------------------------------------------------------------------- /testsuite/resources/EventTest/binaries/linux64/EventTest.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/EventTest/binaries/linux64/EventTest.so -------------------------------------------------------------------------------- /testsuite/resources/EventTest/binaries/win64/EventTest.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/EventTest/binaries/win64/EventTest.dll -------------------------------------------------------------------------------- /testsuite/resources/EventTest/binaries/win64/libEventTest.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/EventTest/binaries/win64/libEventTest.dll.a -------------------------------------------------------------------------------- /testsuite/resources/EventTest/resources/EventTest_JacA.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough/binaries/darwin64/Feedthrough.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Feedthrough/binaries/darwin64/Feedthrough.dylib -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough/binaries/linux64/Feedthrough.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Feedthrough/binaries/linux64/Feedthrough.so -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough/binaries/win32/Feedthrough.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Feedthrough/binaries/win32/Feedthrough.dll -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough/binaries/win64/Feedthrough.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Feedthrough/binaries/win64/Feedthrough.dll -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough/sources/all.c: -------------------------------------------------------------------------------- 1 | #define FMI_VERSION 2 2 | 3 | #include "fmi2Functions.c" 4 | #include "model.c" 5 | #include "cosimulation.c" 6 | -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough3/binaries/aarch64-darwin/Feedthrough.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Feedthrough3/binaries/aarch64-darwin/Feedthrough.dylib -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough3/binaries/aarch64-linux/Feedthrough.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Feedthrough3/binaries/aarch64-linux/Feedthrough.so -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough3/binaries/x86-windows/Feedthrough.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Feedthrough3/binaries/x86-windows/Feedthrough.dll -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough3/binaries/x86_64-darwin/Feedthrough.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Feedthrough3/binaries/x86_64-darwin/Feedthrough.dylib -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough3/binaries/x86_64-linux/Feedthrough.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Feedthrough3/binaries/x86_64-linux/Feedthrough.so -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough3/binaries/x86_64-windows/Feedthrough.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Feedthrough3/binaries/x86_64-windows/Feedthrough.dll -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough3/sources/buildDescription.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /testsuite/resources/Feedthrough3/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/HelloWorld.mos: -------------------------------------------------------------------------------- 1 | loadString(" 2 | model HelloWorld 3 | parameter Real a = -1; 4 | parameter Real x_start = 1; 5 | Real x(start=x_start, fixed=true); 6 | equation 7 | der(x) = a*x; 8 | end HelloWorld; 9 | "); getErrorString(); 10 | 11 | buildModelFMU(HelloWorld, version="2.0", fmuType="me_cs", fileNamePrefix="HelloWorld", platforms={"x86_64-linux-gnu docker run multiarch/crossbuild","x86_64-w64-mingw32 docker run multiarch/crossbuild"}); getErrorString(); 12 | 13 | system("zip -qd HelloWorld.fmu sources/* && unzip -o HelloWorld.fmu -d HelloWorld/"); 14 | -------------------------------------------------------------------------------- /testsuite/resources/HelloWorld/binaries/linux64/HelloWorld.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/HelloWorld/binaries/linux64/HelloWorld.so -------------------------------------------------------------------------------- /testsuite/resources/HelloWorld/binaries/win64/HelloWorld.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/HelloWorld/binaries/win64/HelloWorld.dll -------------------------------------------------------------------------------- /testsuite/resources/HelloWorld/binaries/win64/libHelloWorld.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/HelloWorld/binaries/win64/libHelloWorld.dll.a -------------------------------------------------------------------------------- /testsuite/resources/HelloWorld/resources/HelloWorld_JacA.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/HelloWorldWithInput.mos: -------------------------------------------------------------------------------- 1 | loadString(" 2 | model HelloWorldWithInput 3 | input Real u; 4 | parameter Real a = -1; 5 | parameter Real x_start = 1; 6 | Real x(start=x_start, fixed=true); 7 | equation 8 | der(x) = a*x + u; 9 | end HelloWorldWithInput; 10 | "); getErrorString(); 11 | 12 | buildModelFMU(HelloWorldWithInput, version="2.0", fmuType="me_cs", fileNamePrefix="HelloWorldWithInput", platforms={"x86_64-linux-gnu docker run multiarch/crossbuild","x86_64-w64-mingw32 docker run multiarch/crossbuild"}); getErrorString(); 13 | 14 | system("zip -qd HelloWorldWithInput.fmu sources/* && unzip -o HelloWorldWithInput.fmu -d HelloWorldWithInput/"); 15 | -------------------------------------------------------------------------------- /testsuite/resources/HelloWorldWithInput/binaries/linux64/HelloWorldWithInput.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/HelloWorldWithInput/binaries/linux64/HelloWorldWithInput.so -------------------------------------------------------------------------------- /testsuite/resources/HelloWorldWithInput/binaries/win64/HelloWorldWithInput.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/HelloWorldWithInput/binaries/win64/HelloWorldWithInput.dll -------------------------------------------------------------------------------- /testsuite/resources/HelloWorldWithInput/binaries/win64/libHelloWorldWithInput.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/HelloWorldWithInput/binaries/win64/libHelloWorldWithInput.dll.a -------------------------------------------------------------------------------- /testsuite/resources/HelloWorldWithInput/resources/HelloWorldWithInput_JacA.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/Int1/binaries/linux64/Int1.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Int1/binaries/linux64/Int1.so -------------------------------------------------------------------------------- /testsuite/resources/Int1/binaries/win64/Int1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Int1/binaries/win64/Int1.dll -------------------------------------------------------------------------------- /testsuite/resources/Int1/binaries/win64/libInt1.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Int1/binaries/win64/libInt1.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Lin2DimODE.mos: -------------------------------------------------------------------------------- 1 | loadString(" 2 | model Lin2DimODE 3 | parameter Real a11 = -1; 4 | parameter Real a12 = 0.1; 5 | parameter Real a21 = 0.1; 6 | parameter Real a22 = -0.9; 7 | parameter Real x1_start = 1; 8 | parameter Real x2_start = 1.1; 9 | Real x1(start=x1_start, fixed=true); 10 | Real x2(start=x2_start, fixed=true); 11 | equation 12 | der(x1) = a11*x1 + a12*x2; 13 | der(x2) = a21*x1 + a22*x2; 14 | end Lin2DimODE; 15 | "); getErrorString(); 16 | 17 | buildModelFMU(Lin2DimODE, version="2.0", fmuType="me_cs", fileNamePrefix="Lin2DimODE", platforms={"x86_64-linux-gnu docker run multiarch/crossbuild","x86_64-w64-mingw32 docker run multiarch/crossbuild"}); getErrorString(); 18 | 19 | system("zip -qd Lin2DimODE.fmu sources/* && unzip -o Lin2DimODE.fmu -d Lin2DimODE/"); 20 | -------------------------------------------------------------------------------- /testsuite/resources/Lin2DimODE/binaries/linux64/Lin2DimODE.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Lin2DimODE/binaries/linux64/Lin2DimODE.so -------------------------------------------------------------------------------- /testsuite/resources/Lin2DimODE/binaries/win64/Lin2DimODE.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Lin2DimODE/binaries/win64/Lin2DimODE.dll -------------------------------------------------------------------------------- /testsuite/resources/Lin2DimODE/binaries/win64/libLin2DimODE.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Lin2DimODE/binaries/win64/libLin2DimODE.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Lin2DimODE/resources/Lin2DimODE_JacA.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Continuous.Integrator/binaries/linux64/Modelica_Blocks_Continuous_Integrator.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Continuous.Integrator/binaries/linux64/Modelica_Blocks_Continuous_Integrator.so -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Continuous.Integrator/binaries/win64/Modelica_Blocks_Continuous_Integrator.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Continuous.Integrator/binaries/win64/Modelica_Blocks_Continuous_Integrator.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Continuous.Integrator/binaries/win64/libModelica_Blocks_Continuous_Integrator.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Continuous.Integrator/binaries/win64/libModelica_Blocks_Continuous_Integrator.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Continuous.Integrator/resources/Modelica_Blocks_Continuous_Integrator_JacA.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Add/binaries/linux64/Modelica_Blocks_Math_Add.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Add/binaries/linux64/Modelica_Blocks_Math_Add.so -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Add/binaries/win64/Modelica_Blocks_Math_Add.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Add/binaries/win64/Modelica_Blocks_Math_Add.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Add/binaries/win64/libModelica_Blocks_Math_Add.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Add/binaries/win64/libModelica_Blocks_Math_Add.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Add/documentation/index.html: -------------------------------------------------------------------------------- 1 | 2 |

Modelica.Blocks.Math.Add

3 |

Output the sum of the two inputs

4 |

Information

5 |

6 | This blocks computes output y as sum of the 7 | two input signals u1 and u2: 8 |

9 |
10 | y = k1*u1 + k2*u2;
11 | 
12 |

13 | Example: 14 |

15 |
16 |    parameter:   k1= +2, k2= -3
17 | 
18 | results in the following equations:
19 | 
20 |    y = 2 * u1 - 3 * u2
21 | 
22 | 23 | 24 |

Revisions

25 | -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Add3/binaries/linux64/Modelica_Blocks_Math_Add3.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Add3/binaries/linux64/Modelica_Blocks_Math_Add3.so -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Add3/binaries/win64/Modelica_Blocks_Math_Add3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Add3/binaries/win64/Modelica_Blocks_Math_Add3.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Add3/binaries/win64/libModelica_Blocks_Math_Add3.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Add3/binaries/win64/libModelica_Blocks_Math_Add3.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Add3/documentation/index.html: -------------------------------------------------------------------------------- 1 | 2 |

Modelica.Blocks.Math.Add3

3 |

Output the sum of the three inputs

4 |

Information

5 |

6 | This blocks computes output y as sum of the 7 | three input signals u1, u2 and u3: 8 |

9 |
10 | y = k1*u1 + k2*u2 + k3*u3;
11 | 
12 |

13 | Example: 14 |

15 |
16 |    parameter:   k1= +2, k2= -3, k3=1;
17 | 
18 | results in the following equations:
19 | 
20 |    y = 2 * u1 - 3 * u2 + u3;
21 | 
22 | 23 | 24 |

Revisions

25 | -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Feedback/binaries/linux64/Modelica_Blocks_Math_Feedback.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Feedback/binaries/linux64/Modelica_Blocks_Math_Feedback.so -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Feedback/binaries/win64/Modelica_Blocks_Math_Feedback.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Feedback/binaries/win64/Modelica_Blocks_Math_Feedback.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Feedback/binaries/win64/libModelica_Blocks_Math_Feedback.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Feedback/binaries/win64/libModelica_Blocks_Math_Feedback.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Feedback/documentation/index.html: -------------------------------------------------------------------------------- 1 | 2 |

Modelica.Blocks.Math.Feedback

3 |

Output difference between commanded and feedback input

4 |

Information

5 |

6 | This blocks computes output y as difference of the 7 | commanded input u1 and the feedback 8 | input u2: 9 |

10 |
11 | y = u1 - u2;
12 | 
13 |

14 | Example: 15 |

16 |
17 |    parameter:   n = 2
18 | 
19 | results in the following equations:
20 | 
21 |    y = u1 - u2
22 | 
23 | 24 | 25 |

Revisions

26 | -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Gain/binaries/linux64/Modelica_Blocks_Math_Gain.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Gain/binaries/linux64/Modelica_Blocks_Math_Gain.so -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Gain/binaries/win64/Modelica_Blocks_Math_Gain.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Gain/binaries/win64/Modelica_Blocks_Math_Gain.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Gain/binaries/win64/libModelica_Blocks_Math_Gain.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Gain/binaries/win64/libModelica_Blocks_Math_Gain.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Gain/documentation/index.html: -------------------------------------------------------------------------------- 1 | 2 |

Modelica.Blocks.Math.Gain

3 |

Output the product of a gain value with the input signal

4 |

Information

5 |

6 | This block computes output y as 7 | product of gain k with the 8 | input u: 9 |

10 |
11 | y = k * u;
12 | 
13 | 14 | 15 |

Revisions

16 | -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Product/binaries/linux64/Modelica_Blocks_Math_Product.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Product/binaries/linux64/Modelica_Blocks_Math_Product.so -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Product/binaries/win64/Modelica_Blocks_Math_Product.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Product/binaries/win64/Modelica_Blocks_Math_Product.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Product/binaries/win64/libModelica_Blocks_Math_Product.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Math.Product/binaries/win64/libModelica_Blocks_Math_Product.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Math.Product/documentation/index.html: -------------------------------------------------------------------------------- 1 | 2 |

Modelica.Blocks.Math.Product

3 |

Output product of the two inputs

4 |

Information

5 |

6 | This blocks computes the output y 7 | as product of the two inputs u1 and u2: 8 |

9 |
10 | y = u1 * u2;
11 | 
12 | 13 | 14 |

Revisions

15 | -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Nonlinear.Limiter/binaries/linux64/Modelica_Blocks_Nonlinear_Limiter.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Nonlinear.Limiter/binaries/linux64/Modelica_Blocks_Nonlinear_Limiter.so -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Nonlinear.Limiter/binaries/win64/Modelica_Blocks_Nonlinear_Limiter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Nonlinear.Limiter/binaries/win64/Modelica_Blocks_Nonlinear_Limiter.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Nonlinear.Limiter/binaries/win64/libModelica_Blocks_Nonlinear_Limiter.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Nonlinear.Limiter/binaries/win64/libModelica_Blocks_Nonlinear_Limiter.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Constant/binaries/linux64/Modelica_Blocks_Sources_Constant.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.Constant/binaries/linux64/Modelica_Blocks_Sources_Constant.so -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Constant/binaries/win64/Modelica_Blocks_Sources_Constant.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.Constant/binaries/win64/Modelica_Blocks_Sources_Constant.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Constant/binaries/win64/libModelica_Blocks_Sources_Constant.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.Constant/binaries/win64/libModelica_Blocks_Sources_Constant.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Constant/documentation/index.html: -------------------------------------------------------------------------------- 1 | 2 |

Modelica.Blocks.Sources.Constant

3 |

Generate constant signal of type Real

4 |

Information

5 |

6 | The Real output y is a constant signal: 7 |

8 | 9 |

10 | Constant.png 12 |

13 | 14 |

Revisions

15 | -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.ContinuousClock/binaries/linux64/Modelica_Blocks_Sources_ContinuousClock.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.ContinuousClock/binaries/linux64/Modelica_Blocks_Sources_ContinuousClock.so -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.ContinuousClock/binaries/win64/Modelica_Blocks_Sources_ContinuousClock.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.ContinuousClock/binaries/win64/Modelica_Blocks_Sources_ContinuousClock.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.ContinuousClock/binaries/win64/libModelica_Blocks_Sources_ContinuousClock.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.ContinuousClock/binaries/win64/libModelica_Blocks_Sources_ContinuousClock.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.ContinuousClock/documentation/index.html: -------------------------------------------------------------------------------- 1 | 2 |

Modelica.Blocks.Sources.ContinuousClock

3 |

Generate current time signal

4 |

Information

5 |

6 | The Real output y is a clock signal: 7 |

8 | 9 |

10 | ContinuousClock.png 12 |

13 | 14 |

Revisions

15 | -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Sine/binaries/linux64/Modelica_Blocks_Sources_Sine.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.Sine/binaries/linux64/Modelica_Blocks_Sources_Sine.so -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Sine/binaries/win64/Modelica_Blocks_Sources_Sine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.Sine/binaries/win64/Modelica_Blocks_Sources_Sine.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Sine/binaries/win64/libModelica_Blocks_Sources_Sine.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.Sine/binaries/win64/libModelica_Blocks_Sources_Sine.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Sine/documentation/index.html: -------------------------------------------------------------------------------- 1 | 2 |

Modelica.Blocks.Sources.Sine

3 |

Generate sine signal

4 |

Information

5 |

6 | The Real output y is a sine signal: 7 |

8 | 9 |

10 | Sine.png 12 |

13 | 14 |

Revisions

15 | -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Step/binaries/linux64/Modelica_Blocks_Sources_Step.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.Step/binaries/linux64/Modelica_Blocks_Sources_Step.so -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Step/binaries/win64/Modelica_Blocks_Sources_Step.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.Step/binaries/win64/Modelica_Blocks_Sources_Step.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Step/binaries/win64/libModelica_Blocks_Sources_Step.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Blocks.Sources.Step/binaries/win64/libModelica_Blocks_Sources_Step.dll.a -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Blocks.Sources.Step/documentation/index.html: -------------------------------------------------------------------------------- 1 | 2 |

Modelica.Blocks.Sources.Step

3 |

Generate step signal of type Real

4 |

Information

5 |

6 | The Real output y is a step signal: 7 |

8 | 9 |

10 | Step.png 12 |

13 | 14 | 15 |

Revisions

16 | -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Electrical.Analog.Examples.CauerLowPassAnalog/binaries/win64/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Electrical.Analog.Examples.CauerLowPassAnalog/binaries/win64/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dll -------------------------------------------------------------------------------- /testsuite/resources/Modelica.Electrical.Analog.Examples.CauerLowPassAnalog/binaries/win64/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Modelica.Electrical.Analog.Examples.CauerLowPassAnalog/binaries/win64/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.lib -------------------------------------------------------------------------------- /testsuite/resources/ParkerSimPack/resources/FMU_16_aero_interface.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/ParkerSimPack/resources/FMU_16_aero_interface.fmu -------------------------------------------------------------------------------- /testsuite/resources/ParkerSimPack/resources/FMU_16_aero_stimuli.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/ParkerSimPack/resources/FMU_16_aero_stimuli.fmu -------------------------------------------------------------------------------- /testsuite/resources/ParkerSimPack/resources/FMU_16_interface.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/ParkerSimPack/resources/FMU_16_interface.fmu -------------------------------------------------------------------------------- /testsuite/resources/ParkerSimPack/resources/FMU_16_stimuli.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/ParkerSimPack/resources/FMU_16_stimuli.fmu -------------------------------------------------------------------------------- /testsuite/resources/ParkerSimPack/resources/L90LS_UD_OS_OS.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/ParkerSimPack/resources/L90LS_UD_OS_OS.fmu -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementDisplacement.Chassis/binaries/linux64/QuarterCarModel_DisplacementDisplacement_Chassis.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementDisplacement.Chassis/binaries/linux64/QuarterCarModel_DisplacementDisplacement_Chassis.so -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementDisplacement.Chassis/binaries/win64/QuarterCarModel_DisplacementDisplacement_Chassis.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementDisplacement.Chassis/binaries/win64/QuarterCarModel_DisplacementDisplacement_Chassis.dll -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementDisplacement.Chassis/binaries/win64/libQuarterCarModel_DisplacementDisplacement_Chassis.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementDisplacement.Chassis/binaries/win64/libQuarterCarModel_DisplacementDisplacement_Chassis.dll.a -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementDisplacement.Chassis/resources/QuarterCarModel_DisplacementDisplacement_Chassis_JacA.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementDisplacement.Wheel/binaries/linux64/QuarterCarModel_DisplacementDisplacement_Wheel.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementDisplacement.Wheel/binaries/linux64/QuarterCarModel_DisplacementDisplacement_Wheel.so -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementDisplacement.Wheel/binaries/win64/QuarterCarModel_DisplacementDisplacement_Wheel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementDisplacement.Wheel/binaries/win64/QuarterCarModel_DisplacementDisplacement_Wheel.dll -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementDisplacement.Wheel/binaries/win64/libQuarterCarModel_DisplacementDisplacement_Wheel.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementDisplacement.Wheel/binaries/win64/libQuarterCarModel_DisplacementDisplacement_Wheel.dll.a -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementDisplacement.Wheel/resources/QuarterCarModel_DisplacementDisplacement_Wheel_JacA.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementForce.Chassis/binaries/linux64/QuarterCarModel_DisplacementForce_Chassis.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementForce.Chassis/binaries/linux64/QuarterCarModel_DisplacementForce_Chassis.so -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementForce.Chassis/binaries/win64/QuarterCarModel_DisplacementForce_Chassis.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementForce.Chassis/binaries/win64/QuarterCarModel_DisplacementForce_Chassis.dll -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementForce.Chassis/binaries/win64/libQuarterCarModel_DisplacementForce_Chassis.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementForce.Chassis/binaries/win64/libQuarterCarModel_DisplacementForce_Chassis.dll.a -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementForce.Chassis/resources/QuarterCarModel_DisplacementForce_Chassis_JacA.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementForce.Wheel/binaries/linux64/QuarterCarModel_DisplacementForce_Wheel.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementForce.Wheel/binaries/linux64/QuarterCarModel_DisplacementForce_Wheel.so -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementForce.Wheel/binaries/win64/QuarterCarModel_DisplacementForce_Wheel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementForce.Wheel/binaries/win64/QuarterCarModel_DisplacementForce_Wheel.dll -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementForce.Wheel/binaries/win64/libQuarterCarModel_DisplacementForce_Wheel.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/QuarterCarModel.DisplacementForce.Wheel/binaries/win64/libQuarterCarModel_DisplacementForce_Wheel.dll.a -------------------------------------------------------------------------------- /testsuite/resources/QuarterCarModel.DisplacementForce.Wheel/resources/QuarterCarModel_DisplacementForce_Wheel_JacA.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/Resource/binaries/darwin64/Resource.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Resource/binaries/darwin64/Resource.dylib -------------------------------------------------------------------------------- /testsuite/resources/Resource/binaries/linux64/Resource.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Resource/binaries/linux64/Resource.so -------------------------------------------------------------------------------- /testsuite/resources/Resource/binaries/win32/Resource.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Resource/binaries/win32/Resource.dll -------------------------------------------------------------------------------- /testsuite/resources/Resource/binaries/win64/Resource.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Resource/binaries/win64/Resource.dll -------------------------------------------------------------------------------- /testsuite/resources/Resource/resources/y.txt: -------------------------------------------------------------------------------- 1 | a <- the value of this character (97) will be assigned to variable "y" 2 | -------------------------------------------------------------------------------- /testsuite/resources/Resource/sources/all.c: -------------------------------------------------------------------------------- 1 | #define FMI_VERSION 2 2 | 3 | #include "fmi2Functions.c" 4 | #include "model.c" 5 | #include "cosimulation.c" 6 | -------------------------------------------------------------------------------- /testsuite/resources/Resource/sources/config.h: -------------------------------------------------------------------------------- 1 | #ifndef config_h 2 | #define config_h 3 | 4 | // define class name and unique id 5 | #define MODEL_IDENTIFIER Resource 6 | #define INSTANTIATION_TOKEN "{7b9c2114-2ce5-4076-a138-2cbc69e069e5}" 7 | 8 | #define CO_SIMULATION 9 | #define MODEL_EXCHANGE 10 | 11 | #define GET_INT32 12 | 13 | #define FIXED_SOLVER_STEP 1 14 | #define DEFAULT_STOP_TIME 1 15 | 16 | typedef enum { 17 | vr_time, vr_y 18 | } ValueReference; 19 | 20 | typedef struct { 21 | int y; 22 | } ModelData; 23 | 24 | #endif /* config_h */ 25 | -------------------------------------------------------------------------------- /testsuite/resources/Resource/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/Resource3/binaries/aarch64-darwin/Resource.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Resource3/binaries/aarch64-darwin/Resource.dylib -------------------------------------------------------------------------------- /testsuite/resources/Resource3/binaries/aarch64-linux/Resource.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Resource3/binaries/aarch64-linux/Resource.so -------------------------------------------------------------------------------- /testsuite/resources/Resource3/binaries/x86-windows/Resource.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Resource3/binaries/x86-windows/Resource.dll -------------------------------------------------------------------------------- /testsuite/resources/Resource3/binaries/x86_64-darwin/Resource.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Resource3/binaries/x86_64-darwin/Resource.dylib -------------------------------------------------------------------------------- /testsuite/resources/Resource3/binaries/x86_64-linux/Resource.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Resource3/binaries/x86_64-linux/Resource.so -------------------------------------------------------------------------------- /testsuite/resources/Resource3/binaries/x86_64-windows/Resource.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Resource3/binaries/x86_64-windows/Resource.dll -------------------------------------------------------------------------------- /testsuite/resources/Resource3/resources/y.txt: -------------------------------------------------------------------------------- 1 | a <- the value of this character (97) will be assigned to variable "y" 2 | -------------------------------------------------------------------------------- /testsuite/resources/Resource3/sources/buildDescription.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /testsuite/resources/Resource3/sources/config.h: -------------------------------------------------------------------------------- 1 | #ifndef config_h 2 | #define config_h 3 | 4 | // define class name and unique id 5 | #define MODEL_IDENTIFIER Resource 6 | #define INSTANTIATION_TOKEN "{7b9c2114-2ce5-4076-a138-2cbc69e069e5}" 7 | 8 | #define CO_SIMULATION 9 | #define MODEL_EXCHANGE 10 | 11 | #define GET_INT32 12 | 13 | #define FIXED_SOLVER_STEP 1 14 | #define DEFAULT_STOP_TIME 1 15 | 16 | typedef enum { 17 | vr_time, vr_y 18 | } ValueReference; 19 | 20 | typedef struct { 21 | int y; 22 | } ModelData; 23 | 24 | #endif /* config_h */ 25 | -------------------------------------------------------------------------------- /testsuite/resources/Resource3/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/Stair/binaries/darwin64/Stair.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Stair/binaries/darwin64/Stair.dylib -------------------------------------------------------------------------------- /testsuite/resources/Stair/binaries/linux64/Stair.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Stair/binaries/linux64/Stair.so -------------------------------------------------------------------------------- /testsuite/resources/Stair/binaries/win32/Stair.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Stair/binaries/win32/Stair.dll -------------------------------------------------------------------------------- /testsuite/resources/Stair/binaries/win64/Stair.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Stair/binaries/win64/Stair.dll -------------------------------------------------------------------------------- /testsuite/resources/Stair/sources/all.c: -------------------------------------------------------------------------------- 1 | #define FMI_VERSION 2 2 | 3 | #include "fmi2Functions.c" 4 | #include "model.c" 5 | #include "cosimulation.c" 6 | -------------------------------------------------------------------------------- /testsuite/resources/Stair/sources/config.h: -------------------------------------------------------------------------------- 1 | #ifndef config_h 2 | #define config_h 3 | 4 | // define class name and unique id 5 | #define MODEL_IDENTIFIER Stair 6 | #define INSTANTIATION_TOKEN "{BD403596-3166-4232-ABC2-132BDF73E644}" 7 | 8 | #define CO_SIMULATION 9 | #define MODEL_EXCHANGE 10 | 11 | #define GET_INT32 12 | #define SET_INT32 13 | 14 | #define EVENT_UPDATE 15 | 16 | #define FIXED_SOLVER_STEP 0.2 17 | #define DEFAULT_STOP_TIME 10 18 | 19 | typedef enum { 20 | vr_time, vr_counter 21 | } ValueReference; 22 | 23 | typedef struct { 24 | 25 | int counter; 26 | 27 | } ModelData; 28 | 29 | #endif /* config_h */ 30 | -------------------------------------------------------------------------------- /testsuite/resources/Stair/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/Stair3/binaries/aarch64-darwin/Stair.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Stair3/binaries/aarch64-darwin/Stair.dylib -------------------------------------------------------------------------------- /testsuite/resources/Stair3/binaries/aarch64-linux/Stair.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Stair3/binaries/aarch64-linux/Stair.so -------------------------------------------------------------------------------- /testsuite/resources/Stair3/binaries/x86-windows/Stair.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Stair3/binaries/x86-windows/Stair.dll -------------------------------------------------------------------------------- /testsuite/resources/Stair3/binaries/x86_64-darwin/Stair.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Stair3/binaries/x86_64-darwin/Stair.dylib -------------------------------------------------------------------------------- /testsuite/resources/Stair3/binaries/x86_64-linux/Stair.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Stair3/binaries/x86_64-linux/Stair.so -------------------------------------------------------------------------------- /testsuite/resources/Stair3/binaries/x86_64-windows/Stair.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/Stair3/binaries/x86_64-windows/Stair.dll -------------------------------------------------------------------------------- /testsuite/resources/Stair3/sources/buildDescription.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /testsuite/resources/Stair3/sources/config.h: -------------------------------------------------------------------------------- 1 | #ifndef config_h 2 | #define config_h 3 | 4 | // define class name and unique id 5 | #define MODEL_IDENTIFIER Stair 6 | #define INSTANTIATION_TOKEN "{BD403596-3166-4232-ABC2-132BDF73E644}" 7 | 8 | #define CO_SIMULATION 9 | #define MODEL_EXCHANGE 10 | 11 | #define GET_INT32 12 | #define SET_INT32 13 | 14 | #define EVENT_UPDATE 15 | 16 | #define FIXED_SOLVER_STEP 0.2 17 | #define DEFAULT_STOP_TIME 10 18 | 19 | typedef enum { 20 | vr_time, vr_counter 21 | } ValueReference; 22 | 23 | typedef struct { 24 | 25 | int counter; 26 | 27 | } ModelData; 28 | 29 | #endif /* config_h */ 30 | -------------------------------------------------------------------------------- /testsuite/resources/Stair3/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol/binaries/darwin64/VanDerPol.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/VanDerPol/binaries/darwin64/VanDerPol.dylib -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol/binaries/linux64/VanDerPol.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/VanDerPol/binaries/linux64/VanDerPol.so -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol/binaries/win32/VanDerPol.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/VanDerPol/binaries/win32/VanDerPol.dll -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol/binaries/win64/VanDerPol.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/VanDerPol/binaries/win64/VanDerPol.dll -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol/sources/all.c: -------------------------------------------------------------------------------- 1 | #define FMI_VERSION 2 2 | 3 | #include "fmi2Functions.c" 4 | #include "model.c" 5 | #include "cosimulation.c" 6 | -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol/sources/config.h: -------------------------------------------------------------------------------- 1 | #ifndef config_h 2 | #define config_h 3 | 4 | // define class name and unique id 5 | #define MODEL_IDENTIFIER VanDerPol 6 | #define INSTANTIATION_TOKEN "{BD403596-3166-4232-ABC2-132BDF73E644}" 7 | 8 | #define CO_SIMULATION 9 | #define MODEL_EXCHANGE 10 | 11 | #define HAS_CONTINUOUS_STATES 12 | 13 | #define SET_FLOAT64 14 | 15 | #define GET_PARTIAL_DERIVATIVE 16 | 17 | #define FIXED_SOLVER_STEP 1e-2 18 | #define DEFAULT_STOP_TIME 20 19 | 20 | typedef enum { 21 | vr_time, vr_x0, vr_der_x0, vr_x1, vr_der_x1, vr_mu 22 | } ValueReference; 23 | 24 | typedef struct { 25 | 26 | double x0; 27 | double der_x0; 28 | double x1; 29 | double der_x1; 30 | double mu; 31 | 32 | } ModelData; 33 | 34 | #endif /* config_h */ 35 | -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol3/binaries/aarch64-darwin/VanDerPol.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/VanDerPol3/binaries/aarch64-darwin/VanDerPol.dylib -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol3/binaries/aarch64-linux/VanDerPol.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/VanDerPol3/binaries/aarch64-linux/VanDerPol.so -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol3/binaries/x86-windows/VanDerPol.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/VanDerPol3/binaries/x86-windows/VanDerPol.dll -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol3/binaries/x86_64-darwin/VanDerPol.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/VanDerPol3/binaries/x86_64-darwin/VanDerPol.dylib -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol3/binaries/x86_64-linux/VanDerPol.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/VanDerPol3/binaries/x86_64-linux/VanDerPol.so -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol3/binaries/x86_64-windows/VanDerPol.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/VanDerPol3/binaries/x86_64-windows/VanDerPol.dll -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol3/sources/buildDescription.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol3/sources/config.h: -------------------------------------------------------------------------------- 1 | #ifndef config_h 2 | #define config_h 3 | 4 | // define class name and unique id 5 | #define MODEL_IDENTIFIER VanDerPol 6 | #define INSTANTIATION_TOKEN "{BD403596-3166-4232-ABC2-132BDF73E644}" 7 | 8 | #define CO_SIMULATION 9 | #define MODEL_EXCHANGE 10 | 11 | #define HAS_CONTINUOUS_STATES 12 | 13 | #define SET_FLOAT64 14 | 15 | #define GET_PARTIAL_DERIVATIVE 16 | 17 | #define FIXED_SOLVER_STEP 1e-2 18 | #define DEFAULT_STOP_TIME 20 19 | 20 | typedef enum { 21 | vr_time, vr_x0, vr_der_x0, vr_x1, vr_der_x1, vr_mu 22 | } ValueReference; 23 | 24 | typedef struct { 25 | 26 | double x0; 27 | double der_x0; 28 | double x1; 29 | double der_x1; 30 | double mu; 31 | 32 | } ModelData; 33 | 34 | #endif /* config_h */ 35 | -------------------------------------------------------------------------------- /testsuite/resources/VanDerPol3/sources/cosimulation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "model.h" 4 | 5 | Status doFixedStep(ModelInstance *comp, bool* stateEvent, bool* timeEvent); 6 | -------------------------------------------------------------------------------- /testsuite/resources/embrace/CONOPS.csv: -------------------------------------------------------------------------------- 1 | time,Alt,Mach,heatLoad,WGT_ON_WHL,Aircraft_state 2 | 0,0,0.2,500,1,0 3 | 60,0,0.2,500,1,0 4 | 60,0,0.2,500,0,4 5 | 110,8000,0.8,500,0,4 6 | 460,8000,0.8,500,0,4 7 | 460,8000,0.8,3500,0,4 8 | 580,8000,0.8,3500,0,4 9 | 640,1000,1.3,3500,0,4 10 | 640,1000,1.3,500,0,4 11 | 700,1000,1.3,500,0,4 12 | 750,8000,0.8,500,0,4 13 | 1100,8000,0.8,500,0,4 14 | 1150,0,0.2,500,0,4 15 | 1150,0,0.2,500,1,0 16 | 1200,0,0,500,1,0 17 | -------------------------------------------------------------------------------- /testsuite/resources/embrace/resources/0001_ECS_HW.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/embrace/resources/0001_ECS_HW.fmu -------------------------------------------------------------------------------- /testsuite/resources/embrace/resources/0002_ECS_SW.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/embrace/resources/0002_ECS_SW.fmu -------------------------------------------------------------------------------- /testsuite/resources/embrace/resources/0003_Consumer.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/embrace/resources/0003_Consumer.fmu -------------------------------------------------------------------------------- /testsuite/resources/embrace/resources/0004_Atmos.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/embrace/resources/0004_Atmos.fmu -------------------------------------------------------------------------------- /testsuite/resources/embrace/resources/0005_AdaptionUnit.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/embrace/resources/0005_AdaptionUnit.fmu -------------------------------------------------------------------------------- /testsuite/resources/embrace_TwoConf/CONOPS.csv: -------------------------------------------------------------------------------- 1 | time,Alt,Mach,heatLoad,WGT_ON_WHL,Aircraft_state 2 | 0,0,0.2,500,1,0 3 | 60,0,0.2,500,1,0 4 | 60,0,0.2,500,0,4 5 | 110,8000,0.8,500,0,4 6 | 460,8000,0.8,500,0,4 7 | 460,8000,0.8,3500,0,4 8 | 580,8000,0.8,3500,0,4 9 | 640,1000,1.3,3500,0,4 10 | 640,1000,1.3,500,0,4 11 | 700,1000,1.3,500,0,4 12 | 750,8000,0.8,500,0,4 13 | 1100,8000,0.8,500,0,4 14 | 1150,0,0.2,500,0,4 15 | 1150,0,0.2,500,1,0 16 | 1200,0,0,500,1,0 17 | -------------------------------------------------------------------------------- /testsuite/resources/embrace_TwoConf/resources/0001_ECS_HW.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/embrace_TwoConf/resources/0001_ECS_HW.fmu -------------------------------------------------------------------------------- /testsuite/resources/embrace_TwoConf/resources/0002_ECS_SW.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/embrace_TwoConf/resources/0002_ECS_SW.fmu -------------------------------------------------------------------------------- /testsuite/resources/embrace_TwoConf/resources/0003_Consumer.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/embrace_TwoConf/resources/0003_Consumer.fmu -------------------------------------------------------------------------------- /testsuite/resources/embrace_TwoConf/resources/0004_Atmos.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/embrace_TwoConf/resources/0004_Atmos.fmu -------------------------------------------------------------------------------- /testsuite/resources/embrace_TwoConf/resources/0005_AdaptionUnit.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/embrace_TwoConf/resources/0005_AdaptionUnit.fmu -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation1/binaries/linux32/equationPair_equation1.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation1/binaries/linux32/equationPair_equation1.so -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation1/binaries/linux32/equationPair_equation1_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation1/binaries/linux32/equationPair_equation1_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation1/binaries/linux64/equationPair_equation1.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation1/binaries/linux64/equationPair_equation1.so -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation1/binaries/linux64/equationPair_equation1_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation1/binaries/linux64/equationPair_equation1_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation1/binaries/win32/equationPair_equation1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation1/binaries/win32/equationPair_equation1.dll -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation1/binaries/win32/equationPair_equation1_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation1/binaries/win32/equationPair_equation1_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation1/binaries/win64/equationPair_equation1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation1/binaries/win64/equationPair_equation1.dll -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation1/binaries/win64/equationPair_equation1_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation1/binaries/win64/equationPair_equation1_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation2/binaries/linux32/equationPair_equation2.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation2/binaries/linux32/equationPair_equation2.so -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation2/binaries/linux32/equationPair_equation2_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation2/binaries/linux32/equationPair_equation2_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation2/binaries/linux64/equationPair_equation2.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation2/binaries/linux64/equationPair_equation2.so -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation2/binaries/linux64/equationPair_equation2_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation2/binaries/linux64/equationPair_equation2_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation2/binaries/win32/equationPair_equation2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation2/binaries/win32/equationPair_equation2.dll -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation2/binaries/win32/equationPair_equation2_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation2/binaries/win32/equationPair_equation2_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation2/binaries/win64/equationPair_equation2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation2/binaries/win64/equationPair_equation2.dll -------------------------------------------------------------------------------- /testsuite/resources/equationPair.equation2/binaries/win64/equationPair_equation2_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/equationPair.equation2/binaries/win64/equationPair_equation2_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/equationPair.mo: -------------------------------------------------------------------------------- 1 | package equationPair 2 | model equation1 3 | Modelica.Blocks.Interfaces.RealInput x1; 4 | Modelica.Blocks.Interfaces.RealOutput x2; 5 | equation 6 | 2*x1^2 + 5*x2 = 42; 7 | annotation (experiment(StopTime=0)); 8 | end equation1; 9 | 10 | model equation2 11 | Modelica.Blocks.Interfaces.RealInput x2; 12 | Modelica.Blocks.Interfaces.RealOutput x1; 13 | equation 14 | x1 - 6*x2 = 4; 15 | annotation (experiment(StopTime=0)); 16 | end equation2; 17 | 18 | annotation (uses(Modelica(version="4.0.0"))); 19 | end equationPair; 20 | -------------------------------------------------------------------------------- /testsuite/resources/externalGain.ssv: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 10 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /testsuite/resources/externalRoot.ssv: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 10 | 12 | 13 | 15 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /testsuite/resources/externalSystem1.ssv: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 10 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /testsuite/resources/fmi_attributes_19/binaries/win64/fmi_attributes_19.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/fmi_attributes_19/binaries/win64/fmi_attributes_19.dll -------------------------------------------------------------------------------- /testsuite/resources/fmi_attributes_19/resources/fmi_attributes_19_JacA.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/fmi_attributes_19/resources/fmi_attributes_19_JacFMIDER.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/fmi_attributes_19/resources/fmi_attributes_19_JacFMIDERINIT.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /testsuite/resources/fmidertest.mos: -------------------------------------------------------------------------------- 1 | setCommandLineOptions("-d=-disableDirectionalDerivatives,fmuExperimental"); getErrorString(); 2 | 3 | loadString(" 4 | model fmidertest 5 | input Real u1(start=1); 6 | input Real u2(start=2); 7 | output Real y; 8 | Real x; 9 | initial equation 10 | x = u1*u2 + (u1 + u2)/2; 11 | equation 12 | der(x) = x*u1^2; 13 | y = x + u1*u2 + x; 14 | end fmidertest; 15 | "); getErrorString(); 16 | 17 | buildModelFMU(fmidertest, version="2.0", fmuType="me_cs", fileNamePrefix="fmidertest", platforms={"x86_64-linux-gnu docker run multiarch/crossbuild","x86_64-w64-mingw32 docker run multiarch/crossbuild"}); getErrorString(); 18 | 19 | system("zip -qd fmidertest.fmu sources/* && unzip -o fmidertest.fmu -d fmidertest/"); 20 | -------------------------------------------------------------------------------- /testsuite/resources/fmidertest/binaries/win64/fmidertest.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/fmidertest/binaries/win64/fmidertest.dll -------------------------------------------------------------------------------- /testsuite/resources/fmidertest/binaries/win64/fmidertest.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/fmidertest/binaries/win64/fmidertest.lib -------------------------------------------------------------------------------- /testsuite/resources/importStartValues/resources/Root.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /testsuite/resources/importStartValues/resources/System1.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /testsuite/resources/importStartValues/resources/signalFilter.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 11 | 15 | 19 | 20 | -------------------------------------------------------------------------------- /testsuite/resources/importStartValues1/resources/Root.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /testsuite/resources/importStartValues1/resources/System1.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters1/resources/0001_addP.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/import_export_parameters1/resources/0001_addP.fmu -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters1/resources/0002_P.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/import_export_parameters1/resources/0002_P.fmu -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters1/resources/0003_addI.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/import_export_parameters1/resources/0003_addI.fmu -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters2/resources/0001_addP.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/import_export_parameters2/resources/0001_addP.fmu -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters2/resources/0002_P.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/import_export_parameters2/resources/0002_P.fmu -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters2/resources/0003_addI.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/import_export_parameters2/resources/0003_addI.fmu -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters2/resources/addI.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters2/resources/addP.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters2/resources/cosim.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters2/resources/foo.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters3/resources/0001_addP.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/import_export_parameters3/resources/0001_addP.fmu -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters3/resources/0002_P.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/import_export_parameters3/resources/0002_P.fmu -------------------------------------------------------------------------------- /testsuite/resources/import_export_parameters3/resources/0003_addI.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/import_export_parameters3/resources/0003_addI.fmu -------------------------------------------------------------------------------- /testsuite/resources/import_hierarchical_ssv_sources/resources/import_hierarchical_ssv_sources_system1.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /testsuite/resources/import_hierarchical_ssv_sources/resources/import_hierarchical_ssv_sources_system2.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /testsuite/resources/import_hierarchical_ssv_sources/resources/import_hierarchical_ssv_sources_system3.ssm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /testsuite/resources/import_hierarchical_ssv_sources/resources/import_hierarchical_ssv_sources_system3.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /testsuite/resources/invalidSSD/resources/Root.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /testsuite/resources/invalidSSD/resources/System1.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /testsuite/resources/invalidSSD/resources/signalFilter.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 11 | 15 | 19 | 20 | -------------------------------------------------------------------------------- /testsuite/resources/invalidSSV/resources/Root.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /testsuite/resources/invalidSSV/resources/System1.ssv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /testsuite/resources/invalidSSV/resources/signalFilter.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 11 | 15 | 19 | 20 | -------------------------------------------------------------------------------- /testsuite/resources/nls.cs/binaries/linux32/nls_cs.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.cs/binaries/linux32/nls_cs.so -------------------------------------------------------------------------------- /testsuite/resources/nls.cs/binaries/linux32/nls_cs_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.cs/binaries/linux32/nls_cs_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/nls.cs/binaries/linux64/nls_cs.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.cs/binaries/linux64/nls_cs.so -------------------------------------------------------------------------------- /testsuite/resources/nls.cs/binaries/linux64/nls_cs_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.cs/binaries/linux64/nls_cs_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/nls.cs/binaries/win32/nls_cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.cs/binaries/win32/nls_cs.dll -------------------------------------------------------------------------------- /testsuite/resources/nls.cs/binaries/win32/nls_cs_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.cs/binaries/win32/nls_cs_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/nls.cs/binaries/win64/nls_cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.cs/binaries/win64/nls_cs.dll -------------------------------------------------------------------------------- /testsuite/resources/nls.cs/binaries/win64/nls_cs_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.cs/binaries/win64/nls_cs_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/nls.me/binaries/linux32/nls_me.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.me/binaries/linux32/nls_me.so -------------------------------------------------------------------------------- /testsuite/resources/nls.me/binaries/linux32/nls_me_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.me/binaries/linux32/nls_me_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/nls.me/binaries/linux64/nls_me.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.me/binaries/linux64/nls_me.so -------------------------------------------------------------------------------- /testsuite/resources/nls.me/binaries/linux64/nls_me_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.me/binaries/linux64/nls_me_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/nls.me/binaries/win32/nls_me.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.me/binaries/win32/nls_me.dll -------------------------------------------------------------------------------- /testsuite/resources/nls.me/binaries/win32/nls_me_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.me/binaries/win32/nls_me_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/nls.me/binaries/win64/nls_me.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.me/binaries/win64/nls_me.dll -------------------------------------------------------------------------------- /testsuite/resources/nls.me/binaries/win64/nls_me_FMU.libs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/nls.me/binaries/win64/nls_me_FMU.libs -------------------------------------------------------------------------------- /testsuite/resources/replaceA/binaries/win64/replaceA.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/replaceA/binaries/win64/replaceA.dll -------------------------------------------------------------------------------- /testsuite/resources/replaceA/binaries/win64/replaceA.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/replaceA/binaries/win64/replaceA.lib -------------------------------------------------------------------------------- /testsuite/resources/replaceA_extended/binaries/win64/replaceA_extended.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/replaceA_extended/binaries/win64/replaceA_extended.dll -------------------------------------------------------------------------------- /testsuite/resources/replaceA_extended/binaries/win64/replaceA_extended.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/replaceA_extended/binaries/win64/replaceA_extended.lib -------------------------------------------------------------------------------- /testsuite/resources/replaceB/binaries/win64/replaceB.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/replaceB/binaries/win64/replaceB.dll -------------------------------------------------------------------------------- /testsuite/resources/replaceB/binaries/win64/replaceB.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/replaceB/binaries/win64/replaceB.lib -------------------------------------------------------------------------------- /testsuite/resources/replaceSubmodel4/resources/0001_A.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/replaceSubmodel4/resources/0001_A.fmu -------------------------------------------------------------------------------- /testsuite/resources/replaceSubmodel4/resources/0002_B.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/replaceSubmodel4/resources/0002_B.fmu -------------------------------------------------------------------------------- /testsuite/resources/replaceSubmodel4/resources/root.ssm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /testsuite/resources/replaceSubmodel4/resources/root.ssv: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 10 | 12 | 13 | 15 | 17 | 18 | 20 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /testsuite/resources/replaceSubmodel5/resources/0001_A.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/replaceSubmodel5/resources/0001_A.fmu -------------------------------------------------------------------------------- /testsuite/resources/replaceSubmodel5/resources/0002_B.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/replaceSubmodel5/resources/0002_B.fmu -------------------------------------------------------------------------------- /testsuite/resources/replaceSubmodel5/resources/root.ssm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /testsuite/resources/replaceSubmodel5/resources/root.ssv: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 10 | 12 | 13 | 15 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /testsuite/resources/road.csv: -------------------------------------------------------------------------------- 1 | time,road 2 | 0,0 3 | 0.1,0 4 | 0.1,0.1 5 | 5,0.1 6 | -------------------------------------------------------------------------------- /testsuite/resources/setpoint.csv: -------------------------------------------------------------------------------- 1 | time,speed 2 | 0,0 3 | 0.5,0 4 | 1.5,1 5 | 2,1 6 | 2.07,1 7 | 3.07,0 8 | 4,0 9 | -------------------------------------------------------------------------------- /testsuite/resources/str_hello_world.mos: -------------------------------------------------------------------------------- 1 | loadString(" 2 | model str_hello_world 3 | parameter String a = \"Hello\"; 4 | parameter String b = \"World\"; 5 | parameter String c = a + \" \" + b + \"!\"; 6 | end str_hello_world; 7 | "); getErrorString(); 8 | 9 | buildModelFMU(str_hello_world, version="2.0", fmuType="me_cs", fileNamePrefix="str_hello_world", platforms={"x86_64-linux-gnu docker run multiarch/crossbuild","x86_64-w64-mingw32 docker run multiarch/crossbuild"}); getErrorString(); 10 | 11 | system("zip -qd str_hello_world.fmu sources/* && unzip -o str_hello_world.fmu -d str_hello_world/"); 12 | -------------------------------------------------------------------------------- /testsuite/resources/str_hello_world/binaries/linux64/str_hello_world.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/str_hello_world/binaries/linux64/str_hello_world.so -------------------------------------------------------------------------------- /testsuite/resources/str_hello_world/binaries/win64/libstr_hello_world.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/str_hello_world/binaries/win64/libstr_hello_world.dll.a -------------------------------------------------------------------------------- /testsuite/resources/str_hello_world/binaries/win64/str_hello_world.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/str_hello_world/binaries/win64/str_hello_world.dll -------------------------------------------------------------------------------- /testsuite/resources/table.csv: -------------------------------------------------------------------------------- 1 | time,y,table.root.A.y 2 | 0,1,1 3 | 0.1,0.1,0.1 4 | 1,0,0 5 | 1,0,0 6 | -------------------------------------------------------------------------------- /testsuite/resources/tank1/binaries/win64/tank1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/tank1/binaries/win64/tank1.dll -------------------------------------------------------------------------------- /testsuite/resources/tank2/binaries/win64/tank2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/tank2/binaries/win64/tank2.dll -------------------------------------------------------------------------------- /testsuite/resources/tank3/binaries/win64/tank3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/tank3/binaries/win64/tank3.dll -------------------------------------------------------------------------------- /testsuite/resources/testArray/binaries/win64/libtestArray.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/testArray/binaries/win64/libtestArray.dll.a -------------------------------------------------------------------------------- /testsuite/resources/testArray/binaries/win64/libwinpthread-1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/testArray/binaries/win64/libwinpthread-1.dll -------------------------------------------------------------------------------- /testsuite/resources/testArray/binaries/win64/testArray.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/testArray/binaries/win64/testArray.dll -------------------------------------------------------------------------------- /testsuite/resources/toplevelparameter1/resources/0001_addP.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/toplevelparameter1/resources/0001_addP.fmu -------------------------------------------------------------------------------- /testsuite/resources/toplevelparameter1/resources/addp.ssv: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 10 | 12 | 13 | 15 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /testsuite/resources/toplevelparameter1/resources/root.ssv: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 10 | 12 | 13 | 15 | 17 | 18 | 20 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /testsuite/resources/toplevelparameter1/resources/signalFilter.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 29 | -------------------------------------------------------------------------------- /testsuite/resources/toplevelparameter2/resources/0001_addP.fmu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/toplevelparameter2/resources/0001_addP.fmu -------------------------------------------------------------------------------- /testsuite/resources/toplevelparameter2/resources/signalFilter.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 29 | -------------------------------------------------------------------------------- /testsuite/resources/ypipe/binaries/win64/ypipe.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenModelica/OMSimulator/09fadd436900abff0cc8b5ae50f4d35f825996fb/testsuite/resources/ypipe/binaries/win64/ypipe.dll --------------------------------------------------------------------------------