Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001105/0.001105, allocations: 106.5 kB / 16.42 MB, free: 6.516 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.001074/0.001074, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.126/1.126, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001815/0.001815, allocations: 290.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8098/0.8098, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.215e-05, allocations: 4.531 kB / 0.682 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.001849/0.001869, allocations: 1.443 MB / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005944/0.002474, allocations: 383.5 kB / 0.6838 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.00251, allocations: 0 / 0.6838 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.002537, allocations: 0 / 0.6838 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.184e-05/0.002583, allocations: 11.92 kB / 0.6838 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.002953, allocations: 111.7 kB / 0.6839 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.179e-05/0.003022, allocations: 23.92 kB / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.614e-05/0.003104, allocations: 15.92 kB / 0.684 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.003139, allocations: 11.94 kB / 0.684 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.003179, allocations: 11.92 kB / 0.684 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.003195, allocations: 4 kB / 0.684 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.003496, allocations: 279.7 kB / 0.6843 GB, free: 4.754 MB / 494.1 MB Notification: Performance of combineBinaries: time 4.649e-05/0.00355, allocations: 35.58 kB / 0.6843 GB, free: 4.719 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.827e-05/0.003573, allocations: 35.55 kB / 0.6843 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.285e-06/0.003586, allocations: 0 / 0.6843 GB, free: 4.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.141e-05/0.003601, allocations: 4 kB / 0.6843 GB, free: 4.68 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0002667/0.003872, allocations: 244.5 kB / 0.6846 GB, free: 4.34 MB / 494.1 MB Notification: Performance of FunctionAlias: time 4.731e-05/0.003925, allocations: 19.92 kB / 0.6846 GB, free: 4.32 MB / 494.1 MB Notification: Performance of Early Inline: time 8.443e-05/0.004014, allocations: 96.34 kB / 0.6847 GB, free: 4.199 MB / 494.1 MB Notification: Performance of simplify1: time 1.372e-05/0.004034, allocations: 3.984 kB / 0.6847 GB, free: 4.195 MB / 494.1 MB Notification: Performance of Alias: time 0.0002408/0.004278, allocations: 141.1 kB / 0.6848 GB, free: 4.004 MB / 494.1 MB Notification: Performance of simplify2: time 7.053e-06/0.004294, allocations: 3.984 kB / 0.6848 GB, free: 4 MB / 494.1 MB Notification: Performance of Events: time 5.678e-05/0.004355, allocations: 27.97 kB / 0.6848 GB, free: 3.973 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001348/0.004496, allocations: 56.03 kB / 0.6849 GB, free: 3.902 MB / 494.1 MB Notification: Performance of Partitioning: time 4.207e-05/0.004544, allocations: 24.12 kB / 0.6849 GB, free: 3.871 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001235/0.004673, allocations: 92.06 kB / 0.685 GB, free: 3.773 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 7.57e-05/0.004755, allocations: 96.39 kB / 0.6851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of Inline: time 0.0001184/0.004879, allocations: 140.7 kB / 0.6852 GB, free: 3.48 MB / 494.1 MB Notification: Performance of Partitioning: time 1.253e-05/0.004897, allocations: 12.12 kB / 0.6852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of Cleanup: time 1.144e-05/0.004913, allocations: 11.92 kB / 0.6853 GB, free: 3.449 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001191/0.005036, allocations: 80.23 kB / 0.6853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of Tearing: time 4.869e-06/0.005049, allocations: 144 / 0.6853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of Initialization: time 1.543e-06/0.005054, allocations: 4 kB / 0.6853 GB, free: 3.359 MB / 494.1 MB Notification: Performance of Tearing: time 1.854e-06/0.00506, allocations: 3.984 kB / 0.6853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of Categorize: time 7.434e-06/0.005071, allocations: 3.938 kB / 0.6853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of Solve: time 3.772e-05/0.005112, allocations: 11.98 kB / 0.6854 GB, free: 3.34 MB / 494.1 MB Notification: Performance of Jacobian: time 2.325e-06/0.005121, allocations: 7.938 kB / 0.6854 GB, free: 3.332 MB / 494.1 MB 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.757e-05/0.005152, allocations: 9.938 kB / 0.6854 GB, free: 3.332 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006183/0.005775, allocations: 0.883 MB / 0.6862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of Templates: time 0.002774/0.008559, allocations: 1.191 MB / 0.6874 GB, free: 1.238 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower_functions.c BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower_functions.o] Error 1