Skip to content

Failed

tests / 05 testsuite-clang 2/3 / simulation_modelica_inlineFunction.inlineArray3.mos (from (result.xml))

Failing for the past 86 builds (Since #1 )
Took 1 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + inlineArray3                                                                      ... equation mismatch [time: 1]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/inlineFunction/inlineArray3.mos_temp553/log-inlineArray3.mos
true
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'foo', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: foo"
end SimulationResult;
"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
Warning: There are tearing variables with annotation attribute '__OpenModelica_tearingSelect = never'. Use -d=tearingdump and -d=tearingdumpV for more information.
Error: Error building simulator. Build log: clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo.o foo.c
clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_functions.o foo_functions.c
clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_records.o foo_records.c
clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_01exo.o foo_01exo.c
clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_02nls.o foo_02nls.c
clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_03lsy.o foo_03lsy.c
foo_03lsy.c:131:119: error: passing 'double' to parameter of incompatible type 'real_array' (aka 'struct base_array_s')
  (parentJacobian->tmpVars[26]) /* __OMC__73$LOOPT.$pDERA.dummyVarA JACOBIAN_TMP_VAR */ = mul_alloc_real_array_scalar(0.1, (parentJacobian->tmpVars[85]) /* y$$Pfoo$Pf24.$pDERA.dummyVarA[1] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[93]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[2] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[94]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[3] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[95]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[4] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[96]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[5] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[97]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[6] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[98]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[7] JACOBIAN_TMP_VAR */);
                                                                                                                      ^~~
/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c/util/real_array.h:159:64: note: passing argument to parameter 'a' here
extern real_array mul_alloc_real_array_scalar(const real_array a, const modelica_real b);
                                                               ^
1 error generated.
make: *** [<builtin>: foo_03lsy.o] Error 1
"

true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'foo', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: foo"
end SimulationResult;
"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
Warning: There are tearing variables with annotation attribute '__OpenModelica_tearingSelect = never'. Use -d=tearingdump and -d=tearingdumpV for more information.
Error: Error building simulator. Build log: clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo.o foo.c
clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_functions.o foo_functions.c
clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_records.o foo_records.c
clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_01exo.o foo_01exo.c
clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_02nls.o foo_02nls.c
clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_03lsy.o foo_03lsy.c
foo_03lsy.c:115:61: error: passing 'modelica_real' (aka 'double') to parameter of incompatible type 'real_array' (aka 'struct base_array_s')
  res[0] = sub_alloc_real_array(mul_alloc_real_array_scalar(sum_real_array(add_alloc_real_array(add_alloc_real_array(add_alloc_real_array(add_alloc_real_array(mul_alloc_real_array_scalar(omc__omcQ_24DER_24_24Pfoo_24Pf(threadData, tmp0, tmp1), (parentJacobian->tmpVars[25]) /* x.$pDERA.dummyVarA[1] JACOBIAN_TMP_VAR */), mul_alloc_real_array_scalar(omc__omcQ_24DER_24_24Pfoo_24Pf(threadData, tmp2, tmp3), (parentJacobian->tmpVars[26]) /* x.$pDERA.dummyVarA[2] JACOBIAN_TMP_VAR */)), mul_alloc_real_array_scalar(omc__omcQ_24DER_24_24Pfoo_24Pf(threadData, tmp4, tmp5), (parentJacobian->tmpVars[27]) /* x.$pDERA.dummyVarA[3] JACOBIAN_TMP_VAR */)), mul_alloc_real_array_scalar(omc__omcQ_24DER_24_24Pfoo_24Pf(threadData, tmp6, tmp7), (parentJacobian->tmpVars[28]) /* x.$pDERA.dummyVarA[4] JACOBIAN_TMP_VAR */)), mul_alloc_real_array_scalar(omc__omcQ_24DER_24_24Pfoo_24Pf(threadData, tmp8, tmp9), (parentJacobian->tmpVars[29]) /* x.$pDERA.dummyVarA[5] JACOBIAN_TMP_VAR */))), 0.1), (parentJacobian->tmpVars[13]) /* a.$pDERA.dummyVarA[1] JACOBIAN_TMP_VAR */);
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c/util/real_array.h:159:64: note: passing argument to parameter 'a' here
extern real_array mul_alloc_real_array_scalar(const real_array a, const modelica_real b);
                                                               ^
1 error generated.
make: *** [<builtin>: foo_03lsy.o] Error 1
"


Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/inlineFunction/inlineArray3.mos_temp553/equations-expected2024-01-20 03:56:57.126592342 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/inlineFunction/inlineArray3.mos_temp553/equations-got2024-01-20 03:56:58.446574686 +0000
@@ -2,26 +2,52 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "foo_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'foo', 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 = 'foo', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: foo"
 end SimulationResult;
 "Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
+Warning: There are tearing variables with annotation attribute '__OpenModelica_tearingSelect = never'. Use -d=tearingdump and -d=tearingdumpV for more information.
+Error: Error building simulator. Build log: clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo.o foo.c
+clang -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_functions.o foo_functions.c
+clang -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_records.o foo_records.c
+clang -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_01exo.o foo_01exo.c
+clang -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_02nls.o foo_02nls.c
+clang -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_03lsy.o foo_03lsy.c
+foo_03lsy.c:131:119: error: passing 'double' to parameter of incompatible type 'real_array' (aka 'struct base_array_s')
+(parentJacobian->tmpVars[26]) /* __OMC__73$LOOPT.$pDERA.dummyVarA JACOBIAN_TMP_VAR */ = mul_alloc_real_array_scalar(0.1, (parentJacobian->tmpVars[85]) /* y$$Pfoo$Pf24.$pDERA.dummyVarA[1] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[93]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[2] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[94]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[3] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[95]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[4] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[96]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[5] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[97]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[6] JACOBIAN_TMP_VAR */ + (parentJacobian->tmpVars[98]) /* y$$Pfoo$Pf6.$pDERA.dummyVarA[7] JACOBIAN_TMP_VAR */);
+^~~
+/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c/util/real_array.h:159:64: note: passing argument to parameter 'a' here
+extern real_array mul_alloc_real_array_scalar(const real_array a, const modelica_real b);
+^
+1 error generated.
+make: *** [<builtin>: foo_03lsy.o] Error 1
 "
-{0.04812243429093915,-2.749810253792299,-24.0237961570759}
+
 true
 ""
 record SimulationResult
-resultFile = "foo_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'foo', 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 = 'foo', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: foo"
 end SimulationResult;
 "Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
+Warning: There are tearing variables with annotation attribute '__OpenModelica_tearingSelect = never'. Use -d=tearingdump and -d=tearingdumpV for more information.
+Error: Error building simulator. Build log: clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo.o foo.c
+clang -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_functions.o foo_functions.c
+clang -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_records.o foo_records.c
+clang -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_01exo.o foo_01exo.c
+clang -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_02nls.o foo_02nls.c
+clang -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=foo -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o foo_03lsy.o foo_03lsy.c
+foo_03lsy.c:115:61: error: passing 'modelica_real' (aka 'double') to parameter of incompatible type 'real_array' (aka 'struct base_array_s')
+res[0] = sub_alloc_real_array(mul_alloc_real_array_scalar(sum_real_array(add_alloc_real_array(add_alloc_real_array(add_alloc_real_array(add_alloc_real_array(mul_alloc_real_array_scalar(omc__omcQ_24DER_24_24Pfoo_24Pf(threadData, tmp0, tmp1), (parentJacobian->tmpVars[25]) /* x.$pDERA.dummyVarA[1] JACOBIAN_TMP_VAR */), mul_alloc_real_array_scalar(omc__omcQ_24DER_24_24Pfoo_24Pf(threadData, tmp2, tmp3), (parentJacobian->tmpVars[26]) /* x.$pDERA.dummyVarA[2] JACOBIAN_TMP_VAR */)), mul_alloc_real_array_scalar(omc__omcQ_24DER_24_24Pfoo_24Pf(threadData, tmp4, tmp5), (parentJacobian->tmpVars[27]) /* x.$pDERA.dummyVarA[3] JACOBIAN_TMP_VAR */)), mul_alloc_real_array_scalar(omc__omcQ_24DER_24_24Pfoo_24Pf(threadData, tmp6, tmp7), (parentJacobian->tmpVars[28]) /* x.$pDERA.dummyVarA[4] JACOBIAN_TMP_VAR */)), mul_alloc_real_array_scalar(omc__omcQ_24DER_24_24Pfoo_24Pf(threadData, tmp8, tmp9), (parentJacobian->tmpVars[29]) /* x.$pDERA.dummyVarA[5] JACOBIAN_TMP_VAR */))), 0.1), (parentJacobian->tmpVars[13]) /* a.$pDERA.dummyVarA[1] JACOBIAN_TMP_VAR */);
+^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c/util/real_array.h:159:64: note: passing argument to parameter 'a' here
+extern real_array mul_alloc_real_array_scalar(const real_array a, const modelica_real b);
+^
+1 error generated.
+make: *** [<builtin>: foo_03lsy.o] Error 1
 "
-{0.04812243429093915,-2.749810335170811,-24.02379626652536}
+

Equation mismatch: omc-diff says:
Failed 'f' '"'
Line 7: Text differs:
expected: resultFile = "foo_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/inlineFunction/inlineArray3.mos_temp553, time: 1]