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.001577/0.001577, allocations: 109.6 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.001576/0.001577, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.583/1.583, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2109/0.2109, allocations: 28.78 MB / 320 MB, free: 1.895 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.266e-05, allocations: 2.281 kB / 445 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.00573/0.00578, allocations: 3.619 MB / 448.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.008202, allocations: 0.6741 MB / 449.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.009253, allocations: 19.94 kB / 449.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007353/0.01, allocations: 162.3 kB / 449.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008299/0.01084, allocations: 126.8 kB / 449.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.01211, allocations: 355.5 kB / 449.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.01383, allocations: 0.9849 MB / 450.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.01511, allocations: 0.6651 MB / 451.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.01554, allocations: 330.4 kB / 451.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/0.01602, allocations: 421.6 kB / 452.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.01626, allocations: 84 kB / 452.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.01658, allocations: 119.9 kB / 452.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001428/0.01802, allocations: 1.577 MB / 454.1 MB, free: 9.379 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007581/0.01879, allocations: 1.065 MB / 455.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.01913, allocations: 155.3 kB / 455.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003715/0.0195, allocations: 91.12 kB / 455.4 MB, free: 8.055 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.005005/0.02452, allocations: 4.715 MB / 460.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0008638/0.0254, allocations: 0.7744 MB / 460.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of Early Inline: time 0.00227/0.02768, allocations: 2.191 MB / 463.1 MB, free: 44 kB / 334.1 MB Notification: Performance of simplify1: time 0.0002084/0.0279, allocations: 179.8 kB / 463.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Alias: time 0.007601/0.03551, allocations: 6.231 MB / 469.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simplify2: time 9.973e-05/0.03564, allocations: 67.91 kB / 469.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of Events: time 5.967e-05/0.03571, allocations: 75.92 kB / 469.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003033/0.03602, allocations: 259 kB / 469.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004246/0.03646, allocations: 333.6 kB / 470.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of Causalize: time 0.001631/0.0381, allocations: 1.382 MB / 471.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.000807/0.03891, allocations: 0.7753 MB / 472.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of Inline: time 0.001737/0.04066, allocations: 1.565 MB / 473.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001143/0.04079, allocations: 87.62 kB / 474 MB, free: 4.375 MB / 350.1 MB Notification: Performance of Cleanup: time 6.279e-05/0.04086, allocations: 67.88 kB / 474.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of Causalize: time 0.003032/0.0439, allocations: 2.213 MB / 476.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Tearing: time 2.124e-05/0.04393, allocations: 4 kB / 476.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Initialization: time 1.082e-06/0.04394, allocations: 0 / 476.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Tearing: time 7.835e-06/0.04395, allocations: 0 / 476.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Categorize: time 2.314e-05/0.04398, allocations: 3.984 kB / 476.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of Solve: time 0.0005113/0.0445, allocations: 238.9 kB / 476.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0007289/0.04524, allocations: 0.6117 MB / 477.1 MB, free: 1.191 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 7.553e-05/0.04532, allocations: 45.44 kB / 477.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of SimCode: time 0.006087/0.05142, allocations: 4.876 MB / 482 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Templates: time 0.0136/0.06504, allocations: 4.514 MB / 486.6 MB, free: 7.656 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