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.001349/0.001349, allocations: 111.7 kB / 16.43 MB, free: 6.496 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.001614/0.001614, 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.492/1.492, 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.2067/0.2067, allocations: 28.78 MB / 320 MB, free: 1.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.703e-05/3.704e-05, allocations: 2.281 kB / 445 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_5): time 0.005214/0.005272, allocations: 3.241 MB / 448.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.007406, allocations: 0.5338 MB / 448.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008586/0.008282, allocations: 12 kB / 448.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006106/0.008903, allocations: 142.6 kB / 448.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008231/0.009737, allocations: 130.9 kB / 449 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008785/0.01067, allocations: 283.6 kB / 449.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.01181, allocations: 0.8526 MB / 450.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006982/0.01252, allocations: 498.2 kB / 450.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.01282, allocations: 306.6 kB / 450.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.01317, allocations: 385.8 kB / 451.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.0133, allocations: 76 kB / 451.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.01355, allocations: 108 kB / 451.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0009061/0.01447, allocations: 1.404 MB / 452.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005469/0.01503, allocations: 0.9346 MB / 453.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.01518, allocations: 135.4 kB / 454 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002508/0.01544, allocations: 67.25 kB / 454 MB, free: 9.445 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.003768/0.01921, allocations: 4.273 MB / 458.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0007856/0.02001, allocations: 0.7643 MB / 459.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of Early Inline: time 0.002031/0.02205, allocations: 2.066 MB / 461.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001726/0.02223, allocations: 171.8 kB / 461.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of Alias: time 0.007304/0.02954, allocations: 5.703 MB / 467 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simplify2: time 9.901e-05/0.02968, allocations: 67.91 kB / 467.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Events: time 0.0001812/0.02987, allocations: 115.8 kB / 467.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003262/0.03021, allocations: 277.7 kB / 467.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004335/0.03065, allocations: 381.9 kB / 467.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Causalize: time 0.00216/0.03282, allocations: 1.85 MB / 469.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008723/0.0337, allocations: 0.8116 MB / 470.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of Inline: time 0.001772/0.03548, allocations: 1.493 MB / 472 MB, free: 6.539 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001561/0.03565, allocations: 83.62 kB / 472.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of Cleanup: time 5.995e-05/0.03572, allocations: 67.92 kB / 472.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of Causalize: time 0.004912/0.04064, allocations: 4.165 MB / 476.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Tearing: time 1.585e-05/0.04068, allocations: 0 / 476.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Initialization: time 6.71e-07/0.04069, allocations: 0 / 476.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Tearing: time 4.799e-06/0.0407, allocations: 4 kB / 476.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Categorize: time 1.824e-05/0.04073, allocations: 4 kB / 476.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of Solve: time 0.0004507/0.04118, allocations: 235 kB / 476.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0007777/0.04197, allocations: 0.7789 MB / 477.3 MB, free: 1.121 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 6.366e-05/0.04204, allocations: 40.3 kB / 477.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of SimCode: time 0.00471/0.04676, allocations: 5.072 MB / 482.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01168/0.05846, allocations: 4.958 MB / 487.4 MB, free: 6.949 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