Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0008534/0.0008538, 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.001076/0.001076, allocations: 174.6 kB / 16.58 MB, free: 6.023 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.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.099/1.099, allocations: 143.4 MB / 435.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 8 kB / 0.5166 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1995, allocations: 83.41 MB / 0.5981 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.000677/0.2002, allocations: 246.2 kB / 0.5983 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.2023, allocations: 1.541 MB / 0.5998 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.2024, allocations: 0 / 0.5998 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.2025, allocations: 55.91 kB / 0.5998 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.587e-05/0.2026, allocations: 35.89 kB / 0.5999 GB, free: 5.961 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.0007381/0.2033, allocations: 187.6 kB / 0.6001 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.2034, allocations: 31.91 kB / 0.6001 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.2035, allocations: 0 / 0.6001 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.2035, allocations: 23.95 kB / 0.6001 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.2036, allocations: 35.91 kB / 0.6001 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.2036, allocations: 0 / 0.6001 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.204, allocations: 251.6 kB / 0.6004 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.2041, allocations: 27.91 kB / 0.6004 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.2041, allocations: 37.64 kB / 0.6004 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.2044, allocations: 199.6 kB / 0.6006 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2044, allocations: 0 / 0.6006 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2044, allocations: 0 / 0.6006 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2044, allocations: 0 / 0.6006 GB, free: 5.176 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.0004251/0.2049, allocations: 431 kB / 0.601 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2049, allocations: 12.03 kB / 0.6011 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.205, allocations: 11.91 kB / 0.6011 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2051, allocations: 191.9 kB / 0.6013 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.2051, allocations: 3.938 kB / 0.6013 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.2052, allocations: 11.94 kB / 0.6013 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.2053, allocations: 37.69 kB / 0.6013 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.2053, allocations: 0 / 0.6013 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.2053, allocations: 0 / 0.6013 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2053, allocations: 0 / 0.6013 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.345e-05/0.2053, allocations: 20 kB / 0.6013 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.2055, allocations: 189.5 kB / 0.6015 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.296e-05/0.2056, allocations: 34.5 kB / 0.6015 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.2056, allocations: 16.91 kB / 0.6016 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.2056, allocations: 4 kB / 0.6016 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.2057, allocations: 34.5 kB / 0.6016 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2057, allocations: 0 / 0.6016 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.2058, allocations: 77.58 kB / 0.6017 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2059, allocations: 51.41 kB / 0.6017 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.2061, allocations: 215.9 kB / 0.6019 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.2061, allocations: 25.7 kB / 0.6019 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.2062, allocations: 104 kB / 0.602 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.2062, allocations: 0 / 0.602 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.2062, allocations: 4 kB / 0.602 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2063, allocations: 330.8 kB / 0.6024 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.2064, allocations: 51.98 kB / 0.6024 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.2064, allocations: 59.97 kB / 0.6025 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.052e-05/0.2065, allocations: 55.98 kB / 0.6025 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2065, allocations: 0 / 0.6025 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001738/0.2067, allocations: 161.5 kB / 0.6027 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2067, allocations: 4 kB / 0.6027 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.2067, allocations: 0 / 0.6027 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.2067, allocations: 0 / 0.6027 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.325e-05/0.2068, allocations: 4 kB / 0.6027 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2068, allocations: 0 / 0.6027 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.2068, allocations: 19.75 kB / 0.6027 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.2068, allocations: 7.984 kB / 0.6027 GB, free: 2.832 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: 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.0001491/0.207, allocations: 133.8 kB / 0.6028 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.207, allocations: 7.906 kB / 0.6028 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.2071, allocations: 66.19 kB / 0.6029 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2071, allocations: 0 / 0.6029 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.2071, allocations: 0 / 0.6029 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.2071, allocations: 4.031 kB / 0.6029 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.2072, allocations: 193.6 kB / 0.6031 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2073, allocations: 0 / 0.6031 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-06/0.2073, allocations: 0 / 0.6031 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2073, allocations: 0 / 0.6031 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.2073, allocations: 3.938 kB / 0.6031 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2073, allocations: 0 / 0.6031 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2073, allocations: 0 / 0.6031 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.959e-05/0.2074, allocations: 88.88 kB / 0.6032 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.2074, allocations: 92.95 kB / 0.6033 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.2074, allocations: 4 kB / 0.6033 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.2075, allocations: 4 kB / 0.6033 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.2075, allocations: 0 / 0.6033 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.2075, allocations: 0 / 0.6033 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001029/0.2076, allocations: 147.2 kB / 0.6034 GB, free: 2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2076, allocations: 0 / 0.6034 GB, free: 2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003178/0.2079, allocations: 83.98 kB / 0.6035 GB, free: 1.918 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.0004735/0.2084, allocations: 232.9 kB / 0.6037 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.2086, allocations: 121.7 kB / 0.6038 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2086, allocations: 0 / 0.6038 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-05/0.2086, allocations: 19.98 kB / 0.6039 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.2088, allocations: 8.25 kB / 0.6039 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.2091, allocations: 240.6 kB / 0.6041 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.2094, allocations: 0.7082 MB / 0.6048 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.2094, allocations: 7.438 kB / 0.6048 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2094, allocations: 0 / 0.6048 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of Templates: time 0.3439/0.5534, allocations: 2.361 MB / 0.6071 GB, free: 40.26 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile make -j1 -f BuildSysPro_BuildSysPro.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2dCalcHelperMain.o] Error 1