Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001198/0.001198, allocations: 107.7 kB / 16.42 MB, free: 6.512 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.001135/0.001135, allocations: 196.2 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.259/1.259, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.541e-05, allocations: 6.219 kB / 327.1 MB, free: 3.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001999/0.002033, allocations: 1.195 MB / 328.3 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.005035, allocations: 1.998 MB / 330.3 MB, free: 168 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.005078, allocations: 4 kB / 330.3 MB, free: 164 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.005105, allocations: 3.938 kB / 330.3 MB, free: 160 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.001557/0.006682, allocations: 422.6 kB / 330.8 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.667e-05/0.00672, allocations: 8 kB / 330.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.762e-05/0.006785, allocations: 19.92 kB / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.00683, allocations: 0 / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.00686, allocations: 7.938 kB / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.006968, allocations: 11.92 kB / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.006985, allocations: 0 / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007932/0.007783, allocations: 475.5 kB / 331.3 MB, free: 15.23 MB / 286.1 MB Notification: Performance of combineBinaries: time 3.823e-05/0.007832, allocations: 23.67 kB / 331.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 8.406e-06/0.007846, allocations: 7.906 kB / 331.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.007868, allocations: 8 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.263e-06/0.007881, allocations: 4 kB / 331.3 MB, free: 15.19 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.0002403/0.008126, allocations: 169.1 kB / 331.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of FunctionAlias: time 8.837e-06/0.00814, allocations: 3.953 kB / 331.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of Early Inline: time 7.002e-05/0.008217, allocations: 40.36 kB / 331.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of simplify1: time 2.014e-06/0.008225, allocations: 4 kB / 331.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of Alias: time 4.635e-05/0.008275, allocations: 48.62 kB / 331.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simplify2: time 7.01e-07/0.008281, allocations: 0 / 331.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of Events: time 4.408e-06/0.008291, allocations: 0 / 331.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of Detect States: time 5.032e-05/0.008345, allocations: 36.12 kB / 331.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of Partitioning: time 1.355e-05/0.008364, allocations: 4 kB / 331.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of Causalize: time 5.079e-06/0.008374, allocations: 0 / 331.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 3.767e-05/0.008416, allocations: 32.42 kB / 331.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of Inline: time 0.0001415/0.008562, allocations: 84.16 kB / 331.7 MB, free: 14.53 MB / 286.1 MB Notification: Performance of Partitioning: time 1.618e-05/0.008587, allocations: 12.12 kB / 331.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of Cleanup: time 4.358e-06/0.008597, allocations: 0 / 331.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of Causalize: time 0.000168/0.008769, allocations: 72.09 kB / 331.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Tearing: time 5.541e-06/0.008783, allocations: 0 / 331.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Initialization: time 2.91e-07/0.008788, allocations: 0 / 331.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Tearing: time 1.122e-06/0.008795, allocations: 4 kB / 331.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Categorize: time 2.124e-06/0.008802, allocations: 0 / 331.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Solve: time 2.934e-05/0.008836, allocations: 128 / 331.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Jacobian: time 2.886e-06/0.008845, allocations: 7.938 kB / 331.8 MB, free: 14.42 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.045e-05/0.00889, allocations: 19.03 kB / 331.8 MB, free: 14.4 MB / 286.1 MB Notification: Performance of SimCode: time 0.001849/0.01074, allocations: 1.348 MB / 333.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of Templates: time 0.005559/0.01632, allocations: 2.641 MB / 335.8 MB, free: 10.41 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.makefile make -j1 -f Modelica_3.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_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.1_Modelica.Utilities.Examples.readRealParameterModel.o Modelica_3.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_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.1_Modelica.Utilities.Examples.readRealParameterModel_functions.o Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c Modelica_3.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.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:30:34: error: use of undeclared identifier '_OMC_LIT2' if((stringEqual(_signOfNumber, _OMC_LIT2))) ^ Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:30:34: error: use of undeclared identifier '_OMC_LIT2' Modelica_3.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.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:40:32: error: use of undeclared identifier '_OMC_LIT0' if((stringEqual(_opString, _OMC_LIT0))) ^ Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:40:32: error: use of undeclared identifier '_OMC_LIT0' Modelica_3.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.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:48:42: error: use of undeclared identifier '_OMC_LIT1' Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:102:27: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_fileName); ^ Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:103:36: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ Modelica_3.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.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.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:151:33: error: use of undeclared identifier '_OMC_LIT6' tmpMeta6 = stringAppend(_OMC_LIT6,_message); ^ Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:163:29: error: use of undeclared identifier '_OMC_LIT11' tmpMeta9 = stringAppend(_OMC_LIT11,_name); ^ Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:164:39: error: use of undeclared identifier '_OMC_LIT12' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT12); ^ Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:166:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta12 = stringAppend(tmpMeta11,_OMC_LIT13); ^ Modelica_3.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.1_Modelica.Utilities.Examples.readRealParameterModel_functions.c:224:82: error: use of undeclared identifier '_OMC_LIT15' Modelica_3.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.1_Modelica.Utilities.Examples.readRealParameterModel_functions.o] Error 1