Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) 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(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001143, allocations: 102.5 kB / 16.37 MB, free: 6.367 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.001093/0.001093, allocations: 191.3 kB / 17.3 MB, free: 5.914 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.15/1.15, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.553/1.553, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/1.935e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001876/0.001908, allocations: 1.224 MB / 0.674 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.003376, allocations: 1.259 MB / 0.6753 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.003402, allocations: 0 / 0.6753 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.00342, allocations: 0 / 0.6753 GB, free: 3.434 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' 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: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: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/Strings.mo:638:3-686:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanReal' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function 'Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.0005953/0.004021, allocations: 215.2 kB / 0.6755 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.386e-05/0.004113, allocations: 43.05 kB / 0.6755 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.47e-05/0.004164, allocations: 19.92 kB / 0.6755 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.102e-05/0.004201, allocations: 4 kB / 0.6755 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.866e-05/0.004224, allocations: 4 kB / 0.6755 GB, free: 3.156 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.004364, allocations: 19.2 kB / 0.6756 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.004379, allocations: 0 / 0.6756 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.00467, allocations: 259.7 kB / 0.6758 GB, free: 2.887 MB / 0.545 GB Notification: Performance of combineBinaries: time 3.644e-05/0.004714, allocations: 31.75 kB / 0.6758 GB, free: 2.855 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 5.761e-06/0.004726, allocations: 7.906 kB / 0.6758 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.658e-06/0.00474, allocations: 4 kB / 0.6759 GB, free: 2.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.374e-06/0.004751, allocations: 0 / 0.6759 GB, free: 2.844 MB / 0.545 GB 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.0002172/0.004972, allocations: 179.9 kB / 0.676 GB, free: 2.57 MB / 0.545 GB Notification: Performance of FunctionAlias: time 7.764e-06/0.004987, allocations: 7.953 kB / 0.676 GB, free: 2.562 MB / 0.545 GB Notification: Performance of Early Inline: time 4.137e-05/0.005032, allocations: 40.36 kB / 0.6761 GB, free: 2.496 MB / 0.545 GB Notification: Performance of simplify1: time 1.266e-05/0.00505, allocations: 3.938 kB / 0.6761 GB, free: 2.492 MB / 0.545 GB Notification: Performance of Alias: time 4.183e-05/0.005095, allocations: 48.61 kB / 0.6761 GB, free: 2.406 MB / 0.545 GB Notification: Performance of simplify2: time 5.34e-06/0.005106, allocations: 8 kB / 0.6761 GB, free: 2.398 MB / 0.545 GB Notification: Performance of Events: time 7.585e-05/0.005186, allocations: 31.86 kB / 0.6762 GB, free: 2.367 MB / 0.545 GB Notification: Performance of Detect States: time 5.528e-05/0.005248, allocations: 56.09 kB / 0.6762 GB, free: 2.297 MB / 0.545 GB Notification: Performance of Partitioning: time 5.274e-05/0.005307, allocations: 36.38 kB / 0.6762 GB, free: 2.238 MB / 0.545 GB Notification: Performance of Causalize: time 0.0001517/0.005464, allocations: 92.98 kB / 0.6763 GB, free: 2.125 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 5.604e-05/0.005529, allocations: 72.42 kB / 0.6764 GB, free: 2.027 MB / 0.545 GB Notification: Performance of Inline: time 8.825e-05/0.005623, allocations: 88.39 kB / 0.6765 GB, free: 1.906 MB / 0.545 GB Notification: Performance of Partitioning: time 1.082e-05/0.005639, allocations: 12.12 kB / 0.6765 GB, free: 1.887 MB / 0.545 GB Notification: Performance of Cleanup: time 6.482e-06/0.00565, allocations: 4 kB / 0.6765 GB, free: 1.883 MB / 0.545 GB Notification: Performance of Causalize: time 8.386e-05/0.005738, allocations: 76.09 kB / 0.6766 GB, free: 1.801 MB / 0.545 GB Notification: Performance of Tearing: time 4.969e-06/0.005751, allocations: 3.938 kB / 0.6766 GB, free: 1.797 MB / 0.545 GB Notification: Performance of Initialization: time 3.21e-07/0.005756, allocations: 4.125 kB / 0.6766 GB, free: 1.793 MB / 0.545 GB Notification: Performance of Tearing: time 7.32e-07/0.005761, allocations: 0 / 0.6766 GB, free: 1.793 MB / 0.545 GB Notification: Performance of Categorize: time 4.99e-06/0.005769, allocations: 0 / 0.6766 GB, free: 1.793 MB / 0.545 GB Notification: Performance of Solve: time 2.868e-05/0.005802, allocations: 11.98 kB / 0.6766 GB, free: 1.781 MB / 0.545 GB Notification: Performance of Jacobian: time 3.537e-06/0.005811, allocations: 3.984 kB / 0.6766 GB, free: 1.777 MB / 0.545 GB 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: ......... 3 * 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: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] 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: [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 2.354e-05/0.005838, allocations: 17.39 kB / 0.6766 GB, free: 1.762 MB / 0.545 GB Notification: Performance of SimCode: time 0.0009675/0.00681, allocations: 1.146 MB / 0.6777 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of Templates: time 0.003737/0.01056, allocations: 1.989 MB / 0.6797 GB, free: 14.66 MB / 0.5606 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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=Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad -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 Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.o Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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=Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad -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 Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.o Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:59:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_string); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:60:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:62:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT2); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:63:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT3); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:71:27: error: use of undeclared identifier '_OMC_LIT5' tmpMeta7 = stringAppend(_OMC_LIT5,_filNam); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:72:36: error: use of undeclared identifier '_OMC_LIT2' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT2); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:73:158: error: use of undeclared identifier '_OMC_LIT6' _del = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _lin, omc_Modelica_Utilities_Strings_length(threadData, _string) + ((modelica_integer) 1), _OMC_LIT6, tmpMeta8 ,&_nexInd); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:75:27: error: use of undeclared identifier '_OMC_LIT7' tmpMeta9 = stringAppend(_OMC_LIT7,_filNam); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:76:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT2); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:241:21: error: use of undeclared identifier '_OMC_LIT9' _repeatedString = _OMC_LIT9; ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:310:20: error: use of undeclared identifier '_OMC_LIT9' _delimiter = _OMC_LIT9; ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:339:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta3 = stringAppend(_OMC_LIT14,string_array_get(_requiredDelimiters, 1, ((modelica_integer) 1))); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:340:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT15); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:346:31: error: use of undeclared identifier '_OMC_LIT12' tmpMeta6 = stringAppend(_OMC_LIT12,omc_Modelica_Utilities_Strings_scanDelimiter_concatenate(threadData, _requiredDelimiters)); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:347:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT13); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:386:31: error: use of undeclared identifier '_OMC_LIT17' tmpMeta1 = stringAppend(_OMC_LIT17,_message); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:391:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_message); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:470:29: error: use of undeclared identifier '_OMC_LIT18' tmpMeta1 = stringAppend(_OMC_LIT18,omc_Modelica_Utilities_Strings_substring(threadData, _string, _index2 - _maxIndex, _lenString)); ^ Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.c:478:133: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(omc_Modelica_Utilities_Strings_substring(threadData, _errString, ((modelica_integer) 1), _maxLenString),_OMC_LIT19); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_functions.o] Error 1