Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 104.1 kB / 18.46 MB, free: 4.633 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.001373/0.001373, allocations: 194.5 kB / 19.4 MB, free: 3.707 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.357/1.357, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2281/0.2281, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.097e-05, allocations: 2.281 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001245/0.001275, allocations: 0.493 MB / 471.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.003207, allocations: 1.143 MB / 472.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.003241, allocations: 3.938 kB / 472.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.003261, allocations: 0 / 472.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.003273, allocations: 0 / 472.8 MB, free: 11.61 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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.002032/0.005316, allocations: 0.6827 MB / 473.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.00538, allocations: 7.984 kB / 473.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.458e-05/0.00542, allocations: 7.984 kB / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.433e-05/0.005442, allocations: 7.938 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.459e-05/0.005461, allocations: 0 / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-06/0.005471, allocations: 0 / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.00843, allocations: 2.452 MB / 475.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.551e-05/0.008468, allocations: 0 / 475.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.926e-06/0.008476, allocations: 3.906 kB / 475.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.008501, allocations: 4 kB / 475.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.055e-05/0.008517, allocations: 4 kB / 475.9 MB, free: 8.434 MB / 350.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.000273/0.008795, allocations: 157.4 kB / 476.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.277e-05/0.008814, allocations: 0 / 476.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of Early Inline: time 6.03e-05/0.00889, allocations: 48.33 kB / 476.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simplify1: time 1.833e-06/0.008898, allocations: 0 / 476.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of Alias: time 5.794e-05/0.008961, allocations: 52.61 kB / 476.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simplify2: time 1.723e-06/0.008967, allocations: 0 / 476.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of Events: time 1.209e-05/0.008983, allocations: 3.938 kB / 476.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of Detect States: time 5.647e-05/0.009043, allocations: 28.2 kB / 476.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Partitioning: time 4.354e-05/0.009093, allocations: 12.12 kB / 476.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001168/0.009215, allocations: 36.05 kB / 476.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.512e-05/0.009257, allocations: 48.56 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of Inline: time 6.59e-05/0.009328, allocations: 52.55 kB / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of Partitioning: time 9.818e-06/0.009344, allocations: 8.125 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of Cleanup: time 1.085e-05/0.009359, allocations: 11.94 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of Causalize: time 4.962e-05/0.009413, allocations: 32.02 kB / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of Tearing: time 4.859e-06/0.009427, allocations: 3.938 kB / 476.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Initialization: time 3.1e-07/0.009434, allocations: 4.188 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of Tearing: time 7.32e-07/0.009439, allocations: 0 / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of Categorize: time 8.116e-06/0.009451, allocations: 4 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of Solve: time 1.561e-05/0.009471, allocations: 0 / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of Jacobian: time 4.058e-06/0.009479, allocations: 0 / 476.4 MB, free: 7.668 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: ............... 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.985e-05/0.009513, allocations: 18.22 kB / 476.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of SimCode: time 0.002306/0.01183, allocations: 1.493 MB / 478 MB, free: 6.215 MB / 350.1 MB Notification: Performance of Templates: time 0.003989/0.01583, allocations: 1.359 MB / 479.3 MB, free: 4.855 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.makefile make -j1 -f ModelicaTest_4.0.0_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 4.0.0+maint.om/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_4_0_0_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_4.0.0_ModelicaTest.Math.TestColorMapToSvg.o ModelicaTest_4.0.0_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 4.0.0+maint.om/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_4_0_0_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_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:110:64: error: use of undeclared identifier '_OMC_LIT3' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta7, _OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:113:30: error: use of undeclared identifier '_OMC_LIT3' if((!stringEqual(_caption, _OMC_LIT3))) ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:113:30: error: use of undeclared identifier '_OMC_LIT3' ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:115:29: error: use of undeclared identifier '_OMC_LIT5' tmpMeta8 = stringAppend(_OMC_LIT5,_caption); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:116:64: error: use of undeclared identifier '_OMC_LIT3' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta8, _OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:121:54: error: use of undeclared identifier '_OMC_LIT6' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT6, _fileName); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:124:52: error: use of undeclared identifier '_OMC_LIT7' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT7, _fileName); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:135:32: error: use of undeclared identifier '_OMC_LIT8' tmpMeta10 = stringAppend(_OMC_LIT8,tmp9); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:136:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta11 = stringAppend(tmpMeta10,_OMC_LIT9); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:139:42: error: use of undeclared identifier '_OMC_LIT10' tmpMeta14 = stringAppend(tmpMeta13,_OMC_LIT10); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:141:42: error: use of undeclared identifier '_OMC_LIT11' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT11); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:143:42: error: use of undeclared identifier '_OMC_LIT12' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT12); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:146:42: error: use of undeclared identifier '_OMC_LIT13' tmpMeta21 = stringAppend(tmpMeta20,_OMC_LIT13); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:149:42: error: use of undeclared identifier '_OMC_LIT13' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT13); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:152:42: error: use of undeclared identifier '_OMC_LIT14' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT14); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:177:32: error: use of undeclared identifier '_OMC_LIT15' tmpMeta33 = stringAppend(_OMC_LIT15,_strXX); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.c:178:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT9); ^ ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestColorMapToSvg_functions.o] Error 1