Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 106.5 kB / 16.42 MB, free: 6.43 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.002391/0.002392, allocations: 185.5 kB / 17.35 MB, free: 5.684 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.549/1.549, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2308/0.2308, allocations: 28.79 MB / 320 MB, free: 1.891 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.15e-05/4.141e-05, allocations: 5.375 kB / 445 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.005637/0.005697, allocations: 3.635 MB / 448.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.008186, allocations: 0.6663 MB / 449.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009789/0.009187, allocations: 23.88 kB / 449.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007375/0.009937, allocations: 166.3 kB / 449.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007411/0.01073, allocations: 118.8 kB / 449.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.01186, allocations: 363.5 kB / 449.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.01345, allocations: 0.9926 MB / 450.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.01459, allocations: 0.6611 MB / 451.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004716/0.01507, allocations: 330.5 kB / 451.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.0156, allocations: 425.6 kB / 452.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.01582, allocations: 87.94 kB / 452.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.01613, allocations: 112 kB / 452.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001261/0.0174, allocations: 1.566 MB / 454.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007265/0.01813, allocations: 1.073 MB / 455.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.01841, allocations: 155.3 kB / 455.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003188/0.01873, allocations: 91.19 kB / 455.4 MB, free: 8.059 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: 259 (259) * Number of variables: 259 (259) Notification: Performance of Bindings: time 0.00442/0.02316, allocations: 4.715 MB / 460.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0008176/0.02399, allocations: 0.786 MB / 460.9 MB, free: 2.289 MB / 334.1 MB Notification: Performance of Early Inline: time 0.00221/0.02621, allocations: 2.187 MB / 463.1 MB, free: 40 kB / 334.1 MB Notification: Performance of simplify1: time 0.0002044/0.02643, allocations: 183.7 kB / 463.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Alias: time 0.008139/0.03457, allocations: 6.204 MB / 469.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001279/0.03474, allocations: 76.36 kB / 469.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of Detect States: time 0.0004243/0.03518, allocations: 258.3 kB / 469.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of Events: time 0.0001009/0.03529, allocations: 71.94 kB / 469.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of Partitioning: time 0.000428/0.03572, allocations: 329.7 kB / 470.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of Causalize: time 0.001959/0.03769, allocations: 1.385 MB / 471.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008045/0.03851, allocations: 0.7831 MB / 472.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of Inline: time 0.001762/0.04028, allocations: 1.565 MB / 473.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of Partitioning: time 0.000124/0.04041, allocations: 91.61 kB / 474 MB, free: 4.379 MB / 350.1 MB Notification: Performance of Cleanup: time 7.316e-05/0.04049, allocations: 67.86 kB / 474.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of Causalize: time 0.002949/0.04345, allocations: 2.209 MB / 476.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of Tearing: time 2.053e-05/0.04348, allocations: 0 / 476.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of Initialization: time 5.11e-07/0.04349, allocations: 0 / 476.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of Tearing: time 7.414e-06/0.04351, allocations: 4 kB / 476.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Categorize: time 2.044e-05/0.04353, allocations: 7.938 kB / 476.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Solve: time 0.0004595/0.044, allocations: 235 kB / 476.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0007652/0.04477, allocations: 0.6156 MB / 477.1 MB, free: 1.195 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: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 62 (scalar:62, 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: ........... 101 (scalar:101, 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 8.863e-05/0.04487, allocations: 49.23 kB / 477.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of SimCode: time 0.005914/0.05079, allocations: 4.92 MB / 482.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Templates: time 0.01227/0.06309, allocations: 4.502 MB / 486.6 MB, free: 7.629 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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_1 -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_1.o SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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_1 -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_1_functions.o SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_functions.c SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_functions.c:37:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1_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_1_functions.o] Error 1