Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) 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(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 106.5 kB / 16.42 MB, free: 6.484 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.001254/0.001254, allocations: 187.2 kB / 17.35 MB, free: 5.703 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9614/0.9614, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.845e-05/4.847e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.00166/0.001717, allocations: 0.5163 MB / 0.5966 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.004255, allocations: 1.6 MB / 0.5982 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.00431, allocations: 7.875 kB / 0.5982 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.004513, allocations: 15.97 kB / 0.5982 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.287e-05/0.004555, allocations: 17.08 kB / 0.5982 GB, free: 10.23 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.005722, allocations: 250.8 kB / 0.5984 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.005841, allocations: 25.53 kB / 0.5985 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.0059, allocations: 4 kB / 0.5985 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.749e-05/0.005943, allocations: 7.984 kB / 0.5985 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.005999, allocations: 23.91 kB / 0.5985 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.006019, allocations: 0.625 kB / 0.5985 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.006581, allocations: 328.8 kB / 0.5988 GB, free: 9.605 MB / 446.1 MB Notification: Performance of combineBinaries: time 6.784e-05/0.006659, allocations: 51.41 kB / 0.5989 GB, free: 9.555 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.312e-05/0.006687, allocations: 27.66 kB / 0.5989 GB, free: 9.527 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/0.006708, allocations: 1.406 kB / 0.5989 GB, free: 9.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.233e-05/0.006725, allocations: 0 / 0.5989 GB, free: 9.527 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.0004128/0.007143, allocations: 236.3 kB / 0.5991 GB, free: 9.199 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.36e-05/0.007223, allocations: 15.88 kB / 0.5991 GB, free: 9.184 MB / 446.1 MB Notification: Performance of Early Inline: time 7.421e-05/0.007308, allocations: 58.23 kB / 0.5992 GB, free: 9.102 MB / 446.1 MB Notification: Performance of simplify1: time 6.783e-06/0.00732, allocations: 0 / 0.5992 GB, free: 9.102 MB / 446.1 MB Notification: Performance of Alias: time 0.0002802/0.007604, allocations: 102.5 kB / 0.5993 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simplify2: time 3.346e-06/0.007617, allocations: 1.5 kB / 0.5993 GB, free: 8.957 MB / 446.1 MB Notification: Performance of Detect States: time 6.515e-05/0.007687, allocations: 32.19 kB / 0.5993 GB, free: 8.91 MB / 446.1 MB Notification: Performance of Events: time 1.895e-05/0.007712, allocations: 0 / 0.5993 GB, free: 8.91 MB / 446.1 MB Notification: Performance of Partitioning: time 4.062e-05/0.00776, allocations: 12.88 kB / 0.5993 GB, free: 8.891 MB / 446.1 MB Notification: Performance of Causalize: time 5.794e-05/0.007825, allocations: 29.55 kB / 0.5994 GB, free: 8.855 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 5.354e-05/0.007884, allocations: 49.39 kB / 0.5994 GB, free: 8.781 MB / 446.1 MB Notification: Performance of Inline: time 9.283e-05/0.007983, allocations: 73.5 kB / 0.5995 GB, free: 8.676 MB / 446.1 MB Notification: Performance of Partitioning: time 1.139e-05/0.008002, allocations: 13.62 kB / 0.5995 GB, free: 8.656 MB / 446.1 MB Notification: Performance of Cleanup: time 1.214e-05/0.008019, allocations: 7.922 kB / 0.5995 GB, free: 8.648 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002096/0.008233, allocations: 141 kB / 0.5996 GB, free: 8.516 MB / 446.1 MB Notification: Performance of Tearing: time 1.47e-05/0.008257, allocations: 0 / 0.5996 GB, free: 8.516 MB / 446.1 MB Notification: Performance of Initialization: time 7.42e-07/0.008264, allocations: 0.7188 kB / 0.5996 GB, free: 8.516 MB / 446.1 MB Notification: Performance of Tearing: time 1.813e-06/0.008271, allocations: 0 / 0.5996 GB, free: 8.516 MB / 446.1 MB Notification: Performance of Categorize: time 1.139e-05/0.008286, allocations: 9.938 kB / 0.5996 GB, free: 8.508 MB / 446.1 MB Notification: Performance of Solve: time 3.478e-05/0.008326, allocations: 0 / 0.5996 GB, free: 8.508 MB / 446.1 MB Notification: Performance of Jacobian: time 3.907e-06/0.008334, allocations: 0 / 0.5996 GB, free: 8.508 MB / 446.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: ......... 1 * 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: ................. 1 (1) {cmp} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, 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: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * 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.856e-05/0.008378, allocations: 18.08 kB / 0.5997 GB, free: 8.492 MB / 446.1 MB Notification: Performance of SimCode: time 0.001327/0.009711, allocations: 1.21 MB / 0.6008 GB, free: 7.285 MB / 446.1 MB Notification: Performance of Templates: time 0.005434/0.01516, allocations: 2.081 MB / 0.6029 GB, free: 5.25 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.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=BuildSysPro_BuildSysPro_IBPSA_Utilities_Clustering_Validation_KMeans_1d -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 BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.o BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.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=BuildSysPro_BuildSysPro_IBPSA_Utilities_Clustering_Validation_KMeans_1d -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 BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d_functions.o BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d_functions.c BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d_functions.c:1021:42: error: use of undeclared identifier '_OMC_LIT0' tmpMeta34 = stringAppend(_OMC_LIT0,tmp33); ^ BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d_functions.c:1022:52: error: use of undeclared identifier '_OMC_LIT1' tmpMeta35 = stringAppend(tmpMeta34,_OMC_LIT1); ^ 2 errors generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d_functions.o] Error 1