Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [/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.68e-05/2.681e-05, allocations: 5.172 kB / 0.5923 GB, free: 18.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002055/0.002092, allocations: 1.515 MB / 0.5937 GB, free: 17.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006488/0.002752, allocations: 499.8 kB / 0.5942 GB, free: 16.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.002813, allocations: 0 / 0.5942 GB, free: 16.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.235e-05/0.002914, allocations: 14.28 kB / 0.5942 GB, free: 16.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.925e-05/0.002959, allocations: 11.86 kB / 0.5942 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.003154, allocations: 35.89 kB / 0.5943 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.0033, allocations: 90.14 kB / 0.5944 GB, free: 16.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.00341, allocations: 32.09 kB / 0.5944 GB, free: 16.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.003513, allocations: 35.84 kB / 0.5944 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.003586, allocations: 39.84 kB / 0.5945 GB, free: 16.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.003613, allocations: 8 kB / 0.5945 GB, free: 16.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.00363, allocations: 4 kB / 0.5945 GB, free: 16.64 MB / 446.1 MB Notification: Performance of combineBinaries: time 8.713e-05/0.003721, allocations: 114.7 kB / 0.5946 GB, free: 16.53 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.083e-05/0.003746, allocations: 67.03 kB / 0.5946 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.003778, allocations: 11.94 kB / 0.5947 GB, free: 16.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.103e-05/0.003793, allocations: 4 kB / 0.5947 GB, free: 16.45 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: 10 (10) * Number of variables: 10 (8) Notification: Performance of Bindings: time 0.0003603/0.004157, allocations: 435.5 kB / 0.5951 GB, free: 15.92 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.313e-05/0.004236, allocations: 39.86 kB / 0.5951 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001559/0.004398, allocations: 228.2 kB / 0.5953 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simplify1: time 1.696e-05/0.00442, allocations: 15.97 kB / 0.5953 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Alias: time 0.0002238/0.004649, allocations: 188.7 kB / 0.5955 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simplify2: time 1.312e-05/0.00467, allocations: 11.98 kB / 0.5955 GB, free: 15.38 MB / 446.1 MB Notification: Performance of Events: time 9.183e-05/0.004766, allocations: 67.81 kB / 0.5956 GB, free: 15.31 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001259/0.004899, allocations: 122.6 kB / 0.5957 GB, free: 15.18 MB / 446.1 MB Notification: Performance of Partitioning: time 7.033e-05/0.004976, allocations: 74.22 kB / 0.5958 GB, free: 15.1 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002952/0.005277, allocations: 386.6 kB / 0.5962 GB, free: 14.72 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001506/0.005435, allocations: 260.2 kB / 0.5964 GB, free: 14.44 MB / 446.1 MB Notification: Performance of Inline: time 0.0002413/0.005682, allocations: 364.2 kB / 0.5968 GB, free: 14.05 MB / 446.1 MB Notification: Performance of Partitioning: time 1.411e-05/0.005704, allocations: 20.12 kB / 0.5968 GB, free: 14.02 MB / 446.1 MB Notification: Performance of Cleanup: time 1.739e-05/0.005726, allocations: 15.97 kB / 0.5968 GB, free: 14 MB / 446.1 MB Notification: Performance of Causalize: time 0.0003392/0.006071, allocations: 492.3 kB / 0.5973 GB, free: 13.52 MB / 446.1 MB Notification: Performance of Tearing: time 4.328e-06/0.006085, allocations: 144 / 0.5973 GB, free: 13.52 MB / 446.1 MB Notification: Performance of Initialization: time 2.9e-07/0.00609, allocations: 0 / 0.5973 GB, free: 13.52 MB / 446.1 MB Notification: Performance of Tearing: time 1.944e-06/0.006096, allocations: 7.984 kB / 0.5973 GB, free: 13.51 MB / 446.1 MB Notification: Performance of Categorize: time 5.801e-06/0.006106, allocations: 4 kB / 0.5973 GB, free: 13.51 MB / 446.1 MB Notification: Performance of Solve: time 6.658e-05/0.006176, allocations: 43.91 kB / 0.5973 GB, free: 13.46 MB / 446.1 MB Notification: Performance of Jacobian: time 2.335e-06/0.006185, allocations: 0.75 kB / 0.5973 GB, free: 13.46 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) {act1.count, act1.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {reqCou.nInc, $SEV_3, $SEV_2, $SEV_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: ........... 11 (scalar:11, 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: ........... 14 (scalar:14, 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.962e-05/0.006219, allocations: 23.19 kB / 0.5973 GB, free: 13.45 MB / 446.1 MB Notification: Performance of SimCode: time 0.0003652/0.006589, allocations: 0.9153 MB / 0.5982 GB, free: 12.5 MB / 446.1 MB Notification: Performance of Templates: time 0.002521/0.009119, allocations: 0.9511 MB / 0.5992 GB, free: 11.59 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter -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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.o Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter -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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_functions.o Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_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_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter -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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_records.o Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_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_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter -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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_01exo.o Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_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_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter -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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_02nls.o Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_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_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter -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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_03lsy.o Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_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_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter -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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_04set.o Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_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_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter -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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_05evt.o Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_05evt.c Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_05evt.c:99:84: error: use of undeclared identifier 'i' tmp10 = Greater((&data->localData[0]->realVars[0] /* reqCou.uAct[1] variable */)[i - 1],(data->simulationInfo->realParameter[0] /* reqCou.uTri PARAM */)); ^ Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_05evt.c:140:86: error: use of undeclared identifier 'i' tmp16 = Greater((&data->localData[0]->realVars[0] /* reqCou.uAct[1] variable */)[i - 1],(data->simulationInfo->realParameter[0] /* reqCou.uTri PARAM */)); ^ Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_05evt.c:150:108: error: use of undeclared identifier 'i' data->simulationInfo->relations[0] = ((&data->localData[0]->realVars[0] /* reqCou.uAct[1] variable */)[i - 1] > (data->simulationInfo->realParameter[0] /* reqCou.uTri PARAM */)); ^ 3 errors generated. make: *** [: Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_05evt.o] Error 1