Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.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) 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(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009637/0.0009641, allocations: 107 kB / 16.42 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.0009332/0.0009333, allocations: 189.6 kB / 17.35 MB, free: 5.754 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.183/1.183, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.232e-05, allocations: 3.266 kB / 327.1 MB, free: 3.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001829/0.001859, allocations: 1.192 MB / 328.3 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.00449, allocations: 1.998 MB / 330.3 MB, free: 176 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.004522, allocations: 0 / 330.3 MB, free: 176 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.004545, allocations: 0 / 330.3 MB, free: 176 kB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:497:3-636:16:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanToken' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipLineComments'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:100:3-167:14:writable] Warning: Pure function 'Modelica.Utilities.Examples.expression.primary' contains a call to impure function 'Modelica.Utilities.Strings.scanToken'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:74:3-98:11:writable] Warning: Pure function 'Modelica.Utilities.Examples.expression.term' contains a call to impure function 'Modelica.Utilities.Examples.expression.primary'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:57:3-277:17:writable] Warning: Pure function 'Modelica.Utilities.Examples.expression' contains a call to impure function 'Modelica.Utilities.Strings.scanDelimiter'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:935:3-963:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanNoToken' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipLineComments'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:279:3-372:24:writable] Warning: Pure function 'Modelica.Utilities.Examples.readRealParameter' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001165/0.005713, allocations: 430.6 kB / 330.8 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.505e-05/0.005749, allocations: 15.94 kB / 330.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.603e-05/0.005801, allocations: 8 kB / 330.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.005839, allocations: 0 / 330.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.005866, allocations: 15.91 kB / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.005953, allocations: 7.938 kB / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.794e-06/0.005967, allocations: 0 / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006036/0.006575, allocations: 475.5 kB / 331.3 MB, free: 15.24 MB / 286.1 MB Notification: Performance of combineBinaries: time 3.464e-05/0.00662, allocations: 23.73 kB / 331.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 8.727e-06/0.006634, allocations: 7.906 kB / 331.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.217e-05/0.006651, allocations: 0 / 331.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.782e-06/0.006663, allocations: 4 kB / 331.3 MB, free: 15.2 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 (0) * Number of variables: 0 (0) Notification: Performance of Bindings: time 0.0002098/0.006877, allocations: 173 kB / 331.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of FunctionAlias: time 8.245e-06/0.006891, allocations: 3.953 kB / 331.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of Early Inline: time 5.969e-05/0.006955, allocations: 44.36 kB / 331.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of simplify1: time 8.02e-07/0.006961, allocations: 0 / 331.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of Alias: time 4.646e-05/0.007011, allocations: 48.62 kB / 331.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of simplify2: time 4.71e-07/0.007017, allocations: 0 / 331.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of Events: time 4.769e-06/0.007026, allocations: 0 / 331.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of Detect States: time 4.696e-05/0.007076, allocations: 36.17 kB / 331.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of Partitioning: time 1.763e-05/0.007102, allocations: 4 kB / 331.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of Causalize: time 6.762e-06/0.007113, allocations: 0 / 331.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 3.71e-05/0.007154, allocations: 32.38 kB / 331.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of Inline: time 0.0001536/0.007313, allocations: 96.12 kB / 331.7 MB, free: 14.53 MB / 286.1 MB Notification: Performance of Partitioning: time 1.326e-05/0.007335, allocations: 8.125 kB / 331.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of Cleanup: time 4.138e-06/0.007344, allocations: 0 / 331.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of Causalize: time 0.0001746/0.007523, allocations: 64.03 kB / 331.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of Tearing: time 6.883e-06/0.007538, allocations: 0 / 331.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of Initialization: time 3.11e-07/0.007543, allocations: 0 / 331.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of Tearing: time 1.102e-06/0.007548, allocations: 0 / 331.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of Categorize: time 2.144e-06/0.007554, allocations: 0 / 331.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of Solve: time 4.29e-05/0.007602, allocations: 7.938 kB / 331.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of Jacobian: time 2.785e-06/0.007611, allocations: 4.125 kB / 331.8 MB, free: 14.43 MB / 286.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: ......... 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * 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: ............ 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: ........... 3 (scalar:3, array:0, 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 3.056e-05/0.007646, allocations: 14.7 kB / 331.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of SimCode: time 0.001903/0.009554, allocations: 1.349 MB / 333.2 MB, free: 13.06 MB / 286.1 MB Notification: Performance of Templates: time 0.004877/0.01444, allocations: 2.649 MB / 335.8 MB, free: 10.41 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.makefile make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.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=Modelica_3_2_1_Modelica_Utilities_Examples_readRealParameterModel -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 Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.o Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.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=Modelica_3_2_1_Modelica_Utilities_Examples_readRealParameterModel -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 Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.o Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:26:98: error: use of undeclared identifier '_OMC_LIT3' _signOfNumber = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _string, _startIndex, _OMC_LIT3, _message ,&_nextIndex); ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:30:34: error: use of undeclared identifier '_OMC_LIT2' if((stringEqual(_signOfNumber, _OMC_LIT2))) ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:30:34: error: use of undeclared identifier '_OMC_LIT2' Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:38:95: error: use of undeclared identifier '_OMC_LIT3' _opString = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _string, _nextIndex, _OMC_LIT3, _message ,&_nextIndex); ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:40:32: error: use of undeclared identifier '_OMC_LIT0' if((stringEqual(_opString, _OMC_LIT0))) ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:40:32: error: use of undeclared identifier '_OMC_LIT0' Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:48:42: error: use of undeclared identifier '_OMC_LIT1' _result = ((stringEqual(_opString, _OMC_LIT1))?_result + _result2:_result - _result2); ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:48:42: error: use of undeclared identifier '_OMC_LIT1' Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:102:27: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_fileName); ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:103:36: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:134:100: error: use of undeclared identifier '_OMC_LIT8' _delimiter = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _line, _nextIndex, _OMC_LIT8, _message2 ,&_nextIndex); ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:138:100: error: use of undeclared identifier '_OMC_LIT10' _delimiter = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _line, _nextIndex, _OMC_LIT10, _message2 ,&_nextIndex); ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:151:33: error: use of undeclared identifier '_OMC_LIT6' tmpMeta6 = stringAppend(_OMC_LIT6,_message); ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:163:29: error: use of undeclared identifier '_OMC_LIT11' tmpMeta9 = stringAppend(_OMC_LIT11,_name); ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:164:39: error: use of undeclared identifier '_OMC_LIT12' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT12); ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:166:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta12 = stringAppend(tmpMeta11,_OMC_LIT13); ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:224:82: error: use of undeclared identifier '_OMC_LIT15' if((((modelica_integer)_token._tokenType == 6) && (stringEqual(_token._string, _OMC_LIT15)))) ^ Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:224:82: error: use of undeclared identifier '_OMC_LIT15' Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:228:96: error: use of undeclared identifier '_OMC_LIT18' _delimiter = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _string, _nextIndex, _OMC_LIT18, _message ,&_nextIndex); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_functions.o] Error 1