Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.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.001447/0.001447, allocations: 112.7 kB / 18.34 MB, free: 3.961 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.001518/0.001518, allocations: 190 kB / 21.52 MB, free: 0.7969 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.29/1.29, allocations: 225.6 MB / 250.1 MB, free: 13.49 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09243/0.09243, allocations: 22.68 MB / 327.9 MB, free: 2.816 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") translateModel(AES.Coursework.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.152e-05, allocations: 2.281 kB / 461.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003243/0.003264, allocations: 2.031 MB / 463.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.004381, allocations: 0.6429 MB / 464 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.999e-05/0.004461, allocations: 3.938 kB / 464 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.004646, allocations: 51.52 kB / 464 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.004786, allocations: 43.66 kB / 464.1 MB, free: 12.83 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.005043, allocations: 127.8 kB / 464.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.005437, allocations: 399.9 kB / 464.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.005574, allocations: 74.16 kB / 464.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.005743, allocations: 151.5 kB / 464.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.005902, allocations: 135.3 kB / 464.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.005938, allocations: 28 kB / 465 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.005975, allocations: 24 kB / 465 MB, free: 11.91 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003794/0.006354, allocations: 486.5 kB / 465.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001951/0.006549, allocations: 291.6 kB / 465.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.006593, allocations: 39.81 kB / 465.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.446e-05/0.006628, allocations: 15.88 kB / 465.8 MB, free: 11.09 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 (62) * Number of variables: 63 (61) Notification: Performance of Bindings: time 0.001056/0.007684, allocations: 1.047 MB / 466.9 MB, free: 9.918 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001416/0.007826, allocations: 118.6 kB / 467 MB, free: 9.805 MB / 334.1 MB Notification: Performance of Early Inline: time 0.000507/0.008333, allocations: 486 kB / 467.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of Simplify 1: time 0.0001512/0.008484, allocations: 130.3 kB / 467.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of Alias: time 0.00145/0.009934, allocations: 1.085 MB / 468.7 MB, free: 7.855 MB / 334.1 MB Notification: Performance of Simplify 2: time 0.0001201/0.01005, allocations: 101.5 kB / 468.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of Remove Stream: time 9.015e-05/0.01014, allocations: 81.5 kB / 468.8 MB, free: 7.621 MB / 334.1 MB Notification: Performance of Detect States: time 0.0002726/0.01042, allocations: 201.4 kB / 469 MB, free: 7.387 MB / 334.1 MB Notification: Performance of Events: time 0.0001161/0.01053, allocations: 82.06 kB / 469.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0002276/0.01076, allocations: 191.4 kB / 469.3 MB, free: 7.109 MB / 334.1 MB Notification: Performance of Causalize: time 0.0008903/0.01165, allocations: 0.6741 MB / 470 MB, free: 6.43 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003158/0.01197, allocations: 311.7 kB / 470.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of Simplify: time 0.0004216/0.01239, allocations: 312.1 kB / 470.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of Inline: time 0.0004761/0.01286, allocations: 468.6 kB / 471 MB, free: 5.309 MB / 334.1 MB Notification: Performance of Partitioning: time 3.175e-05/0.0129, allocations: 22.38 kB / 471.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of Cleanup: time 0.0001123/0.01301, allocations: 119.9 kB / 471.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of Causalize: time 0.002287/0.01529, allocations: 1.723 MB / 472.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of Tearing: time 8.857e-06/0.0153, allocations: 0 / 472.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of Initialization: time 2.274e-06/0.01531, allocations: 7.938 kB / 472.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of Remove Dummies: time 5.811e-06/0.01531, allocations: 0 / 472.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of Tearing: time 1.914e-06/0.01531, allocations: 0 / 472.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of Categorize: time 6.252e-06/0.01532, allocations: 0 / 472.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of Solve: time 0.0003334/0.01565, allocations: 206 kB / 473.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of Jacobian: time 0.0004388/0.01609, allocations: 404 kB / 473.5 MB, free: 2.789 MB / 334.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * 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: ............................. 11 (10) {PI_1.xfb, PI_1.xBias, PI_1.u, PI_1.csfil, PI_2.xfb, PI_2.xBias, PI_2.u, PI_2.csfil, Process.x_scaled, geq.u} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 12 (12) {PI_1.HIsat, PI_1.LOsat, PI_2.HIsat, PI_2.LOsat, PI_2.iTS, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 36 (scalar:34, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, 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: ........... 55 (scalar:52, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001406/0.01623, allocations: 57.34 kB / 473.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of SimCode: time 0.001462/0.01769, allocations: 1.614 MB / 475.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of Templates: time 0.005832/0.02353, allocations: 2.469 MB / 477.6 MB, free: 14.61 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.makefile [Timeout 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=AES_AES_Coursework_Tuning_brushup_Two_PIs_tracking -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 AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.o AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=AES_AES_Coursework_Tuning_brushup_Two_PIs_tracking -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 AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_functions.o AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=AES_AES_Coursework_Tuning_brushup_Two_PIs_tracking -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 AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_records.o AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=AES_AES_Coursework_Tuning_brushup_Two_PIs_tracking -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 AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_01exo.o AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=AES_AES_Coursework_Tuning_brushup_Two_PIs_tracking -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 AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_02nls.o AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=AES_AES_Coursework_Tuning_brushup_Two_PIs_tracking -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 AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_03lsy.o AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=AES_AES_Coursework_Tuning_brushup_Two_PIs_tracking -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 AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_04set.o AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=AES_AES_Coursework_Tuning_brushup_Two_PIs_tracking -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 AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_05evt.o AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=AES_AES_Coursework_Tuning_brushup_Two_PIs_tracking -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 AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_06inz.o AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_06inz.c AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_06inz.c:124:406: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') usub_alloc_real_array(div_alloc_real_array(sub_alloc_real_array(division_alloc_real_array_scalar(threadData,tmp7,(data->simulationInfo->realParameter[21] /* Process.a_end PARAM */),"Process.a_end"), tmp8), sub_alloc_real_array(division_alloc_real_array_scalar(threadData,add_alloc_real_array_scalar(mul_alloc_real_array_scalar(tmp9, (data->simulationInfo->realParameter[21] /* Process.a_end PARAM */)), tmp10),pow_alloc_real_array_scalar((data->simulationInfo->realParameter[21] /* Process.a_end PARAM */), 2.0),"Process.a_end .^ 2.0"), tmp11)),&tmp12); ^~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/real_array.h:143:89: note: passing argument to parameter 'sc' here extern real_array add_alloc_real_array_scalar(const real_array arr, const modelica_real sc); ^ AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_06inz.c:124:441: error: passing 'modelica_real' (aka 'double') to parameter of incompatible type 'real_array' (aka 'struct base_array_s') usub_alloc_real_array(div_alloc_real_array(sub_alloc_real_array(division_alloc_real_array_scalar(threadData,tmp7,(data->simulationInfo->realParameter[21] /* Process.a_end PARAM */),"Process.a_end"), tmp8), sub_alloc_real_array(division_alloc_real_array_scalar(threadData,add_alloc_real_array_scalar(mul_alloc_real_array_scalar(tmp9, (data->simulationInfo->realParameter[21] /* Process.a_end PARAM */)), tmp10),pow_alloc_real_array_scalar((data->simulationInfo->realParameter[21] /* Process.a_end PARAM */), 2.0),"Process.a_end .^ 2.0"), tmp11)),&tmp12); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/real_array.h:185:64: note: passing argument to parameter 'a' here extern real_array pow_alloc_real_array_scalar(const real_array a, const modelica_real b); ^ 2 errors generated. make: *** [: AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 2.9745804769918323]