Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001097/0.001098, allocations: 105.3 kB / 16.42 MB, free: 6.516 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.001067/0.001067, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.347/1.347, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4328/0.4328, allocations: 95.48 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.424e-05, allocations: 10.16 kB / 0.5042 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002297/0.002329, allocations: 1.541 MB / 0.5057 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008019/0.003145, allocations: 0.5152 MB / 0.5062 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.003202, allocations: 0 / 0.5062 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.502e-05/0.003295, allocations: 11.86 kB / 0.5062 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.003354, allocations: 19.81 kB / 0.5062 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.00357, allocations: 43.92 kB / 0.5063 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.003763, allocations: 131.6 kB / 0.5064 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.003875, allocations: 16.23 kB / 0.5064 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.004001, allocations: 63.75 kB / 0.5065 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.256e-05/0.004092, allocations: 47.83 kB / 0.5065 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.004124, allocations: 8 kB / 0.5065 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.004147, allocations: 8 kB / 0.5065 GB, free: 9.508 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0001386/0.00429, allocations: 154.4 kB / 0.5067 GB, free: 9.355 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 3.916e-05/0.004335, allocations: 82.78 kB / 0.5068 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.004373, allocations: 15.94 kB / 0.5068 GB, free: 9.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.296e-05/0.004391, allocations: 0 / 0.5068 GB, free: 9.258 MB / 398.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.0005388/0.004934, allocations: 0.5222 MB / 0.5073 GB, free: 8.633 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0001104/0.00505, allocations: 72.89 kB / 0.5074 GB, free: 8.559 MB / 398.1 MB Notification: Performance of Early Inline: time 0.0002872/0.005345, allocations: 308.2 kB / 0.5076 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simplify1: time 2.711e-05/0.005379, allocations: 19.98 kB / 0.5077 GB, free: 8.211 MB / 398.1 MB Notification: Performance of Alias: time 0.0001035/0.005487, allocations: 97.61 kB / 0.5078 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simplify2: time 1.963e-05/0.005513, allocations: 19.97 kB / 0.5078 GB, free: 8.059 MB / 398.1 MB Notification: Performance of Events: time 0.0001349/0.005653, allocations: 82.86 kB / 0.5079 GB, free: 7.98 MB / 398.1 MB Notification: Performance of Detect States: time 0.0003423/0.006003, allocations: 148 kB / 0.508 GB, free: 7.82 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0001349/0.006149, allocations: 104.1 kB / 0.5081 GB, free: 7.711 MB / 398.1 MB Notification: Performance of Causalize: time 0.0006119/0.006767, allocations: 0.5193 MB / 0.5086 GB, free: 7.195 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003122/0.007089, allocations: 356.1 kB / 0.5089 GB, free: 6.82 MB / 398.1 MB Notification: Performance of Inline: time 0.0004535/0.007551, allocations: 0.4923 MB / 0.5094 GB, free: 6.293 MB / 398.1 MB Notification: Performance of Partitioning: time 3.426e-05/0.007594, allocations: 24.11 kB / 0.5094 GB, free: 6.262 MB / 398.1 MB Notification: Performance of Cleanup: time 3.07e-05/0.00763, allocations: 31.91 kB / 0.5095 GB, free: 6.23 MB / 398.1 MB Notification: Performance of Causalize: time 0.0005902/0.008225, allocations: 0.6191 MB / 0.5101 GB, free: 5.613 MB / 398.1 MB Notification: Performance of Tearing: time 6.091e-06/0.008241, allocations: 0 / 0.5101 GB, free: 5.613 MB / 398.1 MB Notification: Performance of Initialization: time 1.723e-06/0.008248, allocations: 0 / 0.5101 GB, free: 5.613 MB / 398.1 MB Notification: Performance of Tearing: time 1.052e-06/0.008253, allocations: 3.938 kB / 0.5101 GB, free: 5.609 MB / 398.1 MB Notification: Performance of Categorize: time 5.741e-06/0.008263, allocations: 0 / 0.5101 GB, free: 5.609 MB / 398.1 MB Notification: Performance of Solve: time 9.944e-05/0.008368, allocations: 48.47 kB / 0.5101 GB, free: 5.562 MB / 398.1 MB Notification: Performance of Jacobian: time 2.534e-06/0.008377, allocations: 80 / 0.5101 GB, free: 5.562 MB / 398.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 3.673e-05/0.008418, allocations: 25.53 kB / 0.5102 GB, free: 5.543 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006371/0.009061, allocations: 0.9904 MB / 0.5111 GB, free: 4.527 MB / 398.1 MB Notification: Performance of Templates: time 0.003233/0.0123, allocations: 1.221 MB / 0.5123 GB, free: 3.309 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.makefile make -j1 -f Buildings_1.6_Buildings.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=Buildings_1_6_Buildings_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 Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.o Buildings_1.6_Buildings.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=Buildings_1_6_Buildings_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 Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker_functions.o Buildings_1.6_Buildings.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=Buildings_1_6_Buildings_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 Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker_records.o Buildings_1.6_Buildings.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=Buildings_1_6_Buildings_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 Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker_01exo.o Buildings_1.6_Buildings.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=Buildings_1_6_Buildings_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 Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker_02nls.o Buildings_1.6_Buildings.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=Buildings_1_6_Buildings_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 Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker_03lsy.o Buildings_1.6_Buildings.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=Buildings_1_6_Buildings_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 Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker_04set.o Buildings_1.6_Buildings.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=Buildings_1_6_Buildings_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 Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker_05evt.o Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker_05evt.c Buildings_1.6_Buildings.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]); ^ Buildings_1.6_Buildings.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]); ^ Buildings_1.6_Buildings.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]); ^ Buildings_1.6_Buildings.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]); ^ Buildings_1.6_Buildings.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]); ^ Buildings_1.6_Buildings.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: *** [: Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker_05evt.o] Error 1