Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_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.001197/0.001197, allocations: 109.7 kB / 16.42 MB, free: 6.035 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.001214/0.001214, allocations: 186.1 kB / 17.36 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.282/2.282, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.355e-05, allocations: 4.391 kB / 1.055 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001998/0.002029, allocations: 1.446 MB / 1.056 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.002673, allocations: 398.6 kB / 1.056 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.002715, allocations: 0 / 1.056 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.002749, allocations: 3.938 kB / 1.056 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.002799, allocations: 3.938 kB / 1.056 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.003213, allocations: 108.4 kB / 1.057 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.003293, allocations: 35.86 kB / 1.057 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.003397, allocations: 11.98 kB / 1.057 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.533e-05/0.003439, allocations: 11.98 kB / 1.057 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.003485, allocations: 15.92 kB / 1.057 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.003501, allocations: 0 / 1.057 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.003813, allocations: 267.7 kB / 1.057 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of combineBinaries: time 5.211e-05/0.003872, allocations: 43.58 kB / 1.057 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.591e-05/0.003893, allocations: 27.56 kB / 1.057 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.08e-05/0.003907, allocations: 0 / 1.057 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.23e-05/0.003923, allocations: 3.938 kB / 1.057 GB, free: 5.414 MB / 0.8262 GB 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.0002956/0.004222, allocations: 252.6 kB / 1.057 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 4.326e-05/0.004271, allocations: 25.69 kB / 1.057 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of Early Inline: time 8.708e-05/0.004363, allocations: 88.39 kB / 1.057 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simplify1: time 1.672e-05/0.004385, allocations: 7.984 kB / 1.057 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002242/0.004613, allocations: 133.1 kB / 1.057 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simplify2: time 1.277e-05/0.004636, allocations: 11.98 kB / 1.057 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of Events: time 6.049e-05/0.004701, allocations: 23.92 kB / 1.057 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of Detect States: time 5.386e-05/0.004761, allocations: 38.38 kB / 1.057 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of Partitioning: time 4.411e-05/0.00481, allocations: 40.11 kB / 1.058 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001087/0.004924, allocations: 84.06 kB / 1.058 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 8.239e-05/0.005014, allocations: 100.3 kB / 1.058 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001154/0.005135, allocations: 144.7 kB / 1.058 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.267e-05/0.005153, allocations: 16.06 kB / 1.058 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of Cleanup: time 6.192e-06/0.005163, allocations: 0 / 1.058 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of Causalize: time 0.000114/0.005281, allocations: 96.05 kB / 1.058 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of Tearing: time 5.982e-06/0.005295, allocations: 0 / 1.058 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of Initialization: time 3.71e-07/0.005301, allocations: 3.938 kB / 1.058 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of Tearing: time 2.886e-06/0.005309, allocations: 7.938 kB / 1.058 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of Categorize: time 6.683e-06/0.005319, allocations: 4 kB / 1.058 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of Solve: time 3.163e-05/0.005355, allocations: 7.984 kB / 1.058 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.264e-06/0.005361, allocations: 0 / 1.058 GB, free: 4.066 MB / 0.8262 GB 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 2.458e-05/0.00539, allocations: 10.7 kB / 1.058 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0006276/0.006022, allocations: 0.8956 MB / 1.059 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of Templates: time 0.002849/0.008881, allocations: 1.177 MB / 1.06 GB, free: 1.965 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.o Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.c Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.o] Error 1