Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 104.4 kB / 16.42 MB, free: 6.422 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.001529/0.001529, allocations: 192.3 kB / 17.36 MB, free: 5.688 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.504/1.504, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2611/0.2611, allocations: 28.78 MB / 320 MB, free: 1.898 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.581e-05, allocations: 2.281 kB / 445 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.005501/0.005541, allocations: 3.639 MB / 448.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.008037, allocations: 0.6857 MB / 449.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.0091, allocations: 19.94 kB / 449.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.009852, allocations: 174.3 kB / 449.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008913/0.01076, allocations: 130.8 kB / 449.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.01221, allocations: 359.5 kB / 450 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002043/0.01427, allocations: 0.9927 MB / 450.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.01573, allocations: 0.6651 MB / 451.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.01631, allocations: 338.4 kB / 451.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/0.01682, allocations: 417.6 kB / 452.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.01701, allocations: 84 kB / 452.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.01729, allocations: 116 kB / 452.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001039/0.01834, allocations: 1.57 MB / 454.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006269/0.01897, allocations: 1.065 MB / 455.2 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.01921, allocations: 151.3 kB / 455.3 MB, free: 8.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003627/0.01958, allocations: 87.19 kB / 455.4 MB, free: 8.016 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: 263 (263) * Number of variables: 263 (263) Notification: Performance of Bindings: time 0.004626/0.02421, allocations: 4.75 MB / 460.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0007821/0.025, allocations: 0.771 MB / 460.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of Early Inline: time 0.002294/0.02731, allocations: 2.215 MB / 463.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simplify1: time 0.0002431/0.02756, allocations: 179.7 kB / 463.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Alias: time 0.007339/0.03491, allocations: 6.279 MB / 469.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001006/0.03504, allocations: 71.91 kB / 469.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of Events: time 0.0001375/0.03519, allocations: 99.72 kB / 469.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003028/0.0355, allocations: 263.8 kB / 470 MB, free: 8.422 MB / 350.1 MB Notification: Performance of Partitioning: time 0.000453/0.03596, allocations: 365.5 kB / 470.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of Causalize: time 0.001611/0.03758, allocations: 1.437 MB / 471.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007983/0.03839, allocations: 0.7974 MB / 472.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of Inline: time 0.001587/0.03998, allocations: 1.58 MB / 474.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001096/0.04011, allocations: 91.61 kB / 474.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of Cleanup: time 5.152e-05/0.04016, allocations: 63.94 kB / 474.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of Causalize: time 0.00255/0.04272, allocations: 2.232 MB / 476.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Tearing: time 1.112e-05/0.04274, allocations: 0 / 476.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Initialization: time 5.81e-07/0.04275, allocations: 4 kB / 476.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Tearing: time 3.787e-06/0.04276, allocations: 0 / 476.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Categorize: time 9.919e-06/0.04277, allocations: 0 / 476.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Solve: time 0.0003609/0.04314, allocations: 243 kB / 476.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0005802/0.04373, allocations: 0.6196 MB / 477.4 MB, free: 0.8516 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: ........... 65 (scalar:65, 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 6.784e-05/0.0438, allocations: 49.38 kB / 477.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of SimCode: time 0.004395/0.0482, allocations: 5.017 MB / 482.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.01025/0.05847, allocations: 4.607 MB / 487.1 MB, free: 7.086 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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_3 -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_3.o SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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_3 -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_3_functions.o SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_functions.c SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_functions.c:37:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3_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_3_functions.o] Error 1