Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.0.0_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.0009164/0.0009165, allocations: 105.6 kB / 17.69 MB, free: 5.523 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.0009285/0.0009285, allocations: 192.7 kB / 18.63 MB, free: 4.594 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.189/1.189, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.126e-05, allocations: 6.219 kB / 302 MB, free: 5.238 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001975/0.002012, allocations: 1.183 MB / 303.2 MB, free: 4.059 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.004493, allocations: 1.962 MB / 305.1 MB, free: 2.09 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.004524, allocations: 1.156 kB / 305.1 MB, free: 2.09 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.004543, allocations: 0 / 305.1 MB, free: 2.09 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.0008972/0.005454, allocations: 434.9 kB / 305.6 MB, free: 1.668 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.122e-05/0.005484, allocations: 8 kB / 305.6 MB, free: 1.66 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 4.022e-05/0.00553, allocations: 7.938 kB / 305.6 MB, free: 1.652 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.00557, allocations: 7.922 kB / 305.6 MB, free: 1.645 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.153e-05/0.005597, allocations: 19.92 kB / 305.6 MB, free: 1.625 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.063e-05/0.005693, allocations: 4 kB / 305.6 MB, free: 1.621 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 7.334e-06/0.005708, allocations: 0 / 305.6 MB, free: 1.621 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.006224, allocations: 483.4 kB / 306.1 MB, free: 1.148 MB / 238.1 MB Notification: Performance of combineBinaries: time 2.845e-05/0.006262, allocations: 15.84 kB / 306.1 MB, free: 1.133 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 8.426e-06/0.006276, allocations: 15.75 kB / 306.1 MB, free: 1.117 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 9.578e-06/0.00629, allocations: 0 / 306.1 MB, free: 1.117 MB / 238.1 MB Notification: Performance of FrontEnd: time 6.462e-06/0.006301, allocations: 0 / 306.1 MB, free: 1.117 MB / 238.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.0001887/0.006494, allocations: 177.1 kB / 306.3 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FunctionAlias: time 1.003e-05/0.006509, allocations: 3.938 kB / 306.3 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of Early Inline: time 3.912e-05/0.006553, allocations: 40.38 kB / 306.3 MB, free: 0.7734 MB / 238.1 MB Notification: Performance of simplify1: time 4.8e-07/0.006558, allocations: 0 / 306.3 MB, free: 0.7734 MB / 238.1 MB Notification: Performance of Alias: time 3.637e-05/0.0066, allocations: 56.56 kB / 306.4 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of simplify2: time 4.9e-07/0.006606, allocations: 0 / 306.4 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of Events: time 3.707e-06/0.006614, allocations: 0 / 306.4 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of Detect States: time 3.653e-05/0.006654, allocations: 24.23 kB / 306.4 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of Partitioning: time 1.061e-05/0.00667, allocations: 0 / 306.4 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of Causalize: time 3.938e-06/0.006678, allocations: 3.938 kB / 306.4 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of After Index Reduction Inline: time 2.837e-05/0.006711, allocations: 44.38 kB / 306.5 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of Inline: time 0.0001088/0.006825, allocations: 72.42 kB / 306.5 MB, free: 472 kB / 238.1 MB Notification: Performance of Partitioning: time 1.263e-05/0.006846, allocations: 12.12 kB / 306.5 MB, free: 452 kB / 238.1 MB Notification: Performance of Cleanup: time 5.721e-06/0.006858, allocations: 11.92 kB / 306.6 MB, free: 440 kB / 238.1 MB Notification: Performance of Causalize: time 0.0001329/0.006996, allocations: 56.09 kB / 306.6 MB, free: 376 kB / 238.1 MB Notification: Performance of Tearing: time 3.997e-06/0.007008, allocations: 0 / 306.6 MB, free: 376 kB / 238.1 MB Notification: Performance of Initialization: time 3.41e-07/0.007013, allocations: 0 / 306.6 MB, free: 376 kB / 238.1 MB Notification: Performance of Tearing: time 6.71e-07/0.007017, allocations: 0 / 306.6 MB, free: 376 kB / 238.1 MB Notification: Performance of Categorize: time 1.393e-06/0.007022, allocations: 0 / 306.6 MB, free: 376 kB / 238.1 MB Notification: Performance of Solve: time 2.19e-05/0.007049, allocations: 4 kB / 306.6 MB, free: 372 kB / 238.1 MB Notification: Performance of Jacobian: time 3.877e-06/0.007058, allocations: 0 / 306.6 MB, free: 372 kB / 238.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.062e-05/0.007093, allocations: 35.84 kB / 306.6 MB, free: 340 kB / 238.1 MB Notification: Performance of SimCode: time 0.001355/0.008453, allocations: 1.368 MB / 308 MB, free: 15.02 MB / 254.1 MB Notification: Performance of Templates: time 0.004701/0.01316, allocations: 2.633 MB / 310.6 MB, free: 12.38 MB / 254.1 MB make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.makefile make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.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=Modelica_4_0_0_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_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.o Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.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=Modelica_4_0_0_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_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.o Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c Modelica_4.0.0_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_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:30:34: error: use of undeclared identifier '_OMC_LIT2' if((stringEqual(_signOfNumber, _OMC_LIT2))) ^ Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:30:34: error: use of undeclared identifier '_OMC_LIT2' Modelica_4.0.0_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_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:40:32: error: use of undeclared identifier '_OMC_LIT0' if((stringEqual(_opString, _OMC_LIT0))) ^ Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:40:32: error: use of undeclared identifier '_OMC_LIT0' Modelica_4.0.0_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_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:48:42: error: use of undeclared identifier '_OMC_LIT1' Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:102:27: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_fileName); ^ Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:103:36: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ Modelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:151:33: error: use of undeclared identifier '_OMC_LIT6' tmpMeta6 = stringAppend(_OMC_LIT6,_message); ^ Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:163:29: error: use of undeclared identifier '_OMC_LIT11' tmpMeta9 = stringAppend(_OMC_LIT11,_name); ^ Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:164:39: error: use of undeclared identifier '_OMC_LIT12' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT12); ^ Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:166:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta12 = stringAppend(tmpMeta11,_OMC_LIT13); ^ Modelica_4.0.0_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_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.c:224:82: error: use of undeclared identifier '_OMC_LIT15' Modelica_4.0.0_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_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_functions.o] Error 1