Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001081/0.001081, allocations: 91.67 kB / 16.33 MB, free: 6.797 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.001248/0.001248, allocations: 187.8 kB / 17.22 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.511/1.511, allocations: 223.2 MB / 241.2 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7762/0.7762, allocations: 114.3 MB / 406.7 MB, free: 8.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004301, allocations: 8 kB / 494.4 MB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4717, allocations: 77.24 MB / 0.5583 GB, free: 37.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.0006401/0.4724, allocations: 238.5 kB / 0.5585 GB, free: 36.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.4743, allocations: 1.541 MB / 0.56 GB, free: 35.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.4743, allocations: 1.625 kB / 0.56 GB, free: 35.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.4745, allocations: 20.64 kB / 0.56 GB, free: 35.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.626e-05/0.4745, allocations: 9.547 kB / 0.5601 GB, free: 35.79 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‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007193/0.4752, allocations: 203.1 kB / 0.5602 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.4753, allocations: 19.39 kB / 0.5603 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.4753, allocations: 1.875 kB / 0.5603 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.4754, allocations: 14.47 kB / 0.5603 GB, free: 35.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.4754, allocations: 15.95 kB / 0.5603 GB, free: 35.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.4755, allocations: 1.219 kB / 0.5603 GB, free: 35.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.4759, allocations: 256.2 kB / 0.5605 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.476, allocations: 15.25 kB / 0.5606 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.476, allocations: 35.11 kB / 0.5606 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.4763, allocations: 193.9 kB / 0.5608 GB, free: 35.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4763, allocations: 1.188 kB / 0.5608 GB, free: 35.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4763, allocations: 0 / 0.5608 GB, free: 35.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.4763, allocations: 0 / 0.5608 GB, free: 35.54 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 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003173/0.4766, allocations: 402.7 kB / 0.5612 GB, free: 35.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4767, allocations: 13.08 kB / 0.5612 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.4767, allocations: 8.812 kB / 0.5612 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.4769, allocations: 180.4 kB / 0.5613 GB, free: 34.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.4769, allocations: 3.047 kB / 0.5614 GB, free: 34.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.4769, allocations: 1.438 kB / 0.5614 GB, free: 34.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.477, allocations: 35.3 kB / 0.5614 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.477, allocations: 3.953 kB / 0.5614 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.477, allocations: 5.344 kB / 0.5614 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.477, allocations: 0 / 0.5614 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.4771, allocations: 23.38 kB / 0.5614 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.4772, allocations: 172.7 kB / 0.5616 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.248e-05/0.4773, allocations: 26.11 kB / 0.5616 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.4773, allocations: 12.55 kB / 0.5616 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.4773, allocations: 6.156 kB / 0.5616 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4774, allocations: 33.27 kB / 0.5617 GB, free: 34.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4774, allocations: 1.062 kB / 0.5617 GB, free: 34.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.4775, allocations: 72.08 kB / 0.5617 GB, free: 34.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.4775, allocations: 52.47 kB / 0.5618 GB, free: 34.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.4777, allocations: 173.7 kB / 0.5619 GB, free: 34.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.4777, allocations: 26.8 kB / 0.562 GB, free: 34.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.4778, allocations: 97.77 kB / 0.5621 GB, free: 34.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.4778, allocations: 0.5312 kB / 0.5621 GB, free: 34.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.4778, allocations: 1.5 kB / 0.5621 GB, free: 34.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.4778, allocations: 321 kB / 0.5624 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.354e-05/0.4779, allocations: 38.08 kB / 0.5624 GB, free: 33.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.926e-05/0.478, allocations: 41.8 kB / 0.5624 GB, free: 33.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.605e-05/0.478, allocations: 41.14 kB / 0.5625 GB, free: 33.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.478, allocations: 0 / 0.5625 GB, free: 33.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001586/0.4782, allocations: 135.1 kB / 0.5626 GB, free: 33.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4782, allocations: 5.656 kB / 0.5626 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.4783, allocations: 2.109 kB / 0.5626 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4783, allocations: 1.406 kB / 0.5626 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.236e-05/0.4783, allocations: 5.359 kB / 0.5626 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4783, allocations: 0.75 kB / 0.5626 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.4783, allocations: 11.06 kB / 0.5626 GB, free: 33.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4783, allocations: 0.9688 kB / 0.5626 GB, free: 33.85 MB / 446.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: 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.000111/0.4785, allocations: 125.2 kB / 0.5628 GB, free: 33.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.4785, allocations: 7.281 kB / 0.5628 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.4786, allocations: 61.7 kB / 0.5628 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4786, allocations: 1.641 kB / 0.5628 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4786, allocations: 3.953 kB / 0.5628 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4786, allocations: 0 / 0.5628 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.72e-05/0.4787, allocations: 172 kB / 0.563 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4787, allocations: 0 / 0.563 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-06/0.4787, allocations: 2.812 kB / 0.563 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4787, allocations: 1.078 kB / 0.563 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.4787, allocations: 2.562 kB / 0.563 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.4787, allocations: 4.453 kB / 0.563 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4787, allocations: 0 / 0.563 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.195e-05/0.4788, allocations: 79.83 kB / 0.5631 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.4789, allocations: 83.23 kB / 0.5632 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.4789, allocations: 1.906 kB / 0.5632 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.268e-05/0.4789, allocations: 4.594 kB / 0.5632 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.4789, allocations: 6.047 kB / 0.5632 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.4789, allocations: 1.688 kB / 0.5632 GB, free: 33.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.005e-05/0.479, allocations: 121.3 kB / 0.5633 GB, free: 33.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.479, allocations: 1.969 kB / 0.5633 GB, free: 33.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003205/0.4793, allocations: 86.73 kB / 0.5634 GB, free: 33.21 MB / 446.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.0005441/0.4799, allocations: 233.9 kB / 0.5636 GB, free: 33.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.4801, allocations: 97.5 kB / 0.5637 GB, free: 33.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4801, allocations: 1.156 kB / 0.5637 GB, free: 33.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.4801, allocations: 10.45 kB / 0.5637 GB, free: 33.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.4802, allocations: 4.844 kB / 0.5637 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.4805, allocations: 201.9 kB / 0.5639 GB, free: 32.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.4807, allocations: 0.6936 MB / 0.5646 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.4807, allocations: 9.672 kB / 0.5646 GB, free: 32.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4807, allocations: 4.469 kB / 0.5646 GB, free: 32.16 MB / 446.1 MB Notification: Performance of Templates: time 0.005896/0.4866, allocations: 2.238 MB / 0.5668 GB, free: 32.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile make -j1 -f IBPSA_latest_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 OMCppIBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1dCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1dCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1dCalcHelperMain.o] Error 1