Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_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.001726/0.001726, allocations: 107.8 kB / 16.42 MB, free: 6.016 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.001783/0.001783, allocations: 185.2 kB / 17.35 MB, free: 5.605 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.121/1.121, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.05/2.05, allocations: 437 MB / 0.7111 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.064e-05, allocations: 4.25 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001796/0.001814, allocations: 1.451 MB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005666/0.002391, allocations: 392.9 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.002425, allocations: 0 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.002451, allocations: 0 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.002492, allocations: 7.938 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.002863, allocations: 116.2 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.002926, allocations: 27.86 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.785e-05/0.002999, allocations: 7.984 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.679e-05/0.003031, allocations: 11.98 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.102e-05/0.003067, allocations: 15.92 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.003082, allocations: 4 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.00337, allocations: 275.7 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of combineBinaries: time 4.388e-05/0.003421, allocations: 39.58 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 1.227e-05/0.003437, allocations: 31.5 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.208e-05/0.003454, allocations: 0 / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.033e-05/0.00347, allocations: 7.938 kB / 1.021 GB, free: 7.098 MB / 0.795 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.0002584/0.003732, allocations: 244.6 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of FunctionAlias: time 4.036e-05/0.003778, allocations: 16.89 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of Early Inline: time 8.301e-05/0.003867, allocations: 100.3 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of simplify1: time 1.2e-05/0.003884, allocations: 3.984 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of Alias: time 0.0002243/0.004112, allocations: 133.2 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of simplify2: time 6.823e-06/0.004127, allocations: 7.922 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of Detect States: time 4.427e-05/0.004175, allocations: 35.02 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of Events: time 5.407e-05/0.004236, allocations: 27.92 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of Partitioning: time 4.379e-05/0.004286, allocations: 32.09 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001061/0.004397, allocations: 84.09 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 7.768e-05/0.004482, allocations: 112.3 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of Inline: time 0.000105/0.004592, allocations: 140.7 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of Partitioning: time 1.177e-05/0.004609, allocations: 16.06 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of Cleanup: time 1.116e-05/0.004624, allocations: 7.984 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001093/0.004737, allocations: 88.06 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of Tearing: time 6.592e-06/0.004753, allocations: 3.938 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of Initialization: time 2.91e-07/0.004757, allocations: 0 / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of Tearing: time 2.415e-06/0.004764, allocations: 3.938 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of Categorize: time 5.15e-06/0.004773, allocations: 4 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of Solve: time 3.248e-05/0.004809, allocations: 11.98 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of Jacobian: time 2.164e-06/0.004818, allocations: 4 kB / 1.022 GB, free: 5.758 MB / 0.795 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 2.392e-05/0.004845, allocations: 22.58 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of SimCode: time 0.0005717/0.005421, allocations: 0.8837 MB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of Templates: time 0.002753/0.008183, allocations: 1.171 MB / 1.024 GB, free: 3.676 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.o Buildings_10_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_10_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_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.o Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.c Buildings_10_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_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.o] Error 1