Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 113.9 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 204.1 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.153/1.153, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1766/0.1766, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.957e-06/8.957e-06, allocations: 2.281 kB / 481.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0009484/0.0009652, allocations: 492.2 kB / 482.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.002514, allocations: 1.147 MB / 483.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.169e-05/0.002536, allocations: 0 / 483.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.124e-06/0.002548, allocations: 0 / 483.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.186e-06/0.002556, allocations: 0 / 483.5 MB, free: 2.508 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Visualizers/Colors/colorMapToSvg.mo:2:1-205:18: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 trunk/Math.mo:663:3-677: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.001438/0.004003, allocations: 0.6923 MB / 484.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.045e-05/0.004041, allocations: 7.922 kB / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.193e-05/0.004068, allocations: 4 kB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-06/0.004082, allocations: 0 / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-06/0.004095, allocations: 0 / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-06/0.004102, allocations: 0 / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.006584, allocations: 2.452 MB / 486.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of combineBinaries: time 1.476e-05/0.00661, allocations: 0 / 486.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.254e-06/0.006617, allocations: 3.906 kB / 486.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.327e-06/0.006631, allocations: 8 kB / 486.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.991e-06/0.006641, allocations: 0 / 486.7 MB, free: 15.35 MB / 366.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.0001812/0.006826, allocations: 157.4 kB / 486.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FunctionAlias: time 9.778e-06/0.006841, allocations: 7.891 kB / 486.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Early Inline: time 4.914e-05/0.006895, allocations: 48.41 kB / 486.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplify1: time 1.192e-06/0.006902, allocations: 4 kB / 486.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Alias: time 3.64e-05/0.006943, allocations: 48.56 kB / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simplify2: time 4.91e-07/0.006948, allocations: 0 / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Events: time 8.065e-06/0.006959, allocations: 0 / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Detect States: time 4.132e-05/0.007004, allocations: 34.58 kB / 487 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Partitioning: time 3.096e-05/0.007041, allocations: 16.06 kB / 487 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Causalize: time 7.006e-05/0.007118, allocations: 32.12 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 4.072e-05/0.007164, allocations: 48.36 kB / 487.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of Inline: time 4.756e-05/0.007217, allocations: 56.48 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of Partitioning: time 8.886e-06/0.007232, allocations: 12.12 kB / 487.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of Cleanup: time 7.724e-06/0.007245, allocations: 8.188 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Causalize: time 4.029e-05/0.007289, allocations: 32.03 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Tearing: time 6.071e-06/0.007302, allocations: 3.984 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Initialization: time 4.01e-07/0.007306, allocations: 0 / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Tearing: time 2.225e-06/0.007313, allocations: 4 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Categorize: time 4.488e-06/0.007321, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Solve: time 9.829e-06/0.007343, allocations: 7.875 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Jacobian: time 1.794e-06/0.007349, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.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.309e-05/0.007375, allocations: 15.02 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of SimCode: time 0.001584/0.008964, allocations: 1.467 MB / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Templates: time 0.003063/0.01204, allocations: 1.362 MB / 490.1 MB, free: 11.75 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -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_trunk_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_trunk_ModelicaTest.Math.TestColorMapToSvg.o ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -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_trunk_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_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.o ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:110:64: error: use of undeclared identifier '_OMC_LIT3' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta7, _OMC_LIT3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:113:30: error: use of undeclared identifier '_OMC_LIT3' if((!stringEqual(_caption, _OMC_LIT3))) ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:113:30: error: use of undeclared identifier '_OMC_LIT3' ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:115:29: error: use of undeclared identifier '_OMC_LIT5' tmpMeta8 = stringAppend(_OMC_LIT5,_caption); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:116:64: error: use of undeclared identifier '_OMC_LIT3' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta8, _OMC_LIT3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:121:54: error: use of undeclared identifier '_OMC_LIT6' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT6, _fileName); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:124:52: error: use of undeclared identifier '_OMC_LIT7' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT7, _fileName); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:135:32: error: use of undeclared identifier '_OMC_LIT8' tmpMeta10 = stringAppend(_OMC_LIT8,tmp9); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:136:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta11 = stringAppend(tmpMeta10,_OMC_LIT9); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:139:42: error: use of undeclared identifier '_OMC_LIT10' tmpMeta14 = stringAppend(tmpMeta13,_OMC_LIT10); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:141:42: error: use of undeclared identifier '_OMC_LIT11' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT11); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:143:42: error: use of undeclared identifier '_OMC_LIT12' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT12); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:146:42: error: use of undeclared identifier '_OMC_LIT13' tmpMeta21 = stringAppend(tmpMeta20,_OMC_LIT13); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:149:42: error: use of undeclared identifier '_OMC_LIT13' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT13); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:152:42: error: use of undeclared identifier '_OMC_LIT14' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT14); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:177:32: error: use of undeclared identifier '_OMC_LIT15' tmpMeta33 = stringAppend(_OMC_LIT15,_strXX); ^ ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.c:178:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT9); ^ ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestColorMapToSvg_functions.o] Error 1