Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001203/0.001203, allocations: 110.6 kB / 16.42 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.001318/0.001318, allocations: 182 kB / 17.36 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8433/0.8433, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.488e-05, allocations: 2.281 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001636/0.001671, allocations: 0.5672 MB / 0.5826 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002433/0.001927, allocations: 40.34 kB / 0.5826 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.001956, allocations: 0 / 0.5826 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.001991, allocations: 3.938 kB / 0.5826 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.292e-05/0.002029, allocations: 1.688 kB / 0.5826 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.002248, allocations: 14.17 kB / 0.5826 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.836e-05/0.002345, allocations: 7.328 kB / 0.5826 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.002391, allocations: 1.188 kB / 0.5826 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.753e-05/0.002415, allocations: 3.188 kB / 0.5826 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.271e-05/0.002452, allocations: 1.156 kB / 0.5826 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.002469, allocations: 6.266 kB / 0.5826 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.559e-05/0.002549, allocations: 19.64 kB / 0.5826 GB, free: 23.22 MB / 446.1 MB Notification: Performance of combineBinaries: time 4.416e-05/0.0026, allocations: 10.41 kB / 0.5827 GB, free: 23.21 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.085e-06/0.002609, allocations: 6.219 kB / 0.5827 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.002631, allocations: 1.219 kB / 0.5827 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.217e-06/0.002644, allocations: 0 / 0.5827 GB, free: 23.21 MB / 446.1 MB 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.0002297/0.002878, allocations: 166.9 kB / 0.5828 GB, free: 22.97 MB / 446.1 MB Notification: Performance of FunctionAlias: time 1.623e-05/0.002902, allocations: 6.828 kB / 0.5828 GB, free: 22.96 MB / 446.1 MB Notification: Performance of Early Inline: time 5.211e-05/0.002959, allocations: 60.7 kB / 0.5829 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simplify1: time 2.675e-06/0.002968, allocations: 1.281 kB / 0.5829 GB, free: 22.89 MB / 446.1 MB Notification: Performance of Alias: time 3.487e-05/0.003007, allocations: 58.52 kB / 0.5829 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simplify2: time 9.12e-07/0.003014, allocations: 3.938 kB / 0.5829 GB, free: 22.8 MB / 446.1 MB Notification: Performance of Detect States: time 4.616e-05/0.003064, allocations: 34.81 kB / 0.583 GB, free: 22.75 MB / 446.1 MB Notification: Performance of Events: time 4.913e-05/0.003119, allocations: 13.66 kB / 0.583 GB, free: 22.74 MB / 446.1 MB Notification: Performance of Partitioning: time 5.382e-05/0.003179, allocations: 19.55 kB / 0.583 GB, free: 22.72 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002107/0.003397, allocations: 64.08 kB / 0.5831 GB, free: 22.7 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 4.254e-05/0.003448, allocations: 60.2 kB / 0.5831 GB, free: 22.62 MB / 446.1 MB Notification: Performance of Inline: time 5.26e-05/0.003506, allocations: 71.23 kB / 0.5832 GB, free: 22.53 MB / 446.1 MB Notification: Performance of Partitioning: time 8.796e-06/0.003522, allocations: 11.41 kB / 0.5832 GB, free: 22.52 MB / 446.1 MB Notification: Performance of Cleanup: time 8.556e-06/0.003536, allocations: 7.188 kB / 0.5832 GB, free: 22.51 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001203/0.003661, allocations: 88.84 kB / 0.5833 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Tearing: time 9.257e-06/0.003679, allocations: 0 / 0.5833 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Initialization: time 4.4e-07/0.003684, allocations: 0 / 0.5833 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Tearing: time 1.483e-06/0.00369, allocations: 1.375 kB / 0.5833 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Categorize: time 7.604e-06/0.003702, allocations: 3.938 kB / 0.5833 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Solve: time 3.256e-05/0.00374, allocations: 2.812 kB / 0.5833 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Jacobian: time 3.517e-06/0.00375, allocations: 2.812 kB / 0.5833 GB, free: 22.46 MB / 446.1 MB 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.943e-05/0.003783, allocations: 17.38 kB / 0.5833 GB, free: 22.45 MB / 446.1 MB Notification: Performance of SimCode: time 0.0004751/0.004264, allocations: 0.8051 MB / 0.5841 GB, free: 21.68 MB / 446.1 MB Notification: Performance of Templates: time 0.002371/0.006647, allocations: 424.3 kB / 0.5845 GB, free: 21.48 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile make -j1 -f IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.o IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.o IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.c IDEAS_IDEAS.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: *** [: IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.o] Error 1