Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.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.00114/0.00114, allocations: 108.7 kB / 16.42 MB, free: 6.457 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.001161/0.001161, allocations: 188.2 kB / 17.36 MB, free: 5.73 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.18/1.18, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.966/1.966, allocations: 390.2 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.46e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001141/0.001164, allocations: 0.5806 MB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005278/0.001702, allocations: 328.9 kB / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.269e-05/0.001735, allocations: 4 kB / 0.9524 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.00175, allocations: 0 / 0.9524 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-06/0.001759, allocations: 3.938 kB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.002133, allocations: 115.6 kB / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.297e-05/0.002174, allocations: 0 / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.002214, allocations: 0 / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.221e-05/0.00223, allocations: 0 / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.811e-05/0.002254, allocations: 4 kB / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.002265, allocations: 0 / 0.9525 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.00256, allocations: 271.7 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of combineBinaries: time 1.984e-05/0.002587, allocations: 7.984 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.144e-06/0.002595, allocations: 4 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.745e-06/0.002607, allocations: 0 / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.284e-06/0.002617, allocations: 0 / 0.9528 GB, free: 6.316 MB / 0.7325 GB 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.0002153/0.002836, allocations: 169.2 kB / 0.9529 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 3.879e-05/0.00288, allocations: 11.88 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of Early Inline: time 5.85e-05/0.002944, allocations: 48.36 kB / 0.953 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of simplify1: time 7.534e-06/0.002957, allocations: 4 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of Alias: time 0.0001773/0.003138, allocations: 84.81 kB / 0.9531 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simplify2: time 1.834e-06/0.003148, allocations: 0 / 0.9531 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of Detect States: time 5.548e-05/0.003207, allocations: 28.23 kB / 0.9531 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of Events: time 7.644e-06/0.00322, allocations: 0 / 0.9531 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of Partitioning: time 2.773e-05/0.003252, allocations: 12.12 kB / 0.9531 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of Causalize: time 4.193e-05/0.003299, allocations: 24.11 kB / 0.9531 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 3.154e-05/0.003336, allocations: 44.56 kB / 0.9532 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of Inline: time 5.25e-05/0.003393, allocations: 60.44 kB / 0.9532 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.037e-05/0.00341, allocations: 12.12 kB / 0.9532 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of Cleanup: time 4.489e-06/0.003418, allocations: 3.938 kB / 0.9532 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of Causalize: time 4.847e-05/0.00347, allocations: 32.09 kB / 0.9533 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of Tearing: time 7.184e-06/0.003486, allocations: 4.188 kB / 0.9533 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of Initialization: time 2.81e-07/0.003489, allocations: 0 / 0.9533 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of Tearing: time 2.134e-06/0.003495, allocations: 0 / 0.9533 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of Categorize: time 4.809e-06/0.003503, allocations: 3.938 kB / 0.9533 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of Solve: time 1.955e-05/0.003527, allocations: 4 kB / 0.9533 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.255e-06/0.003534, allocations: 0 / 0.9533 GB, free: 5.5 MB / 0.7325 GB 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 2.451e-05/0.003561, allocations: 14.28 kB / 0.9533 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005382/0.004105, allocations: 0.8489 MB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of Templates: time 0.002592/0.006707, allocations: 1.04 MB / 0.9551 GB, free: 3.582 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.o Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_functions.o Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_functions.c Buildings_9_Buildings.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: *** [: Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_functions.o] Error 1