Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d") translateModel(BuildingSystems.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 179.7 kB / 16.92 MB, free: 6.652 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.404/1.404, allocations: 223.2 MB / 241 MB, free: 5.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 285.6 kB / 292.3 MB, free: 1.723 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9211/0.9211, allocations: 169.5 MB / 0.501 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004492, allocations: 19.8 kB / 0.5993 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1915, allocations: 88.54 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Clustering.Validation.KMeans_2d): time 0.0007024/0.1923, allocations: 244.6 kB / 0.686 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.1945, allocations: 1.611 MB / 0.6876 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.1945, allocations: 2.875 kB / 0.6876 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.1947, allocations: 63.83 kB / 0.6876 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.1948, allocations: 27.95 kB / 0.6877 GB, free: 13.11 MB / 494.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‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007919/0.1956, allocations: 197.1 kB / 0.6878 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.1957, allocations: 39.83 kB / 0.6879 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.1957, allocations: 4 kB / 0.6879 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.1958, allocations: 16.5 kB / 0.6879 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.1958, allocations: 44.55 kB / 0.6879 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1959, allocations: 0.5 kB / 0.6879 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.1963, allocations: 277.8 kB / 0.6882 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.1964, allocations: 27.91 kB / 0.6882 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.1964, allocations: 49.45 kB / 0.6883 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.1967, allocations: 211.8 kB / 0.6885 GB, free: 12.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1967, allocations: 0 / 0.6885 GB, free: 12.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1967, allocations: 0 / 0.6885 GB, free: 12.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1967, allocations: 0.5 kB / 0.6885 GB, free: 12.25 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005636/0.1973, allocations: 419.5 kB / 0.6889 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1973, allocations: 12.72 kB / 0.6889 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.1974, allocations: 12.84 kB / 0.6889 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1976, allocations: 193.7 kB / 0.6891 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1976, allocations: 384 / 0.6891 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1976, allocations: 0.9062 kB / 0.6891 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1977, allocations: 46.66 kB / 0.6891 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1978, allocations: 0 / 0.6891 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1978, allocations: 0.5 kB / 0.6891 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1978, allocations: 3.531 kB / 0.6891 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.1978, allocations: 23.92 kB / 0.6892 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.198, allocations: 181.6 kB / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.749e-05/0.1981, allocations: 26.56 kB / 0.6894 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.1981, allocations: 12.92 kB / 0.6894 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.1981, allocations: 8 kB / 0.6894 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1982, allocations: 43.06 kB / 0.6894 GB, free: 11.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1982, allocations: 0.6562 kB / 0.6894 GB, free: 11.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001564/0.1983, allocations: 74.14 kB / 0.6895 GB, free: 11.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1984, allocations: 51.97 kB / 0.6896 GB, free: 11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1986, allocations: 219.9 kB / 0.6898 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1986, allocations: 25.7 kB / 0.6898 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.1987, allocations: 102.1 kB / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.699e-06/0.1987, allocations: 0 / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.1987, allocations: 21.72 kB / 0.6899 GB, free: 10.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1988, allocations: 330.8 kB / 0.6902 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.361e-05/0.1989, allocations: 56.09 kB / 0.6903 GB, free: 10.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.199, allocations: 51.98 kB / 0.6903 GB, free: 10.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.392e-05/0.1991, allocations: 99.16 kB / 0.6904 GB, free: 10.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1991, allocations: 0 / 0.6904 GB, free: 10.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001733/0.1993, allocations: 165.3 kB / 0.6906 GB, free: 9.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1993, allocations: 9.812 kB / 0.6906 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1993, allocations: 0 / 0.6906 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1993, allocations: 0 / 0.6906 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.246e-05/0.1993, allocations: 0 / 0.6906 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1994, allocations: 7.984 kB / 0.6906 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.1994, allocations: 11.91 kB / 0.6906 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1994, allocations: 4 kB / 0.6906 GB, free: 9.879 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (cluster_size[3],cluster_size[2],cluster_size[1],labels[6],labels[5],labels[4],labels[3],labels[2],labels[1],cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.1995, allocations: 133.4 kB / 0.6907 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.1996, allocations: 15.75 kB / 0.6907 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.1997, allocations: 66.17 kB / 0.6908 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1997, allocations: 0 / 0.6908 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1997, allocations: 4 kB / 0.6908 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1997, allocations: 4.031 kB / 0.6908 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.1998, allocations: 177.7 kB / 0.691 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1998, allocations: 0 / 0.691 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-06/0.1998, allocations: 0 / 0.691 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1999, allocations: 7.922 kB / 0.691 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1999, allocations: 0 / 0.691 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1999, allocations: 4 kB / 0.691 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1999, allocations: 0 / 0.691 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.167e-05/0.2, allocations: 85.03 kB / 0.6911 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.834e-05/0.2001, allocations: 92.86 kB / 0.6912 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2001, allocations: 0 / 0.6912 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.205e-05/0.2001, allocations: 0 / 0.6912 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.2001, allocations: 3.938 kB / 0.6912 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2001, allocations: 3.984 kB / 0.6912 GB, free: 9.195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.2002, allocations: 148.4 kB / 0.6913 GB, free: 9.051 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2002, allocations: 3.938 kB / 0.6913 GB, free: 9.047 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.2006, allocations: 79.98 kB / 0.6914 GB, free: 8.969 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004957/0.2011, allocations: 238.2 kB / 0.6916 GB, free: 8.746 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.2013, allocations: 125.7 kB / 0.6917 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2013, allocations: 4 kB / 0.6917 GB, free: 8.613 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.672e-05/0.2013, allocations: 12.06 kB / 0.6918 GB, free: 8.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.2015, allocations: 6.281 kB / 0.6918 GB, free: 8.598 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.2018, allocations: 249.5 kB / 0.692 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2021, allocations: 0.7083 MB / 0.6927 GB, free: 7.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.2021, allocations: 11.44 kB / 0.6927 GB, free: 7.574 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2021, allocations: 7.875 kB / 0.6927 GB, free: 7.566 MB / 494.1 MB Notification: Performance of Templates: time 0.004252/0.2064, allocations: 2.353 MB / 0.695 GB, free: 5.211 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.o] Error 1