Regression
simulation_modelica_external_functions.ts.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ ts.mos [ExternalMedia Test] ... equation mismatch [time: 25] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/external_functions/ts.mos_temp1450/log-ts.mos true "Notification: Automatically loaded package Complex 3.2.1 due to uses annotation from Modelica. " "function ExternalMedia.Test.TestMedium.TestState.Medium.FluidConstants \"Automatically generated record constructor for ExternalMedia.Test.TestMedium.TestState.Medium.FluidConstants\" input String iupacName; input String casRegistryNumber; input String chemicalFormula; input String structureFormula; input Real molarMass(min = 0.001, max = 0.25, nominal = 0.032, quantity = \"MolarMass\", unit = \"kg/mol\"); input Real criticalTemperature(min = 1.0, max = 1e4, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); input Real criticalPressure(min = 0.0, max = 1e8, nominal = 1e5, start = 1e5, quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\"); input Real criticalMolarVolume(min = 1e-6, max = 1e6, nominal = 1.0, quantity = \"MolarVolume\", unit = \"m3/mol\"); input Real acentricFactor; input Real triplePointTemperature(min = 1.0, max = 1e4, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); input Real triplePointPressure(min = 0.0, max = 1e8, nominal = 1e5, start = 1e5, quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\"); input Real meltingPoint(min = 1.0, max = 1e4, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); input Real normalBoilingPoint(min = 1.0, max = 1e4, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); input Real dipoleMoment(min = 0.0, max = 2.0, unit = \"debye\", quantity = \"ElectricDipoleMoment\"); input Boolean hasIdealGasHeatCapacity = false; input Boolean hasCriticalData = false; input Boolean hasDipoleMoment = false; input Boolean hasFundamentalEquation = false; input Boolean hasLiquidHeatCapacity = false; input Boolean hasSolidHeatCapacity = false; input Boolean hasAccurateViscosityData = false; input Boolean hasAccurateConductivityData = false; input Boolean hasVapourPressureCurve = false; input Boolean hasAcentricFactor = false; input Real HCRIT0(min = -1e10, max = 1e10, nominal = 1e6, quantity = \"SpecificEnergy\", unit = \"J/kg\") = 0.0; input Real SCRIT0(min = -1e7, max = 1e7, nominal = 1000.0, quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\") = 0.0; input Real deltah(min = -1e10, max = 1e10, nominal = 1e6, quantity = \"SpecificEnergy\", unit = \"J/kg\") = 0.0; input Real deltas(min = -1e7, max = 1e7, nominal = 1000.0, quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\") = 0.0; output FluidConstants res; end ExternalMedia.Test.TestMedium.TestState.Medium.FluidConstants; function ExternalMedia.Test.TestMedium.TestState.Medium.ThermodynamicState \"Automatically generated record constructor for ExternalMedia.Test.TestMedium.TestState.Medium.ThermodynamicState\" input Real T(min = 1.0, max = 1e4, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); input Real a(min = 0.0, max = 1e5, nominal = 1000.0, start = 1000.0, quantity = \"Velocity\", unit = \"m/s\"); input Real beta(quantity = \"CubicExpansionCoefficient\", unit = \"1/K\"); input Real cp(min = 0.0, max = 1e7, nominal = 1000.0, start = 1000.0, quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\"); input Real cv(min = 0.0, max = 1e7, nominal = 1000.0, start = 1000.0, quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\"); input Real d(min = 0.0, max = 1e5, nominal = 1.0, start = 1.0, quantity = \"Density\", unit = \"kg/m3\", displayUnit = \"g/cm3\"); input Real ddhp(unit = \"kg.s2/m5\"); input Real ddph(unit = \"s2/m2\"); input Real eta(min = 0.0, max = 1e8, nominal = 0.001, start = 0.001, quantity = \"DynamicViscosity\", unit = \"Pa.s\"); input Real h(min = -1e10, max = 1e10, nominal = 1e6, quantity = \"SpecificEnergy\", unit = \"J/kg\"); input Real kappa(quantity = \"Compressibility\", unit = \"1/Pa\"); input Real lambda(min = 0.0, max = 500.0, nominal = 1.0, start = 1.0, quantity = \"ThermalConductivity\", unit = \"W/(m.K)\"); input Real p(min = 0.0, max = 1e8, nominal = 1e5, start = 1e5, quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\"); input Integer phase(min = 0, max = 2); input Real s(min = -1e7, max = 1e7, nominal = 1000.0, quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\"); output ThermodynamicState res; end ExternalMedia.Test.TestMedium.TestState.Medium.ThermodynamicState; function ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalMolarVolume output Real vc(quantity = \"MolarVolume\", unit = \"m3/mol\", min = 1e-6, max = 1e6, nominal = 1.0) \"Critical molar volume\"; external \"C\" vc = TwoPhaseMedium_getCriticalMolarVolume_C_impl(\"TestMedium\", \"TestMedium\", \"TestMedium\"); end ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalMolarVolume; function ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalPressure output Real pc(quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\", min = 0.0, max = 1e8, start = 1e5, nominal = 1e5) \"Critical temperature\"; external \"C\" pc = TwoPhaseMedium_getCriticalPressure_C_impl(\"TestMedium\", \"TestMedium\", \"TestMedium\"); end ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalPressure; function ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalTemperature output Real Tc(quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\", min = 1.0, max = 1e4, start = 300.0, nominal = 300.0) \"Critical temperature\"; external \"C\" Tc = TwoPhaseMedium_getCriticalTemperature_C_impl(\"TestMedium\", \"TestMedium\", \"TestMedium\"); end ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalTemperature; function ExternalMedia.Test.TestMedium.TestState.Medium.getMolarMass output Real MM(quantity = \"MolarMass\", unit = \"kg/mol\", min = 0.001, max = 0.25, nominal = 0.032) \"molar mass\"; external \"C\" MM = TwoPhaseMedium_getMolarMass_C_impl(\"TestMedium\", \"TestMedium\", \"TestMedium\"); end ExternalMedia.Test.TestMedium.TestState.Medium.getMolarMass; function ExternalMedia.Test.TestMedium.TestState.Medium.setState_ph \"Return thermodynamic state record from p and h\" input Real p(quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\", min = 0.0, max = 1e8, start = 1e5, nominal = 1e5) \"pressure\"; input Real h(quantity = \"SpecificEnergy\", unit = \"J/kg\", min = -1e10, max = 1e10, nominal = 1e6) \"specific enthalpy\"; input Integer phase(min = 0, max = 2) = 0 \"2 for two-phase, 1 for one-phase, 0 if not known\"; output ExternalMedia.Test.TestMedium.TestState.Medium.ThermodynamicState state; external \"C\" TwoPhaseMedium_setState_ph_C_impl(p, h, phase, state, \"TestMedium\", \"TestMedium\", \"TestMedium\"); end ExternalMedia.Test.TestMedium.TestState.Medium.setState_ph; class ExternalMedia.Test.TestMedium.TestState \"Test case using TestMedium with a single state record\" Real state.T(quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\", min = 1.0, max = 1e4, start = 300.0, nominal = 300.0) \"temperature\"; Real state.a(quantity = \"Velocity\", unit = \"m/s\", min = 0.0, max = 1e5, start = 1000.0, nominal = 1000.0) \"velocity of sound\"; Real state.beta(quantity = \"CubicExpansionCoefficient\", unit = \"1/K\") \"isobaric expansion coefficient\"; Real state.cp(quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\", min = 0.0, max = 1e7, start = 1000.0, nominal = 1000.0) \"specific heat capacity cp\"; Real state.cv(quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\", min = 0.0, max = 1e7, start = 1000.0, nominal = 1000.0) \"specific heat capacity cv\"; Real state.d(quantity = \"Density\", unit = \"kg/m3\", displayUnit = \"g/cm3\", min = 0.0, max = 1e5, start = 1.0, nominal = 1.0) \"density\"; Real state.ddhp(unit = \"kg.s2/m5\") \"derivative of density wrt enthalpy at constant pressure\"; Real state.ddph(unit = \"s2/m2\") \"derivative of density wrt pressure at constant enthalpy\"; Real state.eta(quantity = \"DynamicViscosity\", unit = \"Pa.s\", min = 0.0, max = 1e8, start = 0.001, nominal = 0.001) \"dynamic viscosity\"; Real state.h(quantity = \"SpecificEnergy\", unit = \"J/kg\", min = -1e10, max = 1e10, nominal = 1e6) \"specific enthalpy\"; Real state.kappa(quantity = \"Compressibility\", unit = \"1/Pa\") \"compressibility\"; Real state.lambda(quantity = \"ThermalConductivity\", unit = \"W/(m.K)\", min = 0.0, max = 500.0, start = 1.0, nominal = 1.0) \"thermal conductivity\"; Real state.p(quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\", min = 0.0, max = 1e8, start = 1e5, nominal = 1e5) \"pressure\"; Integer state.phase(min = 0, max = 2) \"phase flag: 2 for two-phase, 1 for one-phase\"; Real state.s(quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\", min = -1e7, max = 1e7, nominal = 1000.0) \"specific entropy\"; equation state = ExternalMedia.Test.TestMedium.TestState.Medium.setState_ph(1e5, 1e5 + 1e5 * time, 0); end ExternalMedia.Test.TestMedium.TestState; " "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'ExternalMedia.Test.TestMedium.TestState', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: ExternalMedia.Test.TestMedium.TestState" end SimulationResult; "Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EXTERN~1/TS7F7F~1.MOS' clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState.o ExternalMedia.Test.TestMedium.TestState.c clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_functions.o ExternalMedia.Test.TestMedium.TestState_functions.c ExternalMedia.Test.TestMedium.TestState_functions.c:89:65: warning: incompatible pointer types passing 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState_external *' to parameter of type 'ExternalThermodynamicState *' [-Wincompatible-pointer-types] 89 | TwoPhaseMedium_setState_ph_C_impl(_p_ext, _h_ext, _phase_ext, &_state_ext, MMC_STRINGDATA(MMC_REFSTRINGLIT(tmp1)), MMC_STRINGDATA(MMC_REFSTRINGLIT(tmp2)), MMC_STRINGDATA(MMC_REFSTRINGLIT(tmp3))); | ^~~~~~~~~~~ ./ExternalMedia.Test.TestMedium.TestState_includes.h:39:102: note: passing argument to parameter 'state' here 39 | void TwoPhaseMedium_setState_ph_C_impl(double p, double h, double phase, ExternalThermodynamicState *state, const char* mediumName, const char* libraryName, const char* substanceName) | ^ 1 warning generated. clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_records.o ExternalMedia.Test.TestMedium.TestState_records.c clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_01exo.o ExternalMedia.Test.TestMedium.TestState_01exo.c clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_02nls.o ExternalMedia.Test.TestMedium.TestState_02nls.c clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_03lsy.o ExternalMedia.Test.TestMedium.TestState_03lsy.c clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_04set.o ExternalMedia.Test.TestMedium.TestState_04set.c clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_05evt.o ExternalMedia.Test.TestMedium.TestState_05evt.c clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_06inz.o ExternalMedia.Test.TestMedium.TestState_06inz.c clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_07dly.o ExternalMedia.Test.TestMedium.TestState_07dly.c clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_08bnd.o ExternalMedia.Test.TestMedium.TestState_08bnd.c clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_09alg.o ExternalMedia.Test.TestMedium.TestState_09alg.c clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_10asr.o ExternalMedia.Test.TestMedium.TestState_10asr.c LLVM ERROR: out of memory Allocation failed PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0.Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_10asr.o ExternalMedia.Test.TestMedium.TestState_10asr.c 1.C:/OMDevUCRT/tools/msys/ucrt64/include/wincon.h:299:20: current parser token 'WINAPI' Exception Code: 0xC000001D 0x00007FFB4909B736, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1B736 byte(s) 0x00007FFB89B3E6D5, C:\\Windows\\System32\\ucrtbase.dll(0x00007FFB89AC0000) + 0x7E6D5 byte(s) 0x00007FFB89B3F6E1, C:\\Windows\\System32\\ucrtbase.dll(0x00007FFB89AC0000) + 0x7F6E1 byte(s) 0x00007FFB4B058D08, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1FD8D08 byte(s) 0x00007FFB4A93FA56, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x18BFA56 byte(s) 0x00007FFB50BC6F01, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xA46F01 byte(s) 0x00007FFB50BC624F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xA4624F byte(s) 0x00007FFB5096F130, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x7EF130 byte(s) 0x00007FFB509CD755, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x84D755 byte(s) 0x00007FFB509EE1C7, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x86E1C7 byte(s) 0x00007FFB509D6460, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x856460 byte(s) 0x00007FFB51F32349, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1DB2349 byte(s) 0x00007FFB509F1048, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x871048 byte(s) 0x00007FFB51FC3A58, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E43A58 byte(s) 0x00007FFB51FE7A0F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E67A0F byte(s) 0x00007FFB520035D1, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E835D1 byte(s) 0x00007FFB51FB2943, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E32943 byte(s) 0x00007FFB51F708A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1DF08A8 byte(s) 0x00007FFB52571D4E, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x23F1D4E byte(s) 0x00007FFB50E0D078, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xC8D078 byte(s) 0x00007FFB50F2F0C4, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xDAF0C4 byte(s) 0x00007FFB51B5247C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x19D247C byte(s) 0x00007FF710D2F4A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xF4A8 byte(s) 0x00007FF710D2FADA, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xFADA byte(s) 0x00007FFB507FED4D, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x67ED4D byte(s) 0x00007FFB4AF30154, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1EB0154 byte(s) 0x00007FFB5293B954, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27BB954 byte(s) 0x00007FFB52978AB5, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27F8AB5 byte(s) 0x00007FFB5297876F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27F876F byte(s) 0x00007FFB520A729B, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1F2729B byte(s) 0x00007FF710D2C1B8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xC1B8 byte(s) 0x00007FF710D34EB9, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x14EB9 byte(s) 0x00007FF710D212EE, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x12EE byte(s) 0x00007FF710D21406, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x1406 byte(s) 0x00007FFB8B30257D, C:\\Windows\\System32\\KERNEL32.DLL(0x00007FFB8B2F0000) + 0x1257D byte(s) 0x00007FFB8C50AF28, C:\\Windows\\SYSTEM32\\ntdll.dll(0x00007FFB8C4B0000) + 0x5AF28 byte(s) clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 17.0.6 Target: x86_64-w64-windows-gnu Thread model: posix InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: C:/Windows/TEMP/ExternalMedia-8ecd01.c clang: note: diagnostic msg: C:/Windows/TEMP/ExternalMedia-8ecd01.sh clang: note: diagnostic msg: ******************** make: *** [<builtin>: ExternalMedia.Test.TestMedium.TestState_10asr.o] Error 1 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EXTERN~1/TS7F7F~1.MOS' RESULT: 2 " "State at 0" "State at 1" '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/external_functions/ts.mos_temp1450/equations-expected"2024-06-13 15:18:38.054030500 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/external_functions/ts.mos_temp1450/equations-got"2024-06-13 15:19:03.279302900 +0200 @@ -5,18 +5,18 @@ input String iupacName; input String casRegistryNumber; input String chemicalFormula; input String structureFormula; input Real molarMass(min = 0.001, max = 0.25, nominal = 0.032, quantity = \"MolarMass\", unit = \"kg/mol\"); -input Real criticalTemperature(min = 1.0, max = 10000.0, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); -input Real criticalPressure(min = 0.0, max = 100000000.0, nominal = 100000.0, start = 100000.0, quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\"); -input Real criticalMolarVolume(min = 1e-06, max = 1000000.0, nominal = 1.0, quantity = \"MolarVolume\", unit = \"m3/mol\"); +input Real criticalTemperature(min = 1.0, max = 1e4, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); +input Real criticalPressure(min = 0.0, max = 1e8, nominal = 1e5, start = 1e5, quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\"); +input Real criticalMolarVolume(min = 1e-6, max = 1e6, nominal = 1.0, quantity = \"MolarVolume\", unit = \"m3/mol\"); input Real acentricFactor; -input Real triplePointTemperature(min = 1.0, max = 10000.0, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); -input Real triplePointPressure(min = 0.0, max = 100000000.0, nominal = 100000.0, start = 100000.0, quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\"); -input Real meltingPoint(min = 1.0, max = 10000.0, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); -input Real normalBoilingPoint(min = 1.0, max = 10000.0, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); +input Real triplePointTemperature(min = 1.0, max = 1e4, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); +input Real triplePointPressure(min = 0.0, max = 1e8, nominal = 1e5, start = 1e5, quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\"); +input Real meltingPoint(min = 1.0, max = 1e4, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); +input Real normalBoilingPoint(min = 1.0, max = 1e4, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); input Real dipoleMoment(min = 0.0, max = 2.0, unit = \"debye\", quantity = \"ElectricDipoleMoment\"); input Boolean hasIdealGasHeatCapacity = false; input Boolean hasCriticalData = false; input Boolean hasDipoleMoment = false; input Boolean hasFundamentalEquation = false; @@ -24,50 +24,50 @@ input Boolean hasSolidHeatCapacity = false; input Boolean hasAccurateViscosityData = false; input Boolean hasAccurateConductivityData = false; input Boolean hasVapourPressureCurve = false; input Boolean hasAcentricFactor = false; -input Real HCRIT0(min = -10000000000.0, max = 10000000000.0, nominal = 1000000.0, quantity = \"SpecificEnergy\", unit = \"J/kg\") = 0.0; -input Real SCRIT0(min = -10000000.0, max = 10000000.0, nominal = 1000.0, quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\") = 0.0; -input Real deltah(min = -10000000000.0, max = 10000000000.0, nominal = 1000000.0, quantity = \"SpecificEnergy\", unit = \"J/kg\") = 0.0; -input Real deltas(min = -10000000.0, max = 10000000.0, nominal = 1000.0, quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\") = 0.0; +input Real HCRIT0(min = -1e10, max = 1e10, nominal = 1e6, quantity = \"SpecificEnergy\", unit = \"J/kg\") = 0.0; +input Real SCRIT0(min = -1e7, max = 1e7, nominal = 1000.0, quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\") = 0.0; +input Real deltah(min = -1e10, max = 1e10, nominal = 1e6, quantity = \"SpecificEnergy\", unit = \"J/kg\") = 0.0; +input Real deltas(min = -1e7, max = 1e7, nominal = 1000.0, quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\") = 0.0; output FluidConstants res; end ExternalMedia.Test.TestMedium.TestState.Medium.FluidConstants; function ExternalMedia.Test.TestMedium.TestState.Medium.ThermodynamicState \"Automatically generated record constructor for ExternalMedia.Test.TestMedium.TestState.Medium.ThermodynamicState\" -input Real T(min = 1.0, max = 10000.0, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); -input Real a(min = 0.0, max = 100000.0, nominal = 1000.0, start = 1000.0, quantity = \"Velocity\", unit = \"m/s\"); +input Real T(min = 1.0, max = 1e4, nominal = 300.0, start = 300.0, quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\"); +input Real a(min = 0.0, max = 1e5, nominal = 1000.0, start = 1000.0, quantity = \"Velocity\", unit = \"m/s\"); input Real beta(quantity = \"CubicExpansionCoefficient\", unit = \"1/K\"); -input Real cp(min = 0.0, max = 10000000.0, nominal = 1000.0, start = 1000.0, quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\"); -input Real cv(min = 0.0, max = 10000000.0, nominal = 1000.0, start = 1000.0, quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\"); -input Real d(min = 0.0, max = 100000.0, nominal = 1.0, start = 1.0, quantity = \"Density\", unit = \"kg/m3\", displayUnit = \"g/cm3\"); +input Real cp(min = 0.0, max = 1e7, nominal = 1000.0, start = 1000.0, quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\"); +input Real cv(min = 0.0, max = 1e7, nominal = 1000.0, start = 1000.0, quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\"); +input Real d(min = 0.0, max = 1e5, nominal = 1.0, start = 1.0, quantity = \"Density\", unit = \"kg/m3\", displayUnit = \"g/cm3\"); input Real ddhp(unit = \"kg.s2/m5\"); input Real ddph(unit = \"s2/m2\"); -input Real eta(min = 0.0, max = 100000000.0, nominal = 0.001, start = 0.001, quantity = \"DynamicViscosity\", unit = \"Pa.s\"); -input Real h(min = -10000000000.0, max = 10000000000.0, nominal = 1000000.0, quantity = \"SpecificEnergy\", unit = \"J/kg\"); +input Real eta(min = 0.0, max = 1e8, nominal = 0.001, start = 0.001, quantity = \"DynamicViscosity\", unit = \"Pa.s\"); +input Real h(min = -1e10, max = 1e10, nominal = 1e6, quantity = \"SpecificEnergy\", unit = \"J/kg\"); input Real kappa(quantity = \"Compressibility\", unit = \"1/Pa\"); input Real lambda(min = 0.0, max = 500.0, nominal = 1.0, start = 1.0, quantity = \"ThermalConductivity\", unit = \"W/(m.K)\"); -input Real p(min = 0.0, max = 100000000.0, nominal = 100000.0, start = 100000.0, quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\"); +input Real p(min = 0.0, max = 1e8, nominal = 1e5, start = 1e5, quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\"); input Integer phase(min = 0, max = 2); -input Real s(min = -10000000.0, max = 10000000.0, nominal = 1000.0, quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\"); +input Real s(min = -1e7, max = 1e7, nominal = 1000.0, quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\"); output ThermodynamicState res; end ExternalMedia.Test.TestMedium.TestState.Medium.ThermodynamicState; function ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalMolarVolume -output Real vc(quantity = \"MolarVolume\", unit = \"m3/mol\", min = 1e-06, max = 1000000.0, nominal = 1.0) \"Critical molar volume\"; +output Real vc(quantity = \"MolarVolume\", unit = \"m3/mol\", min = 1e-6, max = 1e6, nominal = 1.0) \"Critical molar volume\"; external \"C\" vc = TwoPhaseMedium_getCriticalMolarVolume_C_impl(\"TestMedium\", \"TestMedium\", \"TestMedium\"); end ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalMolarVolume; function ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalPressure -output Real pc(quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\", min = 0.0, max = 100000000.0, start = 100000.0, nominal = 100000.0) \"Critical temperature\"; +output Real pc(quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\", min = 0.0, max = 1e8, start = 1e5, nominal = 1e5) \"Critical temperature\"; external \"C\" pc = TwoPhaseMedium_getCriticalPressure_C_impl(\"TestMedium\", \"TestMedium\", \"TestMedium\"); end ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalPressure; function ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalTemperature -output Real Tc(quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\", min = 1.0, max = 10000.0, start = 300.0, nominal = 300.0) \"Critical temperature\"; +output Real Tc(quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\", min = 1.0, max = 1e4, start = 300.0, nominal = 300.0) \"Critical temperature\"; external \"C\" Tc = TwoPhaseMedium_getCriticalTemperature_C_impl(\"TestMedium\", \"TestMedium\", \"TestMedium\"); end ExternalMedia.Test.TestMedium.TestState.Medium.getCriticalTemperature; function ExternalMedia.Test.TestMedium.TestState.Medium.getMolarMass @@ -75,72 +75,152 @@ external \"C\" MM = TwoPhaseMedium_getMolarMass_C_impl(\"TestMedium\", \"TestMedium\", \"TestMedium\"); end ExternalMedia.Test.TestMedium.TestState.Medium.getMolarMass; function ExternalMedia.Test.TestMedium.TestState.Medium.setState_ph \"Return thermodynamic state record from p and h\" -input Real p(quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\", min = 0.0, max = 100000000.0, start = 100000.0, nominal = 100000.0) \"pressure\"; -input Real h(quantity = \"SpecificEnergy\", unit = \"J/kg\", min = -10000000000.0, max = 10000000000.0, nominal = 1000000.0) \"specific enthalpy\"; +input Real p(quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\", min = 0.0, max = 1e8, start = 1e5, nominal = 1e5) \"pressure\"; +input Real h(quantity = \"SpecificEnergy\", unit = \"J/kg\", min = -1e10, max = 1e10, nominal = 1e6) \"specific enthalpy\"; input Integer phase(min = 0, max = 2) = 0 \"2 for two-phase, 1 for one-phase, 0 if not known\"; output ExternalMedia.Test.TestMedium.TestState.Medium.ThermodynamicState state; external \"C\" TwoPhaseMedium_setState_ph_C_impl(p, h, phase, state, \"TestMedium\", \"TestMedium\", \"TestMedium\"); end ExternalMedia.Test.TestMedium.TestState.Medium.setState_ph; class ExternalMedia.Test.TestMedium.TestState \"Test case using TestMedium with a single state record\" -Real state.T(quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\", min = 1.0, max = 10000.0, start = 300.0, nominal = 300.0) \"temperature\"; -Real state.a(quantity = \"Velocity\", unit = \"m/s\", min = 0.0, max = 100000.0, start = 1000.0, nominal = 1000.0) \"velocity of sound\"; +Real state.T(quantity = \"ThermodynamicTemperature\", unit = \"K\", displayUnit = \"degC\", min = 1.0, max = 1e4, start = 300.0, nominal = 300.0) \"temperature\"; +Real state.a(quantity = \"Velocity\", unit = \"m/s\", min = 0.0, max = 1e5, start = 1000.0, nominal = 1000.0) \"velocity of sound\"; Real state.beta(quantity = \"CubicExpansionCoefficient\", unit = \"1/K\") \"isobaric expansion coefficient\"; -Real state.cp(quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\", min = 0.0, max = 10000000.0, start = 1000.0, nominal = 1000.0) \"specific heat capacity cp\"; -Real state.cv(quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\", min = 0.0, max = 10000000.0, start = 1000.0, nominal = 1000.0) \"specific heat capacity cv\"; -Real state.d(quantity = \"Density\", unit = \"kg/m3\", displayUnit = \"g/cm3\", min = 0.0, max = 100000.0, start = 1.0, nominal = 1.0) \"density\"; +Real state.cp(quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\", min = 0.0, max = 1e7, start = 1000.0, nominal = 1000.0) \"specific heat capacity cp\"; +Real state.cv(quantity = \"SpecificHeatCapacity\", unit = \"J/(kg.K)\", min = 0.0, max = 1e7, start = 1000.0, nominal = 1000.0) \"specific heat capacity cv\"; +Real state.d(quantity = \"Density\", unit = \"kg/m3\", displayUnit = \"g/cm3\", min = 0.0, max = 1e5, start = 1.0, nominal = 1.0) \"density\"; Real state.ddhp(unit = \"kg.s2/m5\") \"derivative of density wrt enthalpy at constant pressure\"; Real state.ddph(unit = \"s2/m2\") \"derivative of density wrt pressure at constant enthalpy\"; -Real state.eta(quantity = \"DynamicViscosity\", unit = \"Pa.s\", min = 0.0, max = 100000000.0, start = 0.001, nominal = 0.001) \"dynamic viscosity\"; -Real state.h(quantity = \"SpecificEnergy\", unit = \"J/kg\", min = -10000000000.0, max = 10000000000.0, nominal = 1000000.0) \"specific enthalpy\"; +Real state.eta(quantity = \"DynamicViscosity\", unit = \"Pa.s\", min = 0.0, max = 1e8, start = 0.001, nominal = 0.001) \"dynamic viscosity\"; +Real state.h(quantity = \"SpecificEnergy\", unit = \"J/kg\", min = -1e10, max = 1e10, nominal = 1e6) \"specific enthalpy\"; Real state.kappa(quantity = \"Compressibility\", unit = \"1/Pa\") \"compressibility\"; Real state.lambda(quantity = \"ThermalConductivity\", unit = \"W/(m.K)\", min = 0.0, max = 500.0, start = 1.0, nominal = 1.0) \"thermal conductivity\"; -Real state.p(quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\", min = 0.0, max = 100000000.0, start = 100000.0, nominal = 100000.0) \"pressure\"; +Real state.p(quantity = \"Pressure\", unit = \"Pa\", displayUnit = \"bar\", min = 0.0, max = 1e8, start = 1e5, nominal = 1e5) \"pressure\"; Integer state.phase(min = 0, max = 2) \"phase flag: 2 for two-phase, 1 for one-phase\"; -Real state.s(quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\", min = -10000000.0, max = 10000000.0, nominal = 1000.0) \"specific entropy\"; +Real state.s(quantity = \"SpecificEntropy\", unit = \"J/(kg.K)\", min = -1e7, max = 1e7, nominal = 1000.0) \"specific entropy\"; equation -state = ExternalMedia.Test.TestMedium.TestState.Medium.setState_ph(100000.0, 100000.0 + 100000.0 * time, 0); +state = ExternalMedia.Test.TestMedium.TestState.Medium.setState_ph(1e5, 1e5 + 1e5 * time, 0); end ExternalMedia.Test.TestMedium.TestState; " "" record SimulationResult -resultFile = "ExternalMedia.Test.TestMedium.TestState_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'ExternalMedia.Test.TestMedium.TestState', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", -messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. -LOG_SUCCESS | info | The simulation finished successfully. -" +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'ExternalMedia.Test.TestMedium.TestState', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: ExternalMedia.Test.TestMedium.TestState" end SimulationResult; -"" +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EXTERN~1/TS7F7F~1.MOS' +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState.o ExternalMedia.Test.TestMedium.TestState.c +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_functions.o ExternalMedia.Test.TestMedium.TestState_functions.c +ExternalMedia.Test.TestMedium.TestState_functions.c:89:65: warning: incompatible pointer types passing 'ExternalMedia_Test_TestMedium_TestState_Medium_ThermodynamicState_external *' to parameter of type 'ExternalThermodynamicState *' [-Wincompatible-pointer-types] +89 | TwoPhaseMedium_setState_ph_C_impl(_p_ext, _h_ext, _phase_ext, &_state_ext, MMC_STRINGDATA(MMC_REFSTRINGLIT(tmp1)), MMC_STRINGDATA(MMC_REFSTRINGLIT(tmp2)), MMC_STRINGDATA(MMC_REFSTRINGLIT(tmp3))); +| ^~~~~~~~~~~ +./ExternalMedia.Test.TestMedium.TestState_includes.h:39:102: note: passing argument to parameter 'state' here +39 | void TwoPhaseMedium_setState_ph_C_impl(double p, double h, double phase, ExternalThermodynamicState *state, const char* mediumName, const char* libraryName, const char* substanceName) +| ^ +1 warning generated. +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_records.o ExternalMedia.Test.TestMedium.TestState_records.c +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_01exo.o ExternalMedia.Test.TestMedium.TestState_01exo.c +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_02nls.o ExternalMedia.Test.TestMedium.TestState_02nls.c +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_03lsy.o ExternalMedia.Test.TestMedium.TestState_03lsy.c +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_04set.o ExternalMedia.Test.TestMedium.TestState_04set.c +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_05evt.o ExternalMedia.Test.TestMedium.TestState_05evt.c +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_06inz.o ExternalMedia.Test.TestMedium.TestState_06inz.c +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_07dly.o ExternalMedia.Test.TestMedium.TestState_07dly.c +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_08bnd.o ExternalMedia.Test.TestMedium.TestState_08bnd.c +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_09alg.o ExternalMedia.Test.TestMedium.TestState_09alg.c +clang -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_10asr.o ExternalMedia.Test.TestMedium.TestState_10asr.c +LLVM ERROR: out of memory +Allocation failed +PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. +Stack dump: +0. Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ExternalMedia_Test_TestMedium_TestState -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ExternalMedia.Test.TestMedium.TestState_10asr.o ExternalMedia.Test.TestMedium.TestState_10asr.c +1. C:/OMDevUCRT/tools/msys/ucrt64/include/wincon.h:299:20: current parser token 'WINAPI' +Exception Code: 0xC000001D +0x00007FFB4909B736, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1B736 byte(s) +0x00007FFB89B3E6D5, C:\\Windows\\System32\\ucrtbase.dll(0x00007FFB89AC0000) + 0x7E6D5 byte(s) +0x00007FFB89B3F6E1, C:\\Windows\\System32\\ucrtbase.dll(0x00007FFB89AC0000) + 0x7F6E1 byte(s) +0x00007FFB4B058D08, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1FD8D08 byte(s) +0x00007FFB4A93FA56, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x18BFA56 byte(s) +0x00007FFB50BC6F01, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xA46F01 byte(s) +0x00007FFB50BC624F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xA4624F byte(s) +0x00007FFB5096F130, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x7EF130 byte(s) +0x00007FFB509CD755, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x84D755 byte(s) +0x00007FFB509EE1C7, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x86E1C7 byte(s) +0x00007FFB509D6460, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x856460 byte(s) +0x00007FFB51F32349, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1DB2349 byte(s) +0x00007FFB509F1048, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x871048 byte(s) +0x00007FFB51FC3A58, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E43A58 byte(s) +0x00007FFB51FE7A0F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E67A0F byte(s) +0x00007FFB520035D1, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E835D1 byte(s) +0x00007FFB51FB2943, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E32943 byte(s) +0x00007FFB51F708A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1DF08A8 byte(s) +0x00007FFB52571D4E, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x23F1D4E byte(s) +0x00007FFB50E0D078, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xC8D078 byte(s) +0x00007FFB50F2F0C4, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xDAF0C4 byte(s) +0x00007FFB51B5247C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x19D247C byte(s) +0x00007FF710D2F4A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xF4A8 byte(s) +0x00007FF710D2FADA, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xFADA byte(s) +0x00007FFB507FED4D, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x67ED4D byte(s) +0x00007FFB4AF30154, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1EB0154 byte(s) +0x00007FFB5293B954, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27BB954 byte(s) +0x00007FFB52978AB5, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27F8AB5 byte(s) +0x00007FFB5297876F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27F876F byte(s) +0x00007FFB520A729B, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1F2729B byte(s) +0x00007FF710D2C1B8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xC1B8 byte(s) +0x00007FF710D34EB9, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x14EB9 byte(s) +0x00007FF710D212EE, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x12EE byte(s) +0x00007FF710D21406, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x1406 byte(s) +0x00007FFB8B30257D, C:\\Windows\\System32\\KERNEL32.DLL(0x00007FFB8B2F0000) + 0x1257D byte(s) +0x00007FFB8C50AF28, C:\\Windows\\SYSTEM32\\ntdll.dll(0x00007FFB8C4B0000) + 0x5AF28 byte(s) +clang: error: clang frontend command failed due to signal (use -v to see invocation) +clang version 17.0.6 +Target: x86_64-w64-windows-gnu +Thread model: posix +InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin +clang: note: diagnostic msg: +******************** + +PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: +Preprocessed source(s) and associated run script(s) are located at: +clang: note: diagnostic msg: C:/Windows/TEMP/ExternalMedia-8ecd01.c +clang: note: diagnostic msg: C:/Windows/TEMP/ExternalMedia-8ecd01.sh +clang: note: diagnostic msg: + +******************** +make: *** [<builtin>: ExternalMedia.Test.TestMedium.TestState_10asr.o] Error 1 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EXTERN~1/TS7F7F~1.MOS' +RESULT: 2 +" "State at 0" -100.5 -0.6 -0.7 -0.8 -0.9 -1.11 -1.1 -1.2 -1.3 -1.4 -1.5 -1.6 -1.7 -2.1 + + + + + + + + + + + + + + "State at 1" -100.5 -0.6 -0.7 -0.8 -0.9 -1.11 -1.1 -1.2 -1.3 -1.4 -1.5 -1.6 -1.7 -2.1 + + + + + + + + + + + + + + '' Equation mismatch: omc-diff says: Failed 'E' '"' Line 110: Text differs: expected: resultFile = "ExternalMedia.Test.TestMedium.TestState_res.mat", got: resultFile = "", == 1 out of 1 tests failed [simulation/modelica/external_functions/ts.mos_temp1450, time: 35]