Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 109.7 kB / 16.42 MB, free: 6.035 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.001107/0.001107, allocations: 186.1 kB / 17.36 MB, free: 5.621 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.171/1.171, allocations: 222.9 MB / 241 MB, free: 15.17 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.944/1.944, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.077e-05, allocations: 4.391 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001356/0.001385, allocations: 0.5806 MB / 0.9521 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002305/0.001627, allocations: 42.03 kB / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.001658, allocations: 7.938 kB / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.001686, allocations: 0 / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.853e-05/0.001719, allocations: 0 / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.001902, allocations: 11.98 kB / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.001986, allocations: 11.94 kB / 0.9521 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.002028, allocations: 7.984 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.288e-05/0.002057, allocations: 7.938 kB / 0.9522 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.761e-05/0.002088, allocations: 4 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.002103, allocations: 0 / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.887e-05/0.002176, allocations: 19.97 kB / 0.9522 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of combineBinaries: time 3.179e-05/0.002213, allocations: 4 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.687e-06/0.002221, allocations: 7.844 kB / 0.9522 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.228e-06/0.002234, allocations: 0 / 0.9522 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.125e-06/0.002246, allocations: 0 / 0.9522 GB, free: 6.957 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: 8 (2) * Number of variables: 8 (2) Notification: Performance of Bindings: time 0.0002479/0.0025, allocations: 169.2 kB / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 1.448e-05/0.00252, allocations: 7.938 kB / 0.9524 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of Early Inline: time 5.891e-05/0.002583, allocations: 52.36 kB / 0.9524 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of simplify1: time 2.114e-06/0.002592, allocations: 4 kB / 0.9524 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of Alias: time 5.458e-05/0.00265, allocations: 56.56 kB / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of simplify2: time 2.034e-06/0.002657, allocations: 3.984 kB / 0.9525 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of Detect States: time 4.386e-05/0.002704, allocations: 24.25 kB / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of Events: time 4.294e-05/0.002754, allocations: 7.984 kB / 0.9525 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of Partitioning: time 4.258e-05/0.002803, allocations: 24.12 kB / 0.9525 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002065/0.003015, allocations: 68.05 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 9.656e-05/0.003124, allocations: 56.36 kB / 0.9526 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of Inline: time 6.985e-05/0.0032, allocations: 84.41 kB / 0.9527 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.057e-05/0.003216, allocations: 8.125 kB / 0.9527 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of Cleanup: time 9.238e-06/0.00323, allocations: 8 kB / 0.9527 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001116/0.003347, allocations: 92.7 kB / 0.9528 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of Tearing: time 9.658e-06/0.003364, allocations: 4 kB / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of Initialization: time 3.11e-07/0.003369, allocations: 0 / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of Tearing: time 1.282e-06/0.003374, allocations: 0.5625 kB / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of Categorize: time 5.53e-06/0.003383, allocations: 0 / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of Solve: time 3.196e-05/0.003419, allocations: 8 kB / 0.9528 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of Jacobian: time 4.137e-06/0.003428, allocations: 3.938 kB / 0.9528 GB, free: 6.016 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:0, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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:0, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.978e-05/0.003461, allocations: 16.91 kB / 0.9529 GB, free: 6 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005318/0.003999, allocations: 0.8099 MB / 0.9536 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of Templates: time 0.002167/0.006176, allocations: 419.2 kB / 0.954 GB, free: 4.762 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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_TrapezoidalIntegration -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.TrapezoidalIntegration.o Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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_TrapezoidalIntegration -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.TrapezoidalIntegration_functions.o Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.c Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.c:26:53: 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.TrapezoidalIntegration_functions.o] Error 1