Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.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.WorldDynamics.World2.Scenario_5,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_5,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 111.9 kB / 16.42 MB, free: 6.52 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.002141/0.002141, allocations: 183.1 kB / 17.35 MB, free: 5.723 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.662/1.662, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2072/0.2072, allocations: 28.78 MB / 320 MB, free: 1.922 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.637e-05, allocations: 5.656 kB / 445 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.004302/0.004349, allocations: 3.25 MB / 448.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.005748, allocations: 0.526 MB / 448.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.006015, allocations: 12 kB / 448.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.006342, allocations: 146.6 kB / 448.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.006677, allocations: 127 kB / 449 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.007311, allocations: 291.6 kB / 449.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007627/0.008084, allocations: 0.8566 MB / 450.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006528/0.008744, allocations: 494.2 kB / 450.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.009005, allocations: 310.5 kB / 451 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.009317, allocations: 377.9 kB / 451.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.009442, allocations: 76 kB / 451.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.009635, allocations: 107.9 kB / 451.5 MB, free: 12 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0008676/0.01051, allocations: 1.404 MB / 452.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005068/0.01102, allocations: 0.9462 MB / 453.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.01115, allocations: 131.4 kB / 454 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001709/0.01133, allocations: 63.31 kB / 454 MB, free: 9.426 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: 272 (250) * Number of variables: 272 (250) Notification: Performance of Bindings: time 0.003779/0.01511, allocations: 4.266 MB / 458.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0007997/0.01592, allocations: 0.7604 MB / 459.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of Early Inline: time 0.001982/0.01791, allocations: 2.07 MB / 461.1 MB, free: 2 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001604/0.01808, allocations: 175.7 kB / 461.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of Alias: time 0.007542/0.02563, allocations: 5.692 MB / 467 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001434/0.02583, allocations: 67.89 kB / 467.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Detect States: time 0.000373/0.02621, allocations: 256.8 kB / 467.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Events: time 0.0002195/0.02644, allocations: 112.2 kB / 467.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Partitioning: time 0.000475/0.02694, allocations: 381.9 kB / 467.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Causalize: time 0.00215/0.0291, allocations: 1.858 MB / 469.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.001006/0.03012, allocations: 0.8038 MB / 470.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of Inline: time 0.001949/0.03208, allocations: 1.493 MB / 472 MB, free: 6.551 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001128/0.03221, allocations: 87.61 kB / 472 MB, free: 6.457 MB / 350.1 MB Notification: Performance of Cleanup: time 7.571e-05/0.03229, allocations: 67.92 kB / 472.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of Causalize: time 0.005192/0.03749, allocations: 4.169 MB / 476.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of Tearing: time 1.962e-05/0.03754, allocations: 0 / 476.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of Initialization: time 1.573e-06/0.03754, allocations: 0 / 476.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of Tearing: time 7.745e-06/0.03756, allocations: 3.984 kB / 476.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Categorize: time 2.36e-05/0.03759, allocations: 4 kB / 476.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Solve: time 0.0005139/0.0381, allocations: 239.1 kB / 476.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of Jacobian: time 0.000992/0.03911, allocations: 0.7828 MB / 477.3 MB, free: 1.117 MB / 350.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: ............................. 6 (6) {Pop, Nat_res, Cap_inv, Pol, CIAF.y4, years} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 72 (scalar:70, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 104 (scalar:102, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 8.006e-05/0.0392, allocations: 43.22 kB / 477.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of SimCode: time 0.005363/0.04456, allocations: 5.108 MB / 482.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.01172/0.05631, allocations: 4.97 MB / 487.4 MB, free: 6.902 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.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_WorldDynamics_World2_Scenario_5 -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.WorldDynamics.World2.Scenario_5.o SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5.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_WorldDynamics_World2_Scenario_5 -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.WorldDynamics.World2.Scenario_5_functions.o SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_functions.c SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_functions.c:37:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_5_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.WorldDynamics.World2.Scenario_5_functions.o] Error 1