Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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/SystemDynamics 2.1.2-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-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(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 111.2 kB / 16.43 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.001533/0.001533, allocations: 183.8 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.595/1.595, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2556/0.2556, allocations: 28.78 MB / 320 MB, free: 1.91 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - Absyn->SCode: time 4.219e-05/4.221e-05, allocations: 6.219 kB / 444.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003828/0.003886, allocations: 2.321 MB / 447.2 MB, free: 336 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.00512, allocations: 0.6232 MB / 447.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.005277, allocations: 4 kB / 447.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.005494, allocations: 47.52 kB / 447.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.005614, allocations: 31.67 kB / 447.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.006074, allocations: 131.7 kB / 448 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.006466, allocations: 312 kB / 448.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.006796, allocations: 202.3 kB / 448.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.006916, allocations: 99.52 kB / 448.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.007057, allocations: 127.3 kB / 448.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.007105, allocations: 24 kB / 448.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.007235, allocations: 51.97 kB / 448.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.000331/0.007574, allocations: 474.2 kB / 449.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002354/0.007816, allocations: 303.2 kB / 449.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.007874, allocations: 39.81 kB / 449.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.311e-05/0.007942, allocations: 31.75 kB / 449.7 MB, free: 13.85 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 (76) * Number of variables: 76 (76) Notification: Performance of Bindings: time 0.001358/0.009306, allocations: 1.467 MB / 451.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001005/0.009413, allocations: 67.86 kB / 451.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0006578/0.01008, allocations: 0.7024 MB / 451.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simplify1: time 5.878e-05/0.01015, allocations: 55.92 kB / 451.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of Alias: time 0.002198/0.01235, allocations: 1.836 MB / 453.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simplify2: time 3.812e-05/0.0124, allocations: 31.89 kB / 453.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of Events: time 0.0001192/0.01253, allocations: 63.86 kB / 453.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of Detect States: time 0.0004224/0.01296, allocations: 137.2 kB / 454 MB, free: 9.168 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001529/0.01312, allocations: 119 kB / 454.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of Causalize: time 0.0004732/0.0136, allocations: 381.5 kB / 454.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003174/0.01393, allocations: 336.1 kB / 454.8 MB, free: 8.312 MB / 334.1 MB Notification: Performance of Inline: time 0.0005031/0.01444, allocations: 488 kB / 455.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of Partitioning: time 4.158e-05/0.01449, allocations: 24.12 kB / 455.3 MB, free: 7.77 MB / 334.1 MB Notification: Performance of Cleanup: time 3.017e-05/0.01453, allocations: 31.84 kB / 455.4 MB, free: 7.738 MB / 334.1 MB Notification: Performance of Causalize: time 0.0006689/0.0152, allocations: 0.528 MB / 455.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of Tearing: time 9.688e-06/0.01522, allocations: 0 / 455.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of Initialization: time 2.71e-07/0.01523, allocations: 0 / 455.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of Tearing: time 1.753e-06/0.01523, allocations: 0 / 455.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of Categorize: time 1.103e-05/0.01525, allocations: 7.938 kB / 455.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of Solve: time 0.0001151/0.01537, allocations: 63.95 kB / 456 MB, free: 7.129 MB / 334.1 MB Notification: Performance of Jacobian: time 0.0002724/0.01565, allocations: 302 kB / 456.3 MB, free: 6.797 MB / 334.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * 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: ............................. 2 (2) {hare, lynx} * Number of discrete states: .................... 2 (2) {Hunting.T_start, Hunting.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 23 (scalar:23, array:0, 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 5.143e-05/0.01571, allocations: 40.23 kB / 456.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of SimCode: time 0.001482/0.0172, allocations: 1.566 MB / 457.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of Templates: time 0.005487/0.02269, allocations: 1.49 MB / 459.3 MB, free: 3.676 MB / 334.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.makefile make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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=SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction -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 SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.o SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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=SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction -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 SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction_functions.o SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction_functions.c SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction_functions.c:37:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction_functions.c:47:53: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ 2 errors generated. make: *** [: SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction_functions.o] Error 1