Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 112.1 kB / 16.43 MB, free: 6.5 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.002294/0.002294, allocations: 183.2 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.625/1.625, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1815/0.1815, allocations: 28.78 MB / 320 MB, free: 1.891 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.429e-05, allocations: 2.281 kB / 445 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.005595/0.005652, allocations: 3.661 MB / 448.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.008465, allocations: 0.6896 MB / 449.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.009937, allocations: 15.94 kB / 449.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009237/0.01087, allocations: 174.3 kB / 449.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.01194, allocations: 142.7 kB / 449.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.01326, allocations: 359.6 kB / 450 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.01502, allocations: 1.008 MB / 451 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.01622, allocations: 0.6612 MB / 451.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004456/0.01668, allocations: 338.5 kB / 452 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.01707, allocations: 421.6 kB / 452.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.01723, allocations: 84 kB / 452.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.01746, allocations: 115.9 kB / 452.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0009986/0.01847, allocations: 1.589 MB / 454.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006722/0.01915, allocations: 1.073 MB / 455.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.01939, allocations: 151.4 kB / 455.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0004019/0.0198, allocations: 91.12 kB / 455.5 MB, free: 7.938 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: 290 (268) * Number of variables: 290 (268) Notification: Performance of Bindings: time 0.004783/0.02459, allocations: 4.825 MB / 460.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0007997/0.0254, allocations: 0.7515 MB / 461.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of Early Inline: time 0.002347/0.02776, allocations: 2.235 MB / 463.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplify1: time 0.0002034/0.02797, allocations: 195.7 kB / 463.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Alias: time 0.008486/0.03647, allocations: 6.352 MB / 469.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001545/0.03669, allocations: 75.84 kB / 469.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of Events: time 0.000152/0.03685, allocations: 91.91 kB / 470 MB, free: 8.438 MB / 350.1 MB Notification: Performance of Detect States: time 0.0004159/0.03728, allocations: 267.8 kB / 470.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0005939/0.03788, allocations: 389.6 kB / 470.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of Causalize: time 0.002437/0.04033, allocations: 1.777 MB / 472.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.001013/0.04135, allocations: 0.8233 MB / 473.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of Inline: time 0.002051/0.04342, allocations: 1.598 MB / 474.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of Partitioning: time 0.000143/0.04357, allocations: 87.62 kB / 474.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of Cleanup: time 8.526e-05/0.04367, allocations: 71.86 kB / 475 MB, free: 3.32 MB / 350.1 MB Notification: Performance of Causalize: time 0.003664/0.04734, allocations: 2.589 MB / 477.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Tearing: time 1.572e-05/0.04737, allocations: 0 / 477.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Initialization: time 9.61e-07/0.04737, allocations: 0 / 477.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Tearing: time 8.426e-06/0.04739, allocations: 7.938 kB / 477.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of Categorize: time 2.275e-05/0.04742, allocations: 8 kB / 477.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of Solve: time 0.0005639/0.04799, allocations: 247 kB / 477.9 MB, free: 464 kB / 350.1 MB Notification: Performance of Jacobian: time 0.0007583/0.04877, allocations: 0.6235 MB / 478.5 MB, free: 15.79 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: ........... 69 (scalar:67, 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: ........... 105 (scalar:103, 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 0.0001211/0.0489, allocations: 51.88 kB / 478.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of SimCode: time 0.005954/0.05486, allocations: 5.179 MB / 483.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of Templates: time 0.01261/0.0675, allocations: 4.845 MB / 488.5 MB, free: 5.617 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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_4 -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_4.o SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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_4 -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_4_functions.o SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_functions.c SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_functions.c:37:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4_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_4_functions.o] Error 1