Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 2.591e-05/2.592e-05, allocations: 4.953 kB / 0.5922 GB, free: 18.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00246/0.002496, allocations: 1.561 MB / 0.5938 GB, free: 17.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.003349, allocations: 0.5089 MB / 0.5943 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.003441, allocations: 0.9688 kB / 0.5943 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.00356, allocations: 9.188 kB / 0.5943 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.003628, allocations: 20.3 kB / 0.5943 GB, free: 16.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.003945, allocations: 45.28 kB / 0.5943 GB, free: 16.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.00417, allocations: 130.4 kB / 0.5944 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.004312, allocations: 28.16 kB / 0.5945 GB, free: 16.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.004503, allocations: 55.83 kB / 0.5945 GB, free: 16.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.004634, allocations: 51.75 kB / 0.5946 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.004674, allocations: 8 kB / 0.5946 GB, free: 16.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.536e-05/0.004704, allocations: 8 kB / 0.5946 GB, free: 16.48 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001358/0.004846, allocations: 150.5 kB / 0.5947 GB, free: 16.34 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.078e-05/0.004893, allocations: 82.78 kB / 0.5948 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.004953, allocations: 15.94 kB / 0.5948 GB, free: 16.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.395e-05/0.004982, allocations: 0 / 0.5948 GB, free: 16.24 MB / 446.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.0005971/0.005584, allocations: 0.5144 MB / 0.5953 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.000144/0.005735, allocations: 60.97 kB / 0.5954 GB, free: 15.56 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0002644/0.006006, allocations: 312.2 kB / 0.5957 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simplify1: time 3.698e-05/0.006051, allocations: 23.91 kB / 0.5957 GB, free: 15.21 MB / 446.1 MB Notification: Performance of Alias: time 0.0001136/0.006169, allocations: 101.7 kB / 0.5958 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simplify2: time 2.454e-05/0.0062, allocations: 19.97 kB / 0.5958 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Events: time 0.0001745/0.006379, allocations: 79.86 kB / 0.5959 GB, free: 14.97 MB / 446.1 MB Notification: Performance of Detect States: time 0.0002551/0.006643, allocations: 132.1 kB / 0.596 GB, free: 14.83 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001742/0.006827, allocations: 108.1 kB / 0.5961 GB, free: 14.71 MB / 446.1 MB Notification: Performance of Causalize: time 0.0007417/0.007574, allocations: 0.5318 MB / 0.5967 GB, free: 14.18 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002804/0.007866, allocations: 348.2 kB / 0.597 GB, free: 13.82 MB / 446.1 MB Notification: Performance of Inline: time 0.0004738/0.008349, allocations: 0.4922 MB / 0.5975 GB, free: 13.29 MB / 446.1 MB Notification: Performance of Partitioning: time 2.885e-05/0.008392, allocations: 24.12 kB / 0.5975 GB, free: 13.26 MB / 446.1 MB Notification: Performance of Cleanup: time 3.916e-05/0.008436, allocations: 23.97 kB / 0.5975 GB, free: 13.23 MB / 446.1 MB Notification: Performance of Causalize: time 0.0005643/0.009006, allocations: 0.6317 MB / 0.5981 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Tearing: time 8.726e-06/0.009025, allocations: 0 / 0.5981 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Initialization: time 6.81e-07/0.009031, allocations: 0 / 0.5981 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Tearing: time 2.154e-06/0.009037, allocations: 128 / 0.5981 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Categorize: time 9.548e-06/0.009051, allocations: 4 kB / 0.5981 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Solve: time 0.0001076/0.009163, allocations: 55.89 kB / 0.5982 GB, free: 12.55 MB / 446.1 MB Notification: Performance of Jacobian: time 3.937e-06/0.009173, allocations: 0 / 0.5982 GB, free: 12.55 MB / 446.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 4.021e-05/0.009219, allocations: 30.33 kB / 0.5982 GB, free: 12.52 MB / 446.1 MB Notification: Performance of SimCode: time 0.0006013/0.009825, allocations: 0.9668 MB / 0.5992 GB, free: 11.52 MB / 446.1 MB Notification: Performance of Templates: time 0.003772/0.01361, allocations: 1.224 MB / 0.6004 GB, free: 10.3 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile make -j1 -f Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.o Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker_functions.o Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker_records.o Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker_01exo.o Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker_02nls.o Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker_03lsy.o Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker_04set.o Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker_05evt.o Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker_05evt.c Buildings_3.0.0_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_3.0.0_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_3.0.0_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_3.0.0_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_3.0.0_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_3.0.0_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_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker_05evt.o] Error 1