Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_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.001189/0.00119, 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.001216/0.001216, 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.279/2.279, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.339e-05, allocations: 3.969 kB / 1.055 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001233/0.001264, allocations: 0.5978 MB / 1.055 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002039/0.001478, allocations: 43.88 kB / 1.055 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.587e-05/0.001503, allocations: 0 / 1.055 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.001534, allocations: 4 kB / 1.055 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.979e-05/0.001568, allocations: 0 / 1.055 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.001742, allocations: 11.98 kB / 1.055 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.001824, allocations: 4 kB / 1.055 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.001862, allocations: 0 / 1.055 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.614e-05/0.001882, allocations: 4 kB / 1.055 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.01e-05/0.001917, allocations: 19.84 kB / 1.055 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.001932, allocations: 0 / 1.055 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-05/0.002006, allocations: 15.98 kB / 1.055 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of combineBinaries: time 3.482e-05/0.002048, allocations: 11.94 kB / 1.055 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.256e-06/0.002056, allocations: 3.906 kB / 1.055 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.368e-06/0.002069, allocations: 0 / 1.055 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.494e-06/0.002082, allocations: 4 kB / 1.055 GB, free: 7.066 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: 8 (2) * Number of variables: 8 (2) Notification: Performance of Bindings: time 0.0002838/0.002369, allocations: 165.2 kB / 1.056 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.185e-05/0.002387, allocations: 3.953 kB / 1.056 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of Early Inline: time 6.574e-05/0.002456, allocations: 56.36 kB / 1.056 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of simplify1: time 2.124e-06/0.002464, allocations: 0 / 1.056 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of Alias: time 5.909e-05/0.002526, allocations: 48.62 kB / 1.056 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simplify2: time 2.214e-06/0.002533, allocations: 4 kB / 1.056 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of Events: time 4.45e-05/0.002582, allocations: 11.92 kB / 1.056 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of Detect States: time 5.941e-05/0.002647, allocations: 36.12 kB / 1.056 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of Partitioning: time 4.371e-05/0.002697, allocations: 16.12 kB / 1.056 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001952/0.002897, allocations: 76.08 kB / 1.056 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 4.373e-05/0.002949, allocations: 44.44 kB / 1.056 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of Inline: time 7.071e-05/0.003025, allocations: 84.47 kB / 1.056 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.745e-05/0.003048, allocations: 8.125 kB / 1.056 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of Cleanup: time 9.418e-06/0.003061, allocations: 8.406 kB / 1.056 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001126/0.003178, allocations: 95.98 kB / 1.056 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of Tearing: time 6.663e-06/0.003193, allocations: 0 / 1.056 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of Initialization: time 2.81e-07/0.003197, allocations: 0 / 1.056 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of Tearing: time 8.22e-07/0.003202, allocations: 0 / 1.056 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of Categorize: time 6.533e-06/0.003211, allocations: 0.5625 kB / 1.056 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of Solve: time 3.212e-05/0.003247, allocations: 7.938 kB / 1.056 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.865e-06/0.003256, allocations: 4 kB / 1.056 GB, free: 6.137 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: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.306e-05/0.003283, allocations: 5.297 kB / 1.056 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of SimCode: time 0.000559/0.003848, allocations: 0.8116 MB / 1.057 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of Templates: time 0.00208/0.005938, allocations: 424.9 kB / 1.057 GB, free: 4.887 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.o Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.c Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.o] Error 1