Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 108.9 kB / 16.42 MB, free: 6.418 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.001101/0.001101, allocations: 190 kB / 17.36 MB, free: 5.684 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.121/1.121, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.231/1.231, allocations: 251.7 MB / 0.51 GB, free: 384 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.075e-05, allocations: 5.656 kB / 0.7264 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.00155/0.00157, allocations: 1.227 MB / 0.7276 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.003034, allocations: 1.253 MB / 0.7288 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.003058, allocations: 0 / 0.7288 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.003078, allocations: 0 / 0.7288 GB, free: 2.246 MB / 0.5606 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 7.0.3-maint.7.0.x/Experimental/DistrictHeatingCooling/SubStations/VaporCompression/BaseClasses/getPeakLoad.mo:2:1-88:16:writable] Warning: Pure function 'Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.getPeakLoad' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.0005837/0.003676, allocations: 211.3 kB / 0.729 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 8.098e-05/0.003765, allocations: 39.27 kB / 0.729 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.687e-05/0.003818, allocations: 15.98 kB / 0.729 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.055e-05/0.003853, allocations: 3.984 kB / 0.7291 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/0.003878, allocations: 15.88 kB / 0.7291 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.003994, allocations: 15.92 kB / 0.7291 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.265e-06/0.004008, allocations: 0 / 0.7291 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.004316, allocations: 263.7 kB / 0.7293 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of combineBinaries: time 3.099e-05/0.004355, allocations: 19.83 kB / 0.7294 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 7.133e-06/0.004367, allocations: 7.906 kB / 0.7294 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.218e-06/0.00438, allocations: 0 / 0.7294 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.692e-06/0.004392, allocations: 11.92 kB / 0.7294 GB, free: 1.656 MB / 0.5606 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.0002094/0.004605, allocations: 177.2 kB / 0.7295 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 8.486e-06/0.004619, allocations: 3.953 kB / 0.7295 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of Early Inline: time 4.222e-05/0.004666, allocations: 52.28 kB / 0.7296 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simplify1: time 1.24e-05/0.004682, allocations: 0 / 0.7296 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of Alias: time 3.707e-05/0.004723, allocations: 48.62 kB / 0.7296 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simplify2: time 5.38e-06/0.004732, allocations: 7.984 kB / 0.7296 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of Events: time 7.623e-05/0.004812, allocations: 39.86 kB / 0.7297 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of Detect States: time 5.347e-05/0.004872, allocations: 39.19 kB / 0.7297 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of Partitioning: time 5.14e-05/0.004928, allocations: 44.3 kB / 0.7298 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0001514/0.005085, allocations: 100.3 kB / 0.7299 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 5.363e-05/0.005145, allocations: 65.09 kB / 0.7299 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of Inline: time 0.000136/0.005288, allocations: 129.7 kB / 0.73 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of Partitioning: time 1.292e-05/0.005308, allocations: 16.12 kB / 0.7301 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of Cleanup: time 5.911e-06/0.005318, allocations: 0 / 0.7301 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0001335/0.005455, allocations: 128 kB / 0.7302 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of Tearing: time 4.148e-06/0.005467, allocations: 0 / 0.7302 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of Initialization: time 1.994e-06/0.005474, allocations: 4.125 kB / 0.7302 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of Tearing: time 7.91e-07/0.00548, allocations: 7.938 kB / 0.7302 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of Categorize: time 5.5e-06/0.005489, allocations: 0 / 0.7302 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of Solve: time 3.433e-05/0.005527, allocations: 15.92 kB / 0.7302 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of Jacobian: time 2.144e-06/0.005534, allocations: 0 / 0.7302 GB, free: 0.5 MB / 0.5606 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: ........... 6 (scalar:6, 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.258e-05/0.00556, allocations: 21.56 kB / 0.7302 GB, free: 500 kB / 0.5606 GB Notification: Performance of SimCode: time 0.0009624/0.006527, allocations: 1.151 MB / 0.7314 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of Templates: time 0.003954/0.01049, allocations: 2.1 MB / 0.7334 GB, free: 13.31 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.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_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_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_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.o Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.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_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_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_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.o Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:59:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_string); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:60:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:62:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT2); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:63:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT3); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:71:27: error: use of undeclared identifier '_OMC_LIT5' tmpMeta7 = stringAppend(_OMC_LIT5,_filNam); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:72:36: error: use of undeclared identifier '_OMC_LIT2' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT2); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.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_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:75:27: error: use of undeclared identifier '_OMC_LIT7' tmpMeta9 = stringAppend(_OMC_LIT7,_filNam); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:76:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT2); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:241:21: error: use of undeclared identifier '_OMC_LIT9' _repeatedString = _OMC_LIT9; ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:310:20: error: use of undeclared identifier '_OMC_LIT9' _delimiter = _OMC_LIT9; ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.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_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:340:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT15); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.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_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:347:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT13); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:386:31: error: use of undeclared identifier '_OMC_LIT17' tmpMeta1 = stringAppend(_OMC_LIT17,_message); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.c:391:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_message); ^ Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.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_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.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_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad_functions.o] Error 1