Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.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.Devel_test_models.Test_TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_TITO_rational_zeroInit") translateModel(AES.Devel_test_models.Test_TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_TITO_rational_zeroInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 108.8 kB / 16.42 MB, free: 6.461 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.001203/0.001203, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08578/0.08578, allocations: 22.32 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.569e-05, allocations: 2.281 kB / 435.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.002229/0.002264, allocations: 1.214 MB / 436.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.004042, allocations: 1.354 MB / 438.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.004139, allocations: 0 / 438.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.004468, allocations: 67.56 kB / 438.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.004709, allocations: 95.52 kB / 438.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.004973, allocations: 151.8 kB / 438.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.005594, allocations: 0.5694 MB / 439 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.005773, allocations: 76.89 kB / 439.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.005965, allocations: 179.5 kB / 439.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.006156, allocations: 147.4 kB / 439.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.006205, allocations: 24 kB / 439.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.006254, allocations: 28 kB / 439.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003182/0.006577, allocations: 415.2 kB / 439.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001313/0.006715, allocations: 256.2 kB / 440.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.006761, allocations: 27.88 kB / 440.1 MB, free: 9.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.777e-05/0.006806, allocations: 15.94 kB / 440.1 MB, free: 9.336 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: 28 (28) * Number of variables: 28 (28) Notification: Performance of Bindings: time 0.0009783/0.007789, allocations: 1.203 MB / 441.3 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FunctionAlias: time 4.189e-05/0.007837, allocations: 39.95 kB / 441.4 MB, free: 7.984 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003898/0.008234, allocations: 488 kB / 441.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of simplify1: time 5.127e-05/0.008292, allocations: 47.92 kB / 441.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of Alias: time 0.0007812/0.009079, allocations: 0.694 MB / 442.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of simplify2: time 3.995e-05/0.009128, allocations: 43.95 kB / 442.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of Events: time 9.059e-05/0.009224, allocations: 48.5 kB / 442.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002054/0.009438, allocations: 172.3 kB / 442.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001395/0.009585, allocations: 132.1 kB / 443 MB, free: 6.234 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004551/0.01005, allocations: 403.1 kB / 443.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003202/0.01038, allocations: 388.2 kB / 443.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of Inline: time 0.0008547/0.01124, allocations: 0.9332 MB / 444.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of Partitioning: time 5.225e-05/0.0113, allocations: 50.38 kB / 444.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of Cleanup: time 3.199e-05/0.01134, allocations: 31.95 kB / 444.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of Causalize: time 0.001707/0.01305, allocations: 1.581 MB / 446.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of Tearing: time 1.048e-05/0.01307, allocations: 3.938 kB / 446.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of Initialization: time 2.434e-06/0.01308, allocations: 4 kB / 446.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of Tearing: time 2.114e-06/0.01308, allocations: 0 / 446.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of Categorize: time 9.478e-06/0.0131, allocations: 0 / 446.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of Solve: time 0.001251/0.01435, allocations: 1.447 MB / 447.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0003317/0.0147, allocations: 427 kB / 448.2 MB, free: 0.6641 MB / 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: ............................. 4 (4) {P.P11.x_scaled, P.P12.x_scaled, P.P21.x_scaled, P.P22.x_scaled} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$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: ........... 18 (scalar:14, array:4, 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:22, array:16, 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: ... 4 (linear: 0, nonlinear:4) Notification: Performance of backend: time 4.678e-05/0.01475, allocations: 53.66 kB / 448.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of SimCode: time 0.001552/0.01631, allocations: 1.981 MB / 450.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Templates: time 0.006015/0.02234, allocations: 3.137 MB / 453.4 MB, free: 11.44 MB / 334.1 MB make -j1 -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.makefile make -j1 -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.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_Devel_test_models_Test_TITO_rational_zeroInit -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.o AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.c AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.c:144:269: error: invalid operands to binary expression ('modelica_real' (aka 'double') and 'real_array' (aka 'struct base_array_s')) (data->localData[0]->realVars[10] /* P.P11.y variable */) = DIVISION_SIM(sub_alloc_real_array(tmp1, mul_alloc_real_array_scalar(tmp6, (data->simulationInfo->realParameter[19] /* P.P11.d PARAM */))),((data->simulationInfo->realParameter[20] /* P.P11.a_end PARAM */)) * (tmp10),"P.P11.a_end * P.P11.x_scaled",equationIndexes) + ((data->simulationInfo->realParameter[19] /* P.P11.d PARAM */)) * ((data->localData[0]->realVars[9] /* u1.y variable */)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ /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())) ^ AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.c:178:271: error: invalid operands to binary expression ('modelica_real' (aka 'double') and 'real_array' (aka 'struct base_array_s')) (data->localData[0]->realVars[14] /* P.P21.y variable */) = DIVISION_SIM(sub_alloc_real_array(tmp12, mul_alloc_real_array_scalar(tmp17, (data->simulationInfo->realParameter[37] /* P.P21.d PARAM */))),((data->simulationInfo->realParameter[38] /* P.P21.a_end PARAM */)) * (tmp21),"P.P21.a_end * P.P21.x_scaled",equationIndexes) + ((data->simulationInfo->realParameter[37] /* P.P21.d PARAM */)) * ((data->localData[0]->realVars[9] /* u1.y variable */)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ /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())) ^ AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.c:214:271: error: invalid operands to binary expression ('modelica_real' (aka 'double') and 'real_array' (aka 'struct base_array_s')) (data->localData[0]->realVars[16] /* P.P22.y variable */) = DIVISION_SIM(sub_alloc_real_array(tmp23, mul_alloc_real_array_scalar(tmp28, (data->simulationInfo->realParameter[46] /* P.P22.d PARAM */))),((data->simulationInfo->realParameter[47] /* P.P22.a_end PARAM */)) * (tmp32),"P.P22.a_end * P.P22.x_scaled",equationIndexes) + ((data->simulationInfo->realParameter[46] /* P.P22.d PARAM */)) * ((data->localData[0]->realVars[8] /* u2.y variable */)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ /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())) ^ AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.c:252:271: error: invalid operands to binary expression ('modelica_real' (aka 'double') and 'real_array' (aka 'struct base_array_s')) (data->localData[0]->realVars[12] /* P.P12.y variable */) = DIVISION_SIM(sub_alloc_real_array(tmp34, mul_alloc_real_array_scalar(tmp39, (data->simulationInfo->realParameter[28] /* P.P12.d PARAM */))),((data->simulationInfo->realParameter[29] /* P.P12.a_end PARAM */)) * (tmp43),"P.P12.a_end * P.P12.x_scaled",equationIndexes) + ((data->simulationInfo->realParameter[28] /* P.P12.d PARAM */)) * ((data->localData[0]->realVars[8] /* u2.y variable */)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ /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())) ^ 4 errors generated. make: *** [: AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.o] Error 1