Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001086/0.001086, allocations: 107.2 kB / 16.38 MB, free: 6.43 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.001081/0.001081, allocations: 186.5 kB / 17.31 MB, free: 5.777 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.118/1.118, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.52/1.52, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.802e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002202/0.002232, allocations: 1.437 MB / 0.6743 GB, free: 4.484 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005495/0.002793, allocations: 387.5 kB / 0.6746 GB, free: 4.102 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.002824, allocations: 0 / 0.6746 GB, free: 4.102 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.00285, allocations: 0 / 0.6746 GB, free: 4.102 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.174e-05/0.002892, allocations: 3.938 kB / 0.6746 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.0032, allocations: 122.7 kB / 0.6747 GB, free: 3.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.344e-05/0.003264, allocations: 31.92 kB / 0.6748 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.003318, allocations: 8 kB / 0.6748 GB, free: 3.941 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.003346, allocations: 11.92 kB / 0.6748 GB, free: 3.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.185e-05/0.003372, allocations: 4 kB / 0.6748 GB, free: 3.926 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.003385, allocations: 7.938 kB / 0.6748 GB, free: 3.918 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.00365, allocations: 279.6 kB / 0.6751 GB, free: 3.645 MB / 0.545 GB Notification: Performance of combineBinaries: time 4.172e-05/0.0037, allocations: 43.52 kB / 0.6751 GB, free: 3.602 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.245e-05/0.003718, allocations: 23.56 kB / 0.6751 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.102e-05/0.003733, allocations: 8 kB / 0.6751 GB, free: 3.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.954e-06/0.003747, allocations: 4 kB / 0.6752 GB, free: 3.566 MB / 0.545 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.0002519/0.004003, allocations: 244.5 kB / 0.6754 GB, free: 3.227 MB / 0.545 GB Notification: Performance of FunctionAlias: time 3.698e-05/0.004045, allocations: 15.94 kB / 0.6754 GB, free: 3.211 MB / 0.545 GB Notification: Performance of Early Inline: time 7.868e-05/0.004129, allocations: 96.31 kB / 0.6755 GB, free: 3.09 MB / 0.545 GB Notification: Performance of simplify1: time 1.052e-05/0.004147, allocations: 8 kB / 0.6755 GB, free: 3.082 MB / 0.545 GB Notification: Performance of Alias: time 0.0001825/0.004333, allocations: 129.2 kB / 0.6756 GB, free: 2.902 MB / 0.545 GB Notification: Performance of simplify2: time 6.352e-06/0.004347, allocations: 3.984 kB / 0.6756 GB, free: 2.898 MB / 0.545 GB Notification: Performance of Events: time 4.821e-05/0.004399, allocations: 35.91 kB / 0.6757 GB, free: 2.863 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001276/0.004533, allocations: 51.12 kB / 0.6757 GB, free: 2.801 MB / 0.545 GB Notification: Performance of Partitioning: time 3.616e-05/0.004576, allocations: 24.12 kB / 0.6757 GB, free: 2.77 MB / 0.545 GB Notification: Performance of Causalize: time 0.0001208/0.004702, allocations: 132.2 kB / 0.6759 GB, free: 2.633 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 7.734e-05/0.004786, allocations: 96.39 kB / 0.6759 GB, free: 2.512 MB / 0.545 GB Notification: Performance of Inline: time 0.0001069/0.004898, allocations: 136.5 kB / 0.6761 GB, free: 2.344 MB / 0.545 GB Notification: Performance of Partitioning: time 1.07e-05/0.004915, allocations: 12.12 kB / 0.6761 GB, free: 2.324 MB / 0.545 GB Notification: Performance of Cleanup: time 7.444e-06/0.004926, allocations: 7.938 kB / 0.6761 GB, free: 2.316 MB / 0.545 GB Notification: Performance of Causalize: time 0.0001308/0.005061, allocations: 148.6 kB / 0.6762 GB, free: 2.164 MB / 0.545 GB Notification: Performance of Tearing: time 3.226e-06/0.005071, allocations: 0 / 0.6762 GB, free: 2.164 MB / 0.545 GB Notification: Performance of Initialization: time 3.01e-07/0.005076, allocations: 0 / 0.6762 GB, free: 2.164 MB / 0.545 GB Notification: Performance of Tearing: time 7.11e-07/0.00508, allocations: 0 / 0.6762 GB, free: 2.164 MB / 0.545 GB Notification: Performance of Categorize: time 4.839e-06/0.00509, allocations: 4.062 kB / 0.6762 GB, free: 2.16 MB / 0.545 GB Notification: Performance of Solve: time 3.043e-05/0.005124, allocations: 15.92 kB / 0.6763 GB, free: 2.145 MB / 0.545 GB Notification: Performance of Jacobian: time 1.813e-06/0.005132, allocations: 3.938 kB / 0.6763 GB, free: 2.141 MB / 0.545 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 3.053e-05/0.005166, allocations: 22.78 kB / 0.6763 GB, free: 2.125 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005347/0.005705, allocations: 0.8921 MB / 0.6772 GB, free: 1.215 MB / 0.545 GB Notification: Performance of Templates: time 0.002481/0.008197, allocations: 1.167 MB / 0.6783 GB, free: 48 kB / 0.545 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_8_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_8_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_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.o Buildings_8_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_8_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_8_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.o Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.c Buildings_8_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_8_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.o] Error 1