Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 115.3 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.001551/0.001552, allocations: 187.7 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.552/1.552, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.218/0.218, allocations: 28.77 MB / 320 MB, free: 1.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.104e-05/4.101e-05, allocations: 6.219 kB / 445 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.008224/0.008291, allocations: 3.63 MB / 448.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.01162, allocations: 0.6857 MB / 449.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.01307, allocations: 15.94 kB / 449.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009994/0.01409, allocations: 174.3 kB / 449.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.01526, allocations: 134.8 kB / 449.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.0169, allocations: 355.5 kB / 449.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.01882, allocations: 0.9926 MB / 450.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.02014, allocations: 0.6612 MB / 451.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005201/0.02067, allocations: 338.4 kB / 451.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/0.02132, allocations: 417.6 kB / 452.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003216/0.02165, allocations: 84 kB / 452.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.022, allocations: 116 kB / 452.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001418/0.02343, allocations: 1.562 MB / 454.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008822/0.02432, allocations: 1.069 MB / 455.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.02471, allocations: 155.3 kB / 455.3 MB, free: 8.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003521/0.02508, allocations: 91.19 kB / 455.4 MB, free: 8.043 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: 261 (261) * Number of variables: 261 (261) Notification: Performance of Bindings: time 0.00573/0.03081, allocations: 4.726 MB / 460.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0008335/0.03166, allocations: 0.7745 MB / 460.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Early Inline: time 0.002335/0.03401, allocations: 2.207 MB / 463.1 MB, free: 4 kB / 334.1 MB Notification: Performance of simplify1: time 0.00021/0.03423, allocations: 179.7 kB / 463.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Alias: time 0.007631/0.04187, allocations: 6.255 MB / 469.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001072/0.042, allocations: 67.91 kB / 469.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of Events: time 0.000119/0.04213, allocations: 87.84 kB / 469.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002955/0.04244, allocations: 258.5 kB / 469.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004329/0.04288, allocations: 356.2 kB / 470.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of Causalize: time 0.001658/0.04454, allocations: 1.417 MB / 471.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008437/0.0454, allocations: 0.787 MB / 472.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of Inline: time 0.001722/0.04713, allocations: 1.573 MB / 474.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001088/0.04725, allocations: 95.59 kB / 474.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of Cleanup: time 6.6e-05/0.04732, allocations: 63.94 kB / 474.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of Causalize: time 0.003041/0.05037, allocations: 2.224 MB / 476.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Tearing: time 1.694e-05/0.05039, allocations: 3.938 kB / 476.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of Initialization: time 1.192e-06/0.0504, allocations: 0 / 476.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of Tearing: time 5.14e-06/0.05041, allocations: 0 / 476.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of Categorize: time 1.848e-05/0.05044, allocations: 4 kB / 476.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Solve: time 0.0005638/0.05101, allocations: 239 kB / 476.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0008384/0.05185, allocations: 0.6196 MB / 477.3 MB, free: 1.012 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: ............................. 5 (5) {Pop, Nat_res, Cap_inv, Pol, CIAF.level} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 64 (scalar:64, array:0, 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: ........... 102 (scalar:102, array:0, 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 0.0001045/0.05197, allocations: 51.95 kB / 477.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of SimCode: time 0.006699/0.05868, allocations: 4.998 MB / 482.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of Templates: time 0.01313/0.07183, allocations: 4.603 MB / 487 MB, free: 7.262 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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_2 -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_2.o SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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_2 -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_2_functions.o SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2_functions.c SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2_functions.c:37:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2_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_2_functions.o] Error 1