Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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_10_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.001065/0.001065, allocations: 115.4 kB / 16.43 MB, free: 6.523 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.001059/0.001059, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.11/1.11, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.004/2.004, allocations: 437 MB / 0.7111 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097e-05/1.098e-05, allocations: 2.281 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001065/0.001083, allocations: 0.5961 MB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000171/0.001264, allocations: 39.88 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.00129, allocations: 0 / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.001317, allocations: 3.938 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.43e-05/0.001346, allocations: 0 / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.001504, allocations: 15.92 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.891e-05/0.00158, allocations: 15.98 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.005e-05/0.001615, allocations: 4 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.245e-05/0.001632, allocations: 0 / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.159e-05/0.001657, allocations: 0 / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.707e-06/0.00167, allocations: 0 / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.001735, allocations: 15.98 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of combineBinaries: time 2.893e-05/0.001769, allocations: 11.94 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.697e-06/0.001777, allocations: 7.891 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-06/0.001791, allocations: 4 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of FrontEnd: time 6.793e-06/0.001801, allocations: 0 / 1.02 GB, free: 8.742 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: 8 (2) * Number of variables: 8 (2) Notification: Performance of Bindings: time 0.0002215/0.002028, allocations: 165.2 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of FunctionAlias: time 1.226e-05/0.002045, allocations: 3.953 kB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of Early Inline: time 5.689e-05/0.002107, allocations: 60.36 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of simplify1: time 1.924e-06/0.002115, allocations: 0 / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of Alias: time 4.357e-05/0.002162, allocations: 56.61 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of simplify2: time 9.01e-07/0.002167, allocations: 0 / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of Detect States: time 5.215e-05/0.002223, allocations: 26.69 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of Events: time 3.656e-05/0.002265, allocations: 7.953 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of Partitioning: time 4.218e-05/0.002312, allocations: 28.11 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001607/0.002479, allocations: 76.08 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 4.313e-05/0.00253, allocations: 52.36 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of Inline: time 6.679e-05/0.002602, allocations: 72.48 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of Partitioning: time 9.608e-06/0.002617, allocations: 12.12 kB / 1.02 GB, free: 7.93 MB / 0.795 GB Notification: Performance of Cleanup: time 9.879e-06/0.002631, allocations: 11.94 kB / 1.02 GB, free: 7.918 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001088/0.002743, allocations: 88.81 kB / 1.02 GB, free: 7.824 MB / 0.795 GB Notification: Performance of Tearing: time 6.923e-06/0.002758, allocations: 0 / 1.02 GB, free: 7.824 MB / 0.795 GB Notification: Performance of Initialization: time 2.7e-07/0.002762, allocations: 0 / 1.02 GB, free: 7.824 MB / 0.795 GB Notification: Performance of Tearing: time 1.253e-06/0.002767, allocations: 288 / 1.02 GB, free: 7.824 MB / 0.795 GB Notification: Performance of Categorize: time 6.382e-06/0.002777, allocations: 0 / 1.02 GB, free: 7.824 MB / 0.795 GB Notification: Performance of Solve: time 2.737e-05/0.002808, allocations: 11.92 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of Jacobian: time 2.424e-06/0.002816, allocations: 3.938 kB / 1.021 GB, free: 7.809 MB / 0.795 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.373e-05/0.002843, allocations: 19.47 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of SimCode: time 0.0004551/0.003303, allocations: 0.8021 MB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of Templates: time 0.001938/0.00525, allocations: 422.4 kB / 1.022 GB, free: 6.566 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.o Buildings_10_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_10_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_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.o Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.c Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.o] Error 1