Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 107.3 kB / 16.42 MB, free: 6.523 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.001725/0.001725, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.552/1.552, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002191/0.002191, allocations: 288.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.118e-05/4.119e-05, allocations: 4.672 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002643/0.002697, allocations: 0.5763 MB / 0.6826 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.003604, allocations: 334.6 kB / 0.683 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.003643, allocations: 0 / 0.683 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.003666, allocations: 0 / 0.683 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.386e-06/0.003681, allocations: 4 kB / 0.683 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007613/0.004477, allocations: 103.7 kB / 0.6831 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.184e-05/0.00456, allocations: 4 kB / 0.6831 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.004638, allocations: 3.984 kB / 0.6831 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.004668, allocations: 3.938 kB / 0.6831 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.222e-05/0.004706, allocations: 0 / 0.6831 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.00473, allocations: 0 / 0.6831 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.005259, allocations: 275.7 kB / 0.6833 GB, free: 5.711 MB / 494.1 MB Notification: Performance of combineBinaries: time 3.926e-05/0.005311, allocations: 7.984 kB / 0.6833 GB, free: 5.703 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 8.626e-06/0.005325, allocations: 4 kB / 0.6833 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.005349, allocations: 3.938 kB / 0.6833 GB, free: 5.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.388e-05/0.005367, allocations: 0 / 0.6833 GB, free: 5.695 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.0003726/0.005745, allocations: 157.3 kB / 0.6835 GB, free: 5.441 MB / 494.1 MB Notification: Performance of FunctionAlias: time 7.875e-05/0.005831, allocations: 11.89 kB / 0.6835 GB, free: 5.43 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001004/0.005939, allocations: 48.36 kB / 0.6836 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simplify1: time 8.846e-06/0.005954, allocations: 4 kB / 0.6836 GB, free: 5.352 MB / 494.1 MB Notification: Performance of Alias: time 0.0003026/0.006262, allocations: 84.88 kB / 0.6836 GB, free: 5.223 MB / 494.1 MB Notification: Performance of simplify2: time 4.067e-06/0.006276, allocations: 0 / 0.6836 GB, free: 5.223 MB / 494.1 MB Notification: Performance of Events: time 1.337e-05/0.006297, allocations: 3.938 kB / 0.6836 GB, free: 5.219 MB / 494.1 MB Notification: Performance of Detect States: time 6.095e-05/0.006363, allocations: 24.25 kB / 0.6837 GB, free: 5.18 MB / 494.1 MB Notification: Performance of Partitioning: time 6.33e-05/0.006433, allocations: 16.11 kB / 0.6837 GB, free: 5.156 MB / 494.1 MB Notification: Performance of Causalize: time 7.23e-05/0.006513, allocations: 28.05 kB / 0.6837 GB, free: 5.121 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 5.089e-05/0.006573, allocations: 44.61 kB / 0.6837 GB, free: 5.051 MB / 494.1 MB Notification: Performance of Inline: time 6.778e-05/0.006647, allocations: 60.42 kB / 0.6838 GB, free: 4.957 MB / 494.1 MB Notification: Performance of Partitioning: time 2.335e-05/0.006676, allocations: 8.125 kB / 0.6838 GB, free: 4.941 MB / 494.1 MB Notification: Performance of Cleanup: time 1.091e-05/0.006692, allocations: 7.984 kB / 0.6838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of Causalize: time 7.221e-05/0.006769, allocations: 36.11 kB / 0.6839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of Tearing: time 1.156e-05/0.00679, allocations: 0 / 0.6839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of Initialization: time 2.103e-06/0.006797, allocations: 3.938 kB / 0.6839 GB, free: 4.887 MB / 494.1 MB Notification: Performance of Tearing: time 2.184e-06/0.006803, allocations: 3.938 kB / 0.6839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of Categorize: time 1.011e-05/0.006818, allocations: 0 / 0.6839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of Solve: time 4.315e-05/0.006866, allocations: 4 kB / 0.6839 GB, free: 4.879 MB / 494.1 MB Notification: Performance of Jacobian: time 3.848e-06/0.006875, allocations: 0 / 0.6839 GB, free: 4.879 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * 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: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, 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: ........... 1 (scalar:1, 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 4.847e-05/0.006928, allocations: 6.328 kB / 0.6839 GB, free: 4.879 MB / 494.1 MB Notification: Performance of SimCode: time 0.001045/0.007982, allocations: 0.8492 MB / 0.6847 GB, free: 4.008 MB / 494.1 MB Notification: Performance of Templates: time 0.004565/0.01256, allocations: 1.035 MB / 0.6857 GB, free: 2.973 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.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=BuildingSystems_BuildingSystems_Utilities_Math_Functions_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 BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.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=BuildingSystems_BuildingSystems_Utilities_Math_Functions_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 BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Functions.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: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower_functions.o] Error 1