Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_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.001175/0.001175, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.001174/0.001174, allocations: 185.5 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.197/1.197, allocations: 222.9 MB / 241 MB, free: 15.14 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.953/1.953, allocations: 390.2 MB / 0.6654 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.254e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002582/0.002612, allocations: 1.453 MB / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006693/0.003292, allocations: 375.6 kB / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.003339, allocations: 4 kB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.003367, allocations: 3.938 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.003423, allocations: 3.938 kB / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.003835, allocations: 111.7 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.003921, allocations: 31.91 kB / 0.9534 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.55e-05/0.004012, allocations: 7.984 kB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.004056, allocations: 11.94 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.004095, allocations: 11.92 kB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.004113, allocations: 4 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.004422, allocations: 275.7 kB / 0.9537 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of combineBinaries: time 5.352e-05/0.004482, allocations: 35.58 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.809e-05/0.004505, allocations: 31.56 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.004525, allocations: 8 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.128e-05/0.004541, allocations: 0 / 0.9537 GB, free: 5.383 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.000379/0.004924, allocations: 252.5 kB / 0.954 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 4.494e-05/0.004975, allocations: 11.95 kB / 0.954 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0001048/0.005085, allocations: 100.3 kB / 0.9541 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of simplify1: time 1.424e-05/0.005105, allocations: 3.984 kB / 0.9541 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of Alias: time 0.000274/0.005383, allocations: 141.1 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simplify2: time 6.813e-06/0.005399, allocations: 3.984 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of Detect States: time 5.35e-05/0.005457, allocations: 29.81 kB / 0.9543 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of Events: time 6.51e-05/0.005527, allocations: 23.97 kB / 0.9543 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of Partitioning: time 5.276e-05/0.005586, allocations: 36.09 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001265/0.00572, allocations: 95.97 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 8.021e-05/0.005807, allocations: 100.6 kB / 0.9545 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001197/0.005933, allocations: 140.4 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.412e-05/0.005954, allocations: 16.11 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of Cleanup: time 9.528e-06/0.005969, allocations: 7.938 kB / 0.9547 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001272/0.0061, allocations: 100 kB / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of Tearing: time 9.408e-06/0.006118, allocations: 0 / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of Initialization: time 5.11e-07/0.006123, allocations: 0 / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of Tearing: time 2.765e-06/0.006129, allocations: 4 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of Categorize: time 6.882e-06/0.00614, allocations: 0 / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of Solve: time 3.382e-05/0.006177, allocations: 7.938 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.635e-06/0.006187, allocations: 4 kB / 0.9548 GB, free: 4.039 MB / 0.7325 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.218e-05/0.006222, allocations: 21.78 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0008373/0.007064, allocations: 0.9034 MB / 0.9557 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of Templates: time 0.003096/0.01017, allocations: 1.171 MB / 0.9568 GB, free: 1.93 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.o Buildings_9_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_9_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_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.o Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.c Buildings_9_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_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_functions.o] Error 1