Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_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.001198/0.001198, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001233/0.001233, allocations: 189.9 kB / 17.36 MB, free: 5.75 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.312/2.312, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.862e-05, allocations: 5.594 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00121/0.001237, allocations: 0.5938 MB / 1.055 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005729/0.00182, allocations: 330.8 kB / 1.056 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.001844, allocations: 4 kB / 1.056 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.001863, allocations: 0 / 1.056 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.001872, allocations: 0 / 1.056 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.002282, allocations: 111.7 kB / 1.056 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.878e-05/0.002329, allocations: 0 / 1.056 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.00237, allocations: 4 kB / 1.056 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.198e-05/0.002386, allocations: 0 / 1.056 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.961e-05/0.002409, allocations: 0 / 1.056 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.226e-06/0.002423, allocations: 4 kB / 1.056 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.002743, allocations: 271.7 kB / 1.056 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of combineBinaries: time 2.578e-05/0.002776, allocations: 3.938 kB / 1.056 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.994e-06/0.002783, allocations: 0 / 1.056 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.658e-06/0.002799, allocations: 4 kB / 1.056 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.586e-06/0.002811, allocations: 0 / 1.056 GB, free: 6.391 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: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.000231/0.003045, allocations: 165.2 kB / 1.056 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 4.384e-05/0.003094, allocations: 11.89 kB / 1.056 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of Early Inline: time 5.737e-05/0.003157, allocations: 52.36 kB / 1.056 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simplify1: time 4.398e-06/0.003167, allocations: 0 / 1.056 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of Alias: time 0.0001935/0.003364, allocations: 76.73 kB / 1.056 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simplify2: time 2.154e-06/0.003376, allocations: 3.938 kB / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of Events: time 1.116e-05/0.003391, allocations: 4 kB / 1.056 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of Detect States: time 5.721e-05/0.003452, allocations: 28.19 kB / 1.056 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of Partitioning: time 3.123e-05/0.003489, allocations: 12.12 kB / 1.056 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of Causalize: time 4.685e-05/0.003542, allocations: 36.23 kB / 1.056 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 3.249e-05/0.003581, allocations: 44.36 kB / 1.056 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of Inline: time 4.929e-05/0.003635, allocations: 56.48 kB / 1.056 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of Partitioning: time 8.577e-06/0.003648, allocations: 8.125 kB / 1.056 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of Cleanup: time 5.64e-06/0.003658, allocations: 192 / 1.056 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of Causalize: time 5.07e-05/0.003716, allocations: 40.05 kB / 1.056 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of Tearing: time 9.178e-06/0.003732, allocations: 4 kB / 1.056 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of Initialization: time 4.01e-07/0.003736, allocations: 0 / 1.056 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of Tearing: time 9.32e-07/0.003741, allocations: 0 / 1.056 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of Categorize: time 4.779e-06/0.003749, allocations: 0 / 1.056 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of Solve: time 2.274e-05/0.003775, allocations: 0 / 1.056 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.687e-06/0.003784, allocations: 7.984 kB / 1.056 GB, free: 5.57 MB / 0.8262 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.462e-05/0.003812, allocations: 12.25 kB / 1.056 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005853/0.004402, allocations: 0.8451 MB / 1.057 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.002818/0.007229, allocations: 1.03 MB / 1.058 GB, free: 3.664 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_functions.o Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_functions.c Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_functions.o] Error 1