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.001252/0.001252, allocations: 115.6 kB / 16.43 MB, free: 6.469 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.001139/0.001139, allocations: 185.9 kB / 17.36 MB, free: 5.723 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1527/0.1527, allocations: 28.79 MB / 320 MB, free: 1.902 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.584e-05, allocations: 2.281 kB / 445 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.003972/0.003999, allocations: 3.657 MB / 448.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.005428, allocations: 0.6856 MB / 449.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.005876, allocations: 23.94 kB / 449.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.00632, allocations: 174.3 kB / 449.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.006712, allocations: 138.8 kB / 449.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.007359, allocations: 363.5 kB / 450 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008528/0.008221, allocations: 1.008 MB / 451 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.008939, allocations: 0.6612 MB / 451.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.009176, allocations: 338.5 kB / 452 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.009456, allocations: 421.6 kB / 452.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.009566, allocations: 84 kB / 452.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.009745, allocations: 116 kB / 452.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0008189/0.01057, allocations: 1.589 MB / 454.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004814/0.01106, allocations: 1.073 MB / 455.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.01118, allocations: 155.3 kB / 455.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001534/0.01134, allocations: 91.17 kB / 455.5 MB, free: 7.941 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.003539/0.01488, allocations: 4.832 MB / 460.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0006026/0.01549, allocations: 0.7437 MB / 461.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of Early Inline: time 0.001904/0.0174, allocations: 2.239 MB / 463.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001264/0.01754, allocations: 191.6 kB / 463.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Alias: time 0.006085/0.02363, allocations: 6.356 MB / 469.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simplify2: time 6.475e-05/0.02371, allocations: 75.89 kB / 469.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002534/0.02397, allocations: 268.8 kB / 470.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of Events: time 0.0001117/0.02409, allocations: 79.92 kB / 470.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0003713/0.02447, allocations: 381.7 kB / 470.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of Causalize: time 0.001851/0.02632, allocations: 1.781 MB / 472.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.000704/0.02704, allocations: 0.8272 MB / 473.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of Inline: time 0.001421/0.02847, allocations: 1.594 MB / 474.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of Partitioning: time 9.414e-05/0.02857, allocations: 95.56 kB / 474.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of Cleanup: time 5.141e-05/0.02863, allocations: 63.88 kB / 475 MB, free: 3.336 MB / 350.1 MB Notification: Performance of Causalize: time 0.0028/0.03144, allocations: 2.597 MB / 477.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Tearing: time 1.241e-05/0.03146, allocations: 0 / 477.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Initialization: time 4.11e-07/0.03147, allocations: 0 / 477.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Tearing: time 5.089e-06/0.03148, allocations: 3.938 kB / 477.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of Categorize: time 8.997e-06/0.03149, allocations: 4 kB / 477.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Solve: time 0.0003297/0.03182, allocations: 243 kB / 477.9 MB, free: 484 kB / 350.1 MB Notification: Performance of Jacobian: time 0.0005561/0.03239, allocations: 0.6313 MB / 478.5 MB, free: 15.8 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 4.267e-05/0.03244, allocations: 52.02 kB / 478.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of SimCode: time 0.003953/0.0364, allocations: 5.239 MB / 483.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of Templates: time 0.009431/0.04584, allocations: 4.849 MB / 488.6 MB, free: 5.57 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