Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 116 kB / 16.43 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 187.7 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08707/0.08707, allocations: 22.32 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.416e-05, allocations: 2.281 kB / 437.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.0036/0.003634, allocations: 1.892 MB / 439.6 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.005128, allocations: 0.5884 MB / 440.1 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.005301, allocations: 4 kB / 440.1 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.005642, allocations: 51.58 kB / 440.2 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.005906, allocations: 47.7 kB / 440.2 MB, free: 9.242 MB / 318.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. Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.006218, allocations: 115.8 kB / 440.4 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.006704, allocations: 347.9 kB / 440.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.00686, allocations: 56.31 kB / 440.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.007061, allocations: 115.6 kB / 440.9 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.007266, allocations: 107.5 kB / 441 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.007322, allocations: 19.98 kB / 441 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.249e-05/0.007372, allocations: 23.94 kB / 441 MB, free: 8.477 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003208/0.007698, allocations: 339.9 kB / 441.3 MB, free: 8.141 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001736/0.007884, allocations: 228.5 kB / 441.6 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.007958, allocations: 31.88 kB / 441.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.563e-05/0.008009, allocations: 4 kB / 441.6 MB, free: 7.879 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 (37) * Number of variables: 37 (37) Notification: Performance of Bindings: time 0.00111/0.009125, allocations: 0.986 MB / 442.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.298e-05/0.009194, allocations: 35.95 kB / 442.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0004945/0.009694, allocations: 446.3 kB / 443.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of simplify1: time 7.791e-05/0.009784, allocations: 51.94 kB / 443.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of Alias: time 0.001154/0.01096, allocations: 0.7673 MB / 443.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of simplify2: time 7.374e-05/0.01104, allocations: 39.94 kB / 443.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of Events: time 0.0001207/0.01117, allocations: 62.45 kB / 444 MB, free: 5.215 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002579/0.01144, allocations: 178.4 kB / 444.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002083/0.01165, allocations: 144.1 kB / 444.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005664/0.01223, allocations: 435.2 kB / 444.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003638/0.0126, allocations: 364.1 kB / 445.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of Inline: time 0.0007529/0.01336, allocations: 0.6644 MB / 445.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of Partitioning: time 4.822e-05/0.01342, allocations: 42.38 kB / 445.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of Cleanup: time 4.169e-05/0.01347, allocations: 27.91 kB / 445.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of Causalize: time 0.002087/0.01556, allocations: 1.601 MB / 447.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of Tearing: time 1.108e-05/0.01558, allocations: 0 / 447.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of Initialization: time 8.52e-07/0.01559, allocations: 4 kB / 447.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of Tearing: time 3.146e-06/0.0156, allocations: 0 / 447.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of Categorize: time 9.288e-06/0.01561, allocations: 0 / 447.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of Solve: time 0.0006938/0.01631, allocations: 0.6746 MB / 448.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0003807/0.0167, allocations: 431.9 kB / 448.5 MB, free: 488 kB / 318.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: ............................. 7 (7) {C.u, C.x_scaled, P.x_scaled, PI.xfb, PI.xBias, PI.u, PI.csfil} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {PI.HIsat, PI.LOsat, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 24 (scalar:22, 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 (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: ........... 38 (scalar:33, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 7.407e-05/0.01679, allocations: 37.41 kB / 448.5 MB, free: 452 kB / 318.1 MB Notification: Performance of SimCode: time 0.001392/0.01818, allocations: 1.533 MB / 450.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of Templates: time 0.006093/0.0243, allocations: 2.343 MB / 452.4 MB, free: 12.5 MB / 334.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.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_Typical_control_structures_FF_compensation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AES_AES.Coursework.Typical_control_structures.FF_compensation.o AES_AES.Coursework.Typical_control_structures.FF_compensation.c AES_AES.Coursework.Typical_control_structures.FF_compensation.c:147:257: error: invalid operands to binary expression ('modelica_real' (aka 'double') and 'real_array' (aka 'struct base_array_s')) (data->localData[0]->realVars[16] /* C.y variable */) = DIVISION_SIM(sub_alloc_real_array(tmp1, mul_alloc_real_array_scalar(tmp6, (data->simulationInfo->realParameter[10] /* C.d PARAM */))),((data->simulationInfo->realParameter[11] /* C.a_end PARAM */)) * (tmp10),"C.a_end * C.x_scaled",equationIndexes) + ((data->simulationInfo->realParameter[10] /* C.d PARAM */)) * ((data->localData[0]->realVars[0] /* C.u STATE(1,der(C.u)) */)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ 1 error generated. make: *** [: AES_AES.Coursework.Typical_control_structures.FF_compensation.o] Error 1