Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 106.4 kB / 16.42 MB, free: 6.465 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.001403/0.001403, allocations: 191.7 kB / 17.36 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1672/0.1672, allocations: 39.96 MB / 310.6 MB, free: 4.012 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/1.89e-05, allocations: 2.281 kB / 436.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001019/0.001046, allocations: 0.4932 MB / 436.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.002512, allocations: 1.146 MB / 438 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.002547, allocations: 0 / 438 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.002567, allocations: 0 / 438 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.002578, allocations: 4 kB / 438 MB, free: 10.15 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Visualizers.mo:1550:5-1753:22:writable] Warning: Pure function 'Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg' contains a call to impure function 'Modelica.Utilities.Files.remove'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:682:3-696:20:writable] Warning: Pure function 'ModelicaTest.Math.colorMapToSvg' contains a call to impure function 'Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg'. Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.004286, allocations: 0.6827 MB / 438.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.791e-05/0.004342, allocations: 4 kB / 438.7 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.129e-05/0.004378, allocations: 7.984 kB / 438.7 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.31e-05/0.004395, allocations: 0 / 438.7 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.746e-05/0.004417, allocations: 3.984 kB / 438.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.51e-06/0.004427, allocations: 0 / 438.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.006427, allocations: 2.452 MB / 441.2 MB, free: 7 MB / 318.1 MB Notification: Performance of combineBinaries: time 2.339e-05/0.006461, allocations: 0 / 441.2 MB, free: 7 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.562e-06/0.006468, allocations: 4 kB / 441.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.135e-05/0.006483, allocations: 0 / 441.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.085e-06/0.006495, allocations: 0 / 441.2 MB, free: 6.996 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.0001804/0.00668, allocations: 153.3 kB / 441.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.647e-05/0.006702, allocations: 7.891 kB / 441.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of Early Inline: time 3.969e-05/0.006746, allocations: 48.42 kB / 441.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of simplify1: time 1.903e-06/0.006753, allocations: 0 / 441.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of Alias: time 2.869e-05/0.006785, allocations: 56.5 kB / 441.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of simplify2: time 4.5e-07/0.00679, allocations: 0 / 441.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of Events: time 1.105e-05/0.006805, allocations: 0 / 441.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of Detect States: time 4.934e-05/0.006858, allocations: 36.11 kB / 441.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of Partitioning: time 3.633e-05/0.006902, allocations: 20.11 kB / 441.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of Causalize: time 9.721e-05/0.007004, allocations: 28.12 kB / 441.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.183e-05/0.007032, allocations: 44.36 kB / 441.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of Inline: time 4.367e-05/0.007081, allocations: 72.48 kB / 441.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of Partitioning: time 6.533e-06/0.007093, allocations: 12.38 kB / 441.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of Cleanup: time 8.326e-06/0.007106, allocations: 7.938 kB / 441.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of Causalize: time 4.226e-05/0.007152, allocations: 28.11 kB / 441.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of Tearing: time 5.771e-06/0.007166, allocations: 4 kB / 441.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of Initialization: time 3.21e-07/0.00717, allocations: 0 / 441.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of Tearing: time 1.443e-06/0.007175, allocations: 3.984 kB / 441.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of Categorize: time 7.534e-06/0.007187, allocations: 0 / 441.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of Solve: time 1.53e-05/0.007206, allocations: 4 kB / 441.7 MB, free: 6.207 MB / 318.1 MB Notification: Performance of Jacobian: time 2.164e-06/0.007212, allocations: 4.188 kB / 441.7 MB, free: 6.203 MB / 318.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: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {result} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 2.825e-05/0.007245, allocations: 20.78 kB / 441.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of SimCode: time 0.001494/0.008743, allocations: 1.456 MB / 443.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of Templates: time 0.003274/0.01203, allocations: 1.37 MB / 444.5 MB, free: 3.398 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.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=ModelicaTest_3_2_2_ModelicaTest_Math_TestColorMapToSvg -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 ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.o ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.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=ModelicaTest_3_2_2_ModelicaTest_Math_TestColorMapToSvg -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 ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.o ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:109:29: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(_OMC_LIT4,omc_Modelica_Utilities_Files_fullPathName(threadData, _fileName)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:110:64: error: use of undeclared identifier '_OMC_LIT3' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta7, _OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:113:30: error: use of undeclared identifier '_OMC_LIT3' if((!stringEqual(_caption, _OMC_LIT3))) ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:113:30: error: use of undeclared identifier '_OMC_LIT3' ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:115:29: error: use of undeclared identifier '_OMC_LIT5' tmpMeta8 = stringAppend(_OMC_LIT5,_caption); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:116:64: error: use of undeclared identifier '_OMC_LIT3' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta8, _OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:121:54: error: use of undeclared identifier '_OMC_LIT6' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT6, _fileName); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:124:52: error: use of undeclared identifier '_OMC_LIT7' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT7, _fileName); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:135:32: error: use of undeclared identifier '_OMC_LIT8' tmpMeta10 = stringAppend(_OMC_LIT8,tmp9); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:136:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta11 = stringAppend(tmpMeta10,_OMC_LIT9); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:139:42: error: use of undeclared identifier '_OMC_LIT10' tmpMeta14 = stringAppend(tmpMeta13,_OMC_LIT10); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:141:42: error: use of undeclared identifier '_OMC_LIT11' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT11); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:143:42: error: use of undeclared identifier '_OMC_LIT12' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT12); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:146:42: error: use of undeclared identifier '_OMC_LIT13' tmpMeta21 = stringAppend(tmpMeta20,_OMC_LIT13); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:149:42: error: use of undeclared identifier '_OMC_LIT13' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT13); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:152:42: error: use of undeclared identifier '_OMC_LIT14' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT14); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:177:32: error: use of undeclared identifier '_OMC_LIT15' tmpMeta33 = stringAppend(_OMC_LIT15,_strXX); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:178:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT9); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.c:181:42: error: use of undeclared identifier '_OMC_LIT16' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT16); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_functions.o] Error 1