Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001099/0.001099, allocations: 92.02 kB / 16.33 MB, free: 6.062 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.001308/0.001308, allocations: 183.3 kB / 17.22 MB, free: 5.938 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.486/1.486, allocations: 223.3 MB / 241.2 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.693/0.693, allocations: 114.4 MB / 406.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 8 kB / 494.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1617, allocations: 77.26 MB / 0.5583 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.0005708/0.1623, allocations: 238.3 kB / 0.5585 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.1644, allocations: 1.535 MB / 0.56 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.17e-05/0.1644, allocations: 3.938 kB / 0.56 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.1646, allocations: 63.91 kB / 0.5601 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.736e-05/0.1646, allocations: 27.95 kB / 0.5601 GB, free: 9.047 MB / 430.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.0007149/0.1653, allocations: 191.5 kB / 0.5603 GB, free: 8.859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.1654, allocations: 23.97 kB / 0.5603 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.1655, allocations: 4 kB / 0.5603 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.1655, allocations: 27.89 kB / 0.5604 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/0.1656, allocations: 31.91 kB / 0.5604 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.1656, allocations: 4 kB / 0.5604 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.166, allocations: 247.6 kB / 0.5606 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.166, allocations: 31.86 kB / 0.5607 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.1661, allocations: 41.56 kB / 0.5607 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.1663, allocations: 195.7 kB / 0.5609 GB, free: 8.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1663, allocations: 0 / 0.5609 GB, free: 8.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1663, allocations: 0 / 0.5609 GB, free: 8.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1664, allocations: 0 / 0.5609 GB, free: 8.258 MB / 430.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.0003812/0.1667, allocations: 435 kB / 0.5613 GB, free: 7.785 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1668, allocations: 12.02 kB / 0.5613 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.1668, allocations: 11.91 kB / 0.5613 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.167, allocations: 186.9 kB / 0.5615 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-06/0.167, allocations: 0 / 0.5615 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-06/0.167, allocations: 0 / 0.5615 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.418e-05/0.1671, allocations: 45.62 kB / 0.5615 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1671, allocations: 3.953 kB / 0.5616 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.1671, allocations: 4 kB / 0.5616 GB, free: 7.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1671, allocations: 4 kB / 0.5616 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.331e-05/0.1672, allocations: 16 kB / 0.5616 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1673, allocations: 189.5 kB / 0.5618 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.086e-05/0.1674, allocations: 26.58 kB / 0.5618 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.1674, allocations: 16.91 kB / 0.5618 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.1675, allocations: 8 kB / 0.5618 GB, free: 7.164 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1675, allocations: 34.56 kB / 0.5618 GB, free: 7.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1675, allocations: 3.938 kB / 0.5618 GB, free: 7.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.1676, allocations: 69.53 kB / 0.5619 GB, free: 7.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1677, allocations: 51.41 kB / 0.562 GB, free: 6.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1679, allocations: 215.8 kB / 0.5622 GB, free: 6.762 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1679, allocations: 25.7 kB / 0.5622 GB, free: 6.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.1679, allocations: 100.1 kB / 0.5623 GB, free: 6.629 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.168, allocations: 3.906 kB / 0.5623 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.168, allocations: 128 / 0.5623 GB, free: 6.625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.1681, allocations: 326.8 kB / 0.5626 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/0.1681, allocations: 55.97 kB / 0.5627 GB, free: 6.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.1682, allocations: 55.97 kB / 0.5627 GB, free: 6.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.1683, allocations: 62.09 kB / 0.5628 GB, free: 6.129 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1683, allocations: 0 / 0.5628 GB, free: 6.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001629/0.1684, allocations: 153.5 kB / 0.5629 GB, free: 5.973 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1685, allocations: 11.98 kB / 0.5629 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1685, allocations: 0 / 0.5629 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.1685, allocations: 0 / 0.5629 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-05/0.1685, allocations: 8.016 kB / 0.5629 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1685, allocations: 0 / 0.5629 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.1686, allocations: 19.78 kB / 0.5629 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.1686, allocations: 0 / 0.5629 GB, free: 5.934 MB / 430.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 (cmp,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],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.0001332/0.1687, allocations: 133.8 kB / 0.5631 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.1687, allocations: 11.81 kB / 0.5631 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.898e-05/0.1688, allocations: 66.19 kB / 0.5631 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1688, allocations: 4.031 kB / 0.5632 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1689, allocations: 3.953 kB / 0.5632 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1689, allocations: 0 / 0.5632 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.169, allocations: 185.6 kB / 0.5633 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.169, allocations: 0 / 0.5633 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-06/0.169, allocations: 0 / 0.5633 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.169, allocations: 4 kB / 0.5633 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.169, allocations: 0 / 0.5633 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.169, allocations: 0 / 0.5633 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.169, allocations: 0 / 0.5633 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.317e-05/0.1691, allocations: 88.98 kB / 0.5634 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.1692, allocations: 84.92 kB / 0.5635 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1692, allocations: 7.984 kB / 0.5635 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.37e-05/0.1692, allocations: 7.938 kB / 0.5635 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.1692, allocations: 0 / 0.5635 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1693, allocations: 0 / 0.5635 GB, free: 5.246 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1694, allocations: 153.8 kB / 0.5637 GB, free: 5.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1694, allocations: 0 / 0.5637 GB, free: 5.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.1697, allocations: 95.97 kB / 0.5638 GB, free: 5.004 MB / 430.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 (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.0004723/0.1702, allocations: 229.4 kB / 0.564 GB, free: 4.797 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.1703, allocations: 125.7 kB / 0.5641 GB, free: 4.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1704, allocations: 4.062 kB / 0.5641 GB, free: 4.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.1704, allocations: 11.98 kB / 0.5641 GB, free: 4.652 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.1705, allocations: 4.188 kB / 0.5641 GB, free: 4.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.1708, allocations: 241.6 kB / 0.5643 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.1711, allocations: 0.7043 MB / 0.565 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.1711, allocations: 11.42 kB / 0.565 GB, free: 3.637 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1711, allocations: 0 / 0.565 GB, free: 3.637 MB / 430.1 MB Notification: Performance of Templates: time 0.004416/0.1756, allocations: 2.36 MB / 0.5673 GB, free: 1.277 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.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 OMCppIBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.o] Error 1