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.0017/0.0017, allocations: 109.1 kB / 16.42 MB, free: 6.5 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.00174/0.00174, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.098/1.098, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6511/0.6511, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.287e-05, allocations: 6.219 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0009846/0.001005, allocations: 0.578 MB / 0.5826 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.001173, allocations: 37.77 kB / 0.5826 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.415e-05/0.001196, allocations: 0.6875 kB / 0.5826 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.868e-05/0.001219, allocations: 0 / 0.5826 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.493e-05/0.00125, allocations: 6.734 kB / 0.5826 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.00141, allocations: 13.64 kB / 0.5826 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.001483, allocations: 7.641 kB / 0.5826 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.927e-05/0.001517, allocations: 1.219 kB / 0.5826 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.229e-05/0.001534, allocations: 1.656 kB / 0.5826 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.269e-05/0.001561, allocations: 2.312 kB / 0.5826 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.001573, allocations: 0 / 0.5826 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.727e-05/0.001634, allocations: 24.17 kB / 0.5826 GB, free: 23.31 MB / 446.1 MB Notification: Performance of combineBinaries: time 2.545e-05/0.001665, allocations: 11.94 kB / 0.5827 GB, free: 23.3 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.134e-06/0.001672, allocations: 5.156 kB / 0.5827 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-06/0.001684, allocations: 1.062 kB / 0.5827 GB, free: 23.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.653e-06/0.001695, allocations: 6.391 kB / 0.5827 GB, free: 23.29 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.00016/0.001859, allocations: 167.2 kB / 0.5828 GB, free: 23.05 MB / 446.1 MB Notification: Performance of FunctionAlias: time 8.156e-06/0.001872, allocations: 3.953 kB / 0.5828 GB, free: 23.05 MB / 446.1 MB Notification: Performance of Early Inline: time 3.757e-05/0.001914, allocations: 58.77 kB / 0.5829 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simplify1: time 1.744e-06/0.001921, allocations: 2.344 kB / 0.5829 GB, free: 22.98 MB / 446.1 MB Notification: Performance of Alias: time 2.846e-05/0.001953, allocations: 55.39 kB / 0.5829 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simplify2: time 1.253e-06/0.001958, allocations: 0 / 0.5829 GB, free: 22.89 MB / 446.1 MB Notification: Performance of Events: time 3.293e-05/0.001995, allocations: 11.86 kB / 0.583 GB, free: 22.88 MB / 446.1 MB Notification: Performance of Detect States: time 3.776e-05/0.002037, allocations: 34.2 kB / 0.583 GB, free: 22.84 MB / 446.1 MB Notification: Performance of Partitioning: time 3.29e-05/0.002075, allocations: 17.92 kB / 0.583 GB, free: 22.82 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001479/0.002228, allocations: 80.05 kB / 0.5831 GB, free: 22.78 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 2.525e-05/0.002261, allocations: 51.08 kB / 0.5831 GB, free: 22.71 MB / 446.1 MB Notification: Performance of Inline: time 4.184e-05/0.002308, allocations: 77.64 kB / 0.5832 GB, free: 22.62 MB / 446.1 MB Notification: Performance of Partitioning: time 5.951e-06/0.002319, allocations: 10.12 kB / 0.5832 GB, free: 22.61 MB / 446.1 MB Notification: Performance of Cleanup: time 7.003e-06/0.002331, allocations: 8.469 kB / 0.5832 GB, free: 22.6 MB / 446.1 MB Notification: Performance of Causalize: time 8.791e-05/0.002423, allocations: 81.25 kB / 0.5833 GB, free: 22.56 MB / 446.1 MB Notification: Performance of Tearing: time 3.877e-06/0.002435, allocations: 0.5312 kB / 0.5833 GB, free: 22.56 MB / 446.1 MB Notification: Performance of Initialization: time 7.51e-07/0.00244, allocations: 3.375 kB / 0.5833 GB, free: 22.56 MB / 446.1 MB Notification: Performance of Tearing: time 7.41e-07/0.002445, allocations: 3.938 kB / 0.5833 GB, free: 22.55 MB / 446.1 MB Notification: Performance of Categorize: time 4.979e-06/0.002453, allocations: 1.188 kB / 0.5833 GB, free: 22.55 MB / 446.1 MB Notification: Performance of Solve: time 2.454e-05/0.002481, allocations: 6.375 kB / 0.5833 GB, free: 22.55 MB / 446.1 MB Notification: Performance of Jacobian: time 2.114e-06/0.002488, allocations: 0 / 0.5833 GB, free: 22.55 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.06e-05/0.002513, allocations: 21.62 kB / 0.5833 GB, free: 22.54 MB / 446.1 MB Notification: Performance of SimCode: time 0.0003207/0.002838, allocations: 0.8124 MB / 0.5841 GB, free: 21.77 MB / 446.1 MB Notification: Performance of Templates: time 0.001825/0.004672, allocations: 419.1 kB / 0.5845 GB, free: 21.57 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