Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.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.0007838/0.0007838, allocations: 102.6 kB / 15.71 MB, free: 460 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.0008626/0.0008628, allocations: 174.2 kB / 16.58 MB, free: 6.402 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.439/1.439, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.859/2.859, allocations: 436.7 MB / 0.7113 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003906, allocations: 8 kB / 0.8717 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9127/0.9131, allocations: 153.6 MB / 1.022 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.0008896/0.9141, allocations: 259.8 kB / 1.022 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.9168, allocations: 1.541 MB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.9169, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.9172, allocations: 75.77 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.9e-05/0.9172, allocations: 27.95 kB / 1.024 GB, free: 15.29 MB / 0.7794 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.0008757/0.9181, allocations: 194.5 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.9182, allocations: 27.91 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.731e-05/0.9182, allocations: 4 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.9183, allocations: 23.91 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.9184, allocations: 27.95 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.9184, allocations: 4 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.9188, allocations: 247.6 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.9189, allocations: 27.97 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.919, allocations: 41.64 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.9192, allocations: 195.7 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.9193, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9193, allocations: 3.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.9193, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 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.0005127/0.9198, allocations: 424.8 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.9199, allocations: 15.92 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.9199, allocations: 11.81 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.9201, allocations: 187 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.9201, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.9202, allocations: 4 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.9203, allocations: 41.64 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.9203, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.9203, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.9203, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.9204, allocations: 15.98 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.9206, allocations: 193.5 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.334e-05/0.9207, allocations: 30.52 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.9207, allocations: 16.91 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.9207, allocations: 8 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.9208, allocations: 38.45 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.9208, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001722/0.921, allocations: 73.48 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.921, allocations: 55.34 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.9213, allocations: 211.6 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.9214, allocations: 25.7 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.9214, allocations: 108 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.9215, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-06/0.9215, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.9216, allocations: 322.8 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.9217, allocations: 51.98 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.945e-05/0.9218, allocations: 59.97 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.272e-05/0.9218, allocations: 62.88 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.9219, allocations: 4.031 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001944/0.9221, allocations: 165.4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.9221, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.9221, allocations: 11.94 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.9221, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-05/0.9221, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.9222, allocations: 3.938 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.9222, allocations: 11.84 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.9222, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB 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.0001872/0.9224, allocations: 133.8 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.9224, allocations: 7.906 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.9225, allocations: 62.25 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.9225, allocations: 7.938 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.9226, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.9226, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.9227, allocations: 181.7 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9227, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-06/0.9227, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.9227, allocations: 8.031 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.9228, allocations: 3.938 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9228, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9228, allocations: 3.953 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.9229, allocations: 88.86 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.923, allocations: 85.02 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.923, allocations: 4 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.192e-05/0.923, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.923, allocations: 7.984 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.923, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001522/0.9232, allocations: 143.2 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9232, allocations: 3.938 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003436/0.9235, allocations: 91.98 kB / 1.027 GB, free: 11.25 MB / 0.7794 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.0005316/0.9241, allocations: 219.9 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.9243, allocations: 129.6 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.9243, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-05/0.9244, allocations: 11.98 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.9246, allocations: 4.188 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.925, allocations: 249.5 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.9254, allocations: 0.7043 MB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.9255, allocations: 7.438 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.9255, allocations: 7.938 kB / 1.028 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of Templates: time 0.005435/0.9309, allocations: 2.354 MB / 1.031 GB, free: 7.52 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d.makefile make -j1 -f Buildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.o] Error 1