Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 105.4 kB / 16.42 MB, free: 6.043 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.001471/0.001471, allocations: 195.2 kB / 17.36 MB, free: 5.598 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.28/1.28, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.4337/0.4337, allocations: 95.47 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.097e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00209/0.002119, allocations: 1.409 MB / 0.5056 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005745/0.002707, allocations: 351.3 kB / 0.5059 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.002751, allocations: 0 / 0.5059 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.00278, allocations: 4 kB / 0.5059 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.997e-05/0.00283, allocations: 3.938 kB / 0.5059 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.003205, allocations: 115.5 kB / 0.506 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.292e-05/0.003277, allocations: 27.92 kB / 0.5061 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.329e-05/0.003366, allocations: 11.98 kB / 0.5061 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.003404, allocations: 15.92 kB / 0.5061 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.716e-05/0.003446, allocations: 8 kB / 0.5061 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.003462, allocations: 0 / 0.5061 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.003735, allocations: 239.7 kB / 0.5063 GB, free: 9.73 MB / 398.1 MB Notification: Performance of combineBinaries: time 5.408e-05/0.003796, allocations: 47.42 kB / 0.5064 GB, free: 9.684 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 1.323e-05/0.003814, allocations: 23.56 kB / 0.5064 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.114e-05/0.00383, allocations: 8 kB / 0.5064 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.085e-05/0.003845, allocations: 3.938 kB / 0.5064 GB, free: 9.648 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0002789/0.004128, allocations: 240.5 kB / 0.5066 GB, free: 9.312 MB / 398.1 MB Notification: Performance of FunctionAlias: time 4.154e-05/0.004176, allocations: 19.97 kB / 0.5067 GB, free: 9.293 MB / 398.1 MB Notification: Performance of Early Inline: time 8.537e-05/0.004267, allocations: 96.28 kB / 0.5068 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simplify1: time 1.33e-05/0.004286, allocations: 4 kB / 0.5068 GB, free: 9.168 MB / 398.1 MB Notification: Performance of Alias: time 0.0002232/0.004513, allocations: 136.8 kB / 0.5069 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simplify2: time 8.737e-06/0.00453, allocations: 12.36 kB / 0.5069 GB, free: 8.969 MB / 398.1 MB Notification: Performance of Events: time 5.68e-05/0.004592, allocations: 23.92 kB / 0.5069 GB, free: 8.945 MB / 398.1 MB Notification: Performance of Detect States: time 6.569e-05/0.004664, allocations: 44.12 kB / 0.507 GB, free: 8.887 MB / 398.1 MB Notification: Performance of Partitioning: time 4.521e-05/0.004716, allocations: 32.11 kB / 0.507 GB, free: 8.848 MB / 398.1 MB Notification: Performance of Causalize: time 0.0001312/0.004852, allocations: 128 kB / 0.5071 GB, free: 8.715 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 8.372e-05/0.004944, allocations: 104.4 kB / 0.5072 GB, free: 8.586 MB / 398.1 MB Notification: Performance of Inline: time 0.0001168/0.005066, allocations: 128.5 kB / 0.5073 GB, free: 8.426 MB / 398.1 MB Notification: Performance of Partitioning: time 1.146e-05/0.005083, allocations: 12.69 kB / 0.5073 GB, free: 8.406 MB / 398.1 MB Notification: Performance of Cleanup: time 1.164e-05/0.005099, allocations: 11.97 kB / 0.5074 GB, free: 8.395 MB / 398.1 MB Notification: Performance of Causalize: time 0.0001409/0.005244, allocations: 151.9 kB / 0.5075 GB, free: 8.238 MB / 398.1 MB Notification: Performance of Tearing: time 4.639e-06/0.005256, allocations: 0 / 0.5075 GB, free: 8.238 MB / 398.1 MB Notification: Performance of Initialization: time 2.61e-07/0.005261, allocations: 0 / 0.5075 GB, free: 8.238 MB / 398.1 MB Notification: Performance of Tearing: time 6.91e-07/0.005265, allocations: 0 / 0.5075 GB, free: 8.238 MB / 398.1 MB Notification: Performance of Categorize: time 1.308e-05/0.005282, allocations: 4 kB / 0.5075 GB, free: 8.234 MB / 398.1 MB Notification: Performance of Solve: time 3.314e-05/0.005319, allocations: 8.062 kB / 0.5075 GB, free: 8.227 MB / 398.1 MB Notification: Performance of Jacobian: time 3.637e-06/0.005327, allocations: 3.938 kB / 0.5075 GB, free: 8.223 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: .................... 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: ........... 4 (scalar:4, array:0, 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: ........... 4 (scalar:4, array:0, 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: Performance of backend: time 3.236e-05/0.005364, allocations: 24.52 kB / 0.5075 GB, free: 8.203 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006217/0.00599, allocations: 0.8854 MB / 0.5084 GB, free: 7.297 MB / 398.1 MB Notification: Performance of Templates: time 0.002875/0.008877, allocations: 1.12 MB / 0.5095 GB, free: 6.18 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.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_Utilities_Math_Examples_RegNonZeroPower -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.Utilities.Math.Examples.RegNonZeroPower.o Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.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_Utilities_Math_Examples_RegNonZeroPower -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.Utilities.Math.Examples.RegNonZeroPower_functions.o Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.c Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.c:302:55: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ 1 error generated. make: *** [: Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.o] Error 1