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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(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.00113/0.00113, allocations: 100.5 kB / 15.71 MB, free: 452 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.001572/0.001572, allocations: 176 kB / 16.58 MB, free: 6.422 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.509/1.509, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.175/1.175, allocations: 143.4 MB / 435.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 8 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2112, allocations: 83.42 MB / 0.5981 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.0007198/0.212, allocations: 238.3 kB / 0.5983 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.2144, allocations: 1.545 MB / 0.5998 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.2145, allocations: 0 / 0.5998 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.2147, allocations: 15.92 kB / 0.5998 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.018e-05/0.2147, allocations: 11.98 kB / 0.5998 GB, free: 6.012 MB / 0.4981 GB [/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.0009026/0.2156, allocations: 187.6 kB / 0.6 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.865e-05/0.2157, allocations: 23.86 kB / 0.6 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.2158, allocations: 4 kB / 0.6 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/0.2158, allocations: 15.92 kB / 0.6 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.2158, allocations: 19.86 kB / 0.6001 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2159, allocations: 0 / 0.6001 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005478/0.2164, allocations: 259.6 kB / 0.6003 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.2165, allocations: 19.92 kB / 0.6003 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.2165, allocations: 25.7 kB / 0.6003 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.2168, allocations: 191.7 kB / 0.6005 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2168, allocations: 4 kB / 0.6005 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2168, allocations: 0 / 0.6005 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2169, allocations: 4 kB / 0.6005 GB, free: 5.266 MB / 0.4981 GB 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.0004278/0.2173, allocations: 403.2 kB / 0.6009 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2173, allocations: 8.031 kB / 0.6009 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.2174, allocations: 11.91 kB / 0.6009 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.2176, allocations: 178.9 kB / 0.6011 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.2176, allocations: 4 kB / 0.6011 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.2176, allocations: 0 / 0.6011 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.2177, allocations: 33.7 kB / 0.6011 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2177, allocations: 0 / 0.6011 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2177, allocations: 7.984 kB / 0.6012 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2177, allocations: 0 / 0.6012 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.916e-05/0.2178, allocations: 12 kB / 0.6012 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.218, allocations: 189.5 kB / 0.6013 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.218, allocations: 26.52 kB / 0.6014 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/0.2181, allocations: 16.91 kB / 0.6014 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.2181, allocations: 7.984 kB / 0.6014 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2181, allocations: 42.56 kB / 0.6014 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.2181, allocations: 0 / 0.6014 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001557/0.2183, allocations: 61.58 kB / 0.6015 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.2184, allocations: 51.41 kB / 0.6015 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.2185, allocations: 164.1 kB / 0.6017 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2186, allocations: 29.7 kB / 0.6017 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.2186, allocations: 92.08 kB / 0.6018 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.2186, allocations: 3.906 kB / 0.6018 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.2186, allocations: 4.125 kB / 0.6018 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2188, allocations: 326.8 kB / 0.6021 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.2189, allocations: 39.98 kB / 0.6022 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/0.2189, allocations: 39.98 kB / 0.6022 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/0.219, allocations: 39.98 kB / 0.6022 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.219, allocations: 4 kB / 0.6023 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001538/0.2191, allocations: 125.5 kB / 0.6024 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2192, allocations: 4.938 kB / 0.6024 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.2192, allocations: 0 / 0.6024 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2192, allocations: 8.062 kB / 0.6024 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.389e-05/0.2192, allocations: 3.938 kB / 0.6024 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2192, allocations: 0 / 0.6024 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.2193, allocations: 7.891 kB / 0.6024 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2193, allocations: 4 kB / 0.6024 GB, free: 3.141 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (cmp,labels[1],labels[2],labels[3],labels[4],labels[5],cluster_size[1],cluster_size[2],cluster_size[3]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.2194, allocations: 129.7 kB / 0.6025 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.2195, allocations: 7.906 kB / 0.6025 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.2196, allocations: 61.5 kB / 0.6026 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2196, allocations: 0 / 0.6026 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2196, allocations: 0 / 0.6026 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2196, allocations: 0 / 0.6026 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.2198, allocations: 177.5 kB / 0.6028 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2198, allocations: 4 kB / 0.6028 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-06/0.2198, allocations: 0 / 0.6028 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2198, allocations: 0 / 0.6028 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.2198, allocations: 0 / 0.6028 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2198, allocations: 0 / 0.6028 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2198, allocations: 0 / 0.6028 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.636e-05/0.2199, allocations: 88.98 kB / 0.6028 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.22, allocations: 88.97 kB / 0.6029 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.22, allocations: 0 / 0.6029 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.22, allocations: 0 / 0.6029 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.22, allocations: 0 / 0.6029 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.22, allocations: 0 / 0.6029 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.266e-05/0.2201, allocations: 132.5 kB / 0.6031 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2201, allocations: 0 / 0.6031 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003412/0.2205, allocations: 84.02 kB / 0.6031 GB, free: 2.281 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005035/0.221, allocations: 230 kB / 0.6034 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.2212, allocations: 101.7 kB / 0.6035 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2212, allocations: 4.062 kB / 0.6035 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-05/0.2212, allocations: 19.86 kB / 0.6035 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.2213, allocations: 0 / 0.6035 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.2216, allocations: 192.9 kB / 0.6037 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.2219, allocations: 0.6927 MB / 0.6043 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.222, allocations: 11.44 kB / 0.6043 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.222, allocations: 0 / 0.6043 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of Templates: time 0.3322/0.5541, allocations: 2.242 MB / 0.6065 GB, free: 39.88 MB / 0.4981 GB 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++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1dCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1dCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1dCalcHelperMain.o] Error 1