Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 112.5 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 189.9 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 225.6 MB / 250.1 MB, free: 13.48 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.361/3.361, allocations: 496.1 MB / 0.7826 GB, free: 33.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.241e-05, allocations: 2.281 kB / 1.137 GB, free: 33.93 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.256/0.2561, allocations: 163.9 MB / 1.297 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007237/0.2633, allocations: 4.622 MB / 1.301 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006257/0.2639, allocations: 14.41 kB / 1.301 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.2645, allocations: 125.6 kB / 1.301 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.2662, allocations: 0.5591 MB / 1.302 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.2689, allocations: 0.7865 MB / 1.303 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.2702, allocations: 0.679 MB / 1.303 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/0.2706, allocations: 225.7 kB / 1.303 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.2729, allocations: 0.7585 MB / 1.304 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007827/0.2737, allocations: 306.9 kB / 1.304 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.2737, allocations: 20 kB / 1.304 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.276, allocations: 1.04 MB / 1.306 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of combineBinaries: time 0.0004849/0.2765, allocations: 475.5 kB / 1.306 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of replaceArrayConstructors: time 0.000265/0.2768, allocations: 308.4 kB / 1.306 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.484e-05/0.2769, allocations: 39.88 kB / 1.306 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.565e-05/0.277, allocations: 11.94 kB / 1.306 GB, free: 1.152 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 (39) * Number of variables: 44 (38) Notification: Performance of Bindings: time 0.001306/0.2783, allocations: 1.02 MB / 1.307 GB, free: 8 kB / 0.9981 GB Notification: Performance of FunctionAlias: time 0.0002046/0.2785, allocations: 112.9 kB / 1.307 GB, free: 15.91 MB / 1.014 GB Notification: Performance of Early Inline: time 0.0008848/0.2794, allocations: 0.6748 MB / 1.308 GB, free: 15.2 MB / 1.014 GB Notification: Performance of Simplify 1: time 0.0001935/0.2796, allocations: 143.6 kB / 1.308 GB, free: 15.04 MB / 1.014 GB Notification: Performance of Alias: time 0.001288/0.2808, allocations: 0.762 MB / 1.309 GB, free: 14.11 MB / 1.014 GB Notification: Performance of Simplify 2: time 0.000162/0.281, allocations: 116.3 kB / 1.309 GB, free: 13.97 MB / 1.014 GB Notification: Performance of Remove Stream: time 0.0001243/0.2811, allocations: 104.3 kB / 1.309 GB, free: 13.84 MB / 1.014 GB Notification: Performance of Detect States: time 0.0003096/0.2814, allocations: 169.5 kB / 1.309 GB, free: 13.64 MB / 1.014 GB Notification: Performance of Events: time 0.0001677/0.2816, allocations: 93.19 kB / 1.309 GB, free: 13.55 MB / 1.014 GB Notification: Performance of Partitioning: time 0.0002957/0.2819, allocations: 228 kB / 1.31 GB, free: 13.31 MB / 1.014 GB Notification: Performance of Causalize: time 0.001202/0.2831, allocations: 0.8634 MB / 1.31 GB, free: 12.43 MB / 1.014 GB Notification: Performance of After Index Reduction Inline: time 0.0004223/0.2835, allocations: 371.6 kB / 1.311 GB, free: 12.07 MB / 1.014 GB Notification: Performance of Simplify: time 0.0004806/0.284, allocations: 320.3 kB / 1.311 GB, free: 11.71 MB / 1.014 GB Notification: Performance of Inline: time 0.0007502/0.2848, allocations: 0.6761 MB / 1.312 GB, free: 11.02 MB / 1.014 GB Notification: Performance of Partitioning: time 3.328e-05/0.2848, allocations: 22.31 kB / 1.312 GB, free: 11 MB / 1.014 GB Notification: Performance of Cleanup: time 0.0001477/0.2849, allocations: 139.8 kB / 1.312 GB, free: 10.86 MB / 1.014 GB Notification: Performance of Causalize: time 0.001459/0.2864, allocations: 1.041 MB / 1.313 GB, free: 9.816 MB / 1.014 GB Notification: Performance of Tearing: time 1.835e-05/0.2864, allocations: 4 kB / 1.313 GB, free: 9.812 MB / 1.014 GB Notification: Performance of Initialization: time 3.2e-07/0.2864, allocations: 0 / 1.313 GB, free: 9.812 MB / 1.014 GB Notification: Performance of Remove Dummies: time 5.58e-06/0.2864, allocations: 0 / 1.313 GB, free: 9.812 MB / 1.014 GB Notification: Performance of Tearing: time 5.831e-06/0.2864, allocations: 7.938 kB / 1.313 GB, free: 9.805 MB / 1.014 GB Notification: Performance of Categorize: time 8.666e-06/0.2864, allocations: 0 / 1.313 GB, free: 9.805 MB / 1.014 GB Notification: Performance of Solve: time 0.0003749/0.2868, allocations: 161.5 kB / 1.313 GB, free: 9.648 MB / 1.014 GB Notification: Performance of Jacobian: time 0.0005082/0.2873, allocations: 421.3 kB / 1.314 GB, free: 9.195 MB / 1.014 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {senStr.s} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {$SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:27, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 2, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 37 (scalar:32, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 2, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.512e-05/0.2874, allocations: 33.55 kB / 1.314 GB, free: 9.168 MB / 1.014 GB Notification: Performance of SimCode: time 0.005088/0.2925, allocations: 2.583 MB / 1.316 GB, free: 6.562 MB / 1.014 GB Notification: Performance of Templates: time 0.01175/0.3042, allocations: 5.479 MB / 1.321 GB, free: 1.094 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy -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 Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.o Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy -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 Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_functions.o Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy -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 Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_records.o Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy -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 Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_01exo.o Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy -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 Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_02nls.o Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy -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 Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_03lsy.o Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy -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 Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_04set.o Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy -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 Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_05evt.o Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy -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 Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_06inz.o Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_06inz.c Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_06inz.c:77:46: error: passing 'double' to parameter of incompatible type 'real_array' (aka 'struct base_array_s') usub_alloc_real_array(mul_alloc_real_array(0.5, (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* ramp.y variable */)),&tmp2); ^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/real_array.h:162:57: note: passing argument to parameter 'a' here extern real_array mul_alloc_real_array(const real_array a,const real_array b); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_06inz.c:78:109: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* sou.ports[2].m_flow variable */) = tmp2; ^ ~~~~ 2 errors generated. make: *** [: Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 8.445807260461152]