Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 105.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.001087/0.001087, allocations: 189.9 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.143/1.143, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2457/0.2457, allocations: 54.96 MB / 325.6 MB, free: 4.852 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.025e-05, allocations: 2.281 kB / 456.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.SignalRanker): time 0.001965/0.001983, allocations: 1.541 MB / 458.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000703/0.002698, allocations: 0.5196 MB / 458.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.002752, allocations: 0 / 458.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.135e-05/0.002839, allocations: 11.86 kB / 458.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.002898, allocations: 19.8 kB / 458.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.003102, allocations: 51.88 kB / 458.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.003274, allocations: 123.7 kB / 459.1 MB, free: 448 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.003367, allocations: 20.23 kB / 459.1 MB, free: 428 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.003476, allocations: 59.81 kB / 459.1 MB, free: 368 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.46e-05/0.003569, allocations: 51.75 kB / 459.2 MB, free: 316 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.003599, allocations: 8 kB / 459.2 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.595e-05/0.00362, allocations: 8 kB / 459.2 MB, free: 300 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.0001127/0.003738, allocations: 146.5 kB / 459.3 MB, free: 152 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 4.191e-05/0.003786, allocations: 78.78 kB / 459.4 MB, free: 72 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.003823, allocations: 19.94 kB / 459.4 MB, free: 52 kB / 334.1 MB Notification: Performance of FrontEnd: time 9.868e-06/0.003837, allocations: 0 / 459.4 MB, free: 52 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 (10) * Number of variables: 13 (9) Notification: Performance of Bindings: time 0.0005136/0.004355, allocations: 0.5312 MB / 460 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.941e-05/0.004462, allocations: 56.58 kB / 460 MB, free: 15.37 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002605/0.00473, allocations: 316.1 kB / 460.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simplify1: time 2.559e-05/0.004762, allocations: 19.97 kB / 460.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of Alias: time 0.0001009/0.004868, allocations: 101.6 kB / 460.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simplify2: time 1.909e-05/0.004892, allocations: 19.97 kB / 460.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Events: time 0.0001278/0.005025, allocations: 83.84 kB / 460.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001677/0.005201, allocations: 141 kB / 460.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001205/0.005329, allocations: 108 kB / 460.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of Causalize: time 0.0005753/0.005911, allocations: 0.5229 MB / 461.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002947/0.006215, allocations: 348.1 kB / 461.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Inline: time 0.000459/0.006681, allocations: 0.5031 MB / 462.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Partitioning: time 2.317e-05/0.006713, allocations: 24.12 kB / 462.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Cleanup: time 2.937e-05/0.006747, allocations: 23.97 kB / 462.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of Causalize: time 0.0005695/0.007322, allocations: 0.6097 MB / 462.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of Tearing: time 5.16e-06/0.007336, allocations: 0 / 462.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of Initialization: time 2.91e-07/0.007341, allocations: 0 / 462.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of Tearing: time 8.52e-07/0.007346, allocations: 0 / 462.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of Categorize: time 6.993e-06/0.007357, allocations: 4 kB / 462.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Solve: time 9.053e-05/0.007451, allocations: 55.8 kB / 462.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Jacobian: time 2.344e-06/0.00746, allocations: 0 / 462.9 MB, free: 12.36 MB / 350.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: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {$SEV_3, $SEV_2, $SEV_1, $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: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:1, when:2, 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: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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: Performance of backend: time 2.924e-05/0.007495, allocations: 30.64 kB / 462.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of SimCode: time 0.0005641/0.008065, allocations: 0.9717 MB / 463.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Templates: time 0.003039/0.01111, allocations: 1.224 MB / 465.1 MB, free: 10.11 MB / 350.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.makefile make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.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=Annex60_1_0_0_Annex60_Controls_Continuous_Examples_SignalRanker -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 Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.o Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.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=Annex60_1_0_0_Annex60_Controls_Continuous_Examples_SignalRanker -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 Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_functions.o Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_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=Annex60_1_0_0_Annex60_Controls_Continuous_Examples_SignalRanker -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 Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_records.o Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_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=Annex60_1_0_0_Annex60_Controls_Continuous_Examples_SignalRanker -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 Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_01exo.o Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_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=Annex60_1_0_0_Annex60_Controls_Continuous_Examples_SignalRanker -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 Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_02nls.o Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_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=Annex60_1_0_0_Annex60_Controls_Continuous_Examples_SignalRanker -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 Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_03lsy.o Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_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=Annex60_1_0_0_Annex60_Controls_Continuous_Examples_SignalRanker -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 Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_04set.o Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_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=Annex60_1_0_0_Annex60_Controls_Continuous_Examples_SignalRanker -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 Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_05evt.o Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_05evt.c Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_05evt.c:116:78: error: use of undeclared identifier 'j' tmp19 = Less((&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j - 1],(&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j + ((modelica_integer) 1) - 1]); ^ Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_05evt.c:116:147: error: use of undeclared identifier 'j' tmp19 = Less((&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j - 1],(&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j + ((modelica_integer) 1) - 1]); ^ Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_05evt.c:157:80: error: use of undeclared identifier 'j' tmp25 = Less((&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j - 1],(&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j + ((modelica_integer) 1) - 1]); ^ Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_05evt.c:157:149: error: use of undeclared identifier 'j' tmp25 = Less((&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j - 1],(&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j + ((modelica_integer) 1) - 1]); ^ Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_05evt.c:167:105: error: use of undeclared identifier 'j' data->simulationInfo->relations[0] = ((&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j - 1] < (&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j + ((modelica_integer) 1) - 1]); ^ Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_05evt.c:167:176: error: use of undeclared identifier 'j' data->simulationInfo->relations[0] = ((&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j - 1] < (&data->localData[0]->realVars[6] /* sigRan.y[1] variable */)[j + ((modelica_integer) 1) - 1]); ^ 6 errors generated. make: *** [: Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker_05evt.o] Error 1