Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008751/0.0008752, allocations: 91.92 kB / 16.02 MB, free: 76 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.0009404/0.0009404, allocations: 183.4 kB / 16.92 MB, free: 6.926 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.36/1.36, allocations: 223.2 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 262.7 kB / 292.3 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9471/0.9471, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004285, allocations: 20.09 kB / 0.5993 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1747, allocations: 88.54 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.000713/0.1755, allocations: 310 kB / 0.6861 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002537/0.1758, allocations: 35.88 kB / 0.6861 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.028e-05/0.1758, allocations: 1.969 kB / 0.6861 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.1758, allocations: 0 / 0.6861 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.923e-06/0.1759, allocations: 0 / 0.6861 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1761, allocations: 7.938 kB / 0.6861 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.897e-05/0.1762, allocations: 4 kB / 0.6861 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.1762, allocations: 8.469 kB / 0.6861 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.1762, allocations: 0.5312 kB / 0.6861 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.1763, allocations: 4.875 kB / 0.6861 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.1763, allocations: 0 / 0.6861 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.911e-05/0.1764, allocations: 23.92 kB / 0.6862 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.1764, allocations: 0.75 kB / 0.6862 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1765, allocations: 25.7 kB / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.32e-05/0.1765, allocations: 9.172 kB / 0.6862 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1765, allocations: 0 / 0.6862 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1765, allocations: 0 / 0.6862 GB, free: 14.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.1766, allocations: 0.5625 kB / 0.6862 GB, free: 14.65 MB / 494.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.0002719/0.1768, allocations: 317 kB / 0.6865 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1769, allocations: 8.031 kB / 0.6865 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.1769, allocations: 8.875 kB / 0.6865 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.851e-05/0.177, allocations: 165.7 kB / 0.6867 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.177, allocations: 384 / 0.6867 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.177, allocations: 384 / 0.6867 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.761e-05/0.1771, allocations: 31.89 kB / 0.6867 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1771, allocations: 192 / 0.6867 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1772, allocations: 7.938 kB / 0.6867 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1772, allocations: 3.984 kB / 0.6867 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.1772, allocations: 10.8 kB / 0.6867 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.1773, allocations: 141.7 kB / 0.6869 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.122e-05/0.1774, allocations: 26.55 kB / 0.6869 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.1774, allocations: 8.859 kB / 0.6869 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.1774, allocations: 4.062 kB / 0.6869 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1775, allocations: 31.56 kB / 0.6869 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.1775, allocations: 0.5 kB / 0.6869 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.1776, allocations: 38.5 kB / 0.687 GB, free: 13.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.1777, allocations: 57.12 kB / 0.687 GB, free: 13.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.322e-05/0.1777, allocations: 93.86 kB / 0.6871 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1777, allocations: 25.7 kB / 0.6871 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.1778, allocations: 80.14 kB / 0.6872 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.1778, allocations: 0.75 kB / 0.6872 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.1778, allocations: 13.72 kB / 0.6872 GB, free: 13.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.1779, allocations: 311.5 kB / 0.6875 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.1779, allocations: 1.719 kB / 0.6875 GB, free: 13.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.178, allocations: 4 kB / 0.6875 GB, free: 13.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.505e-05/0.178, allocations: 8.844 kB / 0.6875 GB, free: 13.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.178, allocations: 4.656 kB / 0.6875 GB, free: 13.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.233e-05/0.1781, allocations: 32.17 kB / 0.6876 GB, free: 13.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1781, allocations: 4 kB / 0.6876 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1781, allocations: 0 / 0.6876 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1781, allocations: 7.875 kB / 0.6876 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.1782, allocations: 4 kB / 0.6876 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1782, allocations: 0 / 0.6876 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/0.1782, allocations: 6.281 kB / 0.6876 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1782, allocations: 4 kB / 0.6876 GB, free: 13.01 MB / 494.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.678e-05/0.1783, allocations: 115.1 kB / 0.6877 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-06/0.1783, allocations: 0 / 0.6877 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.7e-05/0.1784, allocations: 46.3 kB / 0.6877 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1784, allocations: 0.625 kB / 0.6877 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1784, allocations: 3.984 kB / 0.6878 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1784, allocations: 1.312 kB / 0.6878 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.452e-05/0.1785, allocations: 145.7 kB / 0.6879 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1785, allocations: 0 / 0.6879 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.1785, allocations: 4.75 kB / 0.6879 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1785, allocations: 3.938 kB / 0.6879 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1786, allocations: 4.188 kB / 0.6879 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1786, allocations: 7.938 kB / 0.6879 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1786, allocations: 0 / 0.6879 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.605e-05/0.1786, allocations: 57.12 kB / 0.688 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.1787, allocations: 81.02 kB / 0.688 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1787, allocations: 7.938 kB / 0.6881 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/0.1787, allocations: 4 kB / 0.6881 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.1787, allocations: 4 kB / 0.6881 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1788, allocations: 8.016 kB / 0.6881 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.489e-05/0.1788, allocations: 75.28 kB / 0.6881 GB, free: 12.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1788, allocations: 0 / 0.6881 GB, free: 12.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.179, allocations: 4 kB / 0.6881 GB, free: 12.35 MB / 494.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: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001542/0.1791, allocations: 103.2 kB / 0.6882 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.889e-05/0.1792, allocations: 7.938 kB / 0.6882 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1792, allocations: 0 / 0.6882 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.017e-05/0.1792, allocations: 8.062 kB / 0.6883 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1794, allocations: 2.062 kB / 0.6883 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.1795, allocations: 110.7 kB / 0.6884 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.1798, allocations: 0.6692 MB / 0.689 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.1798, allocations: 7.438 kB / 0.689 GB, free: 11.38 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1798, allocations: 0 / 0.689 GB, free: 11.38 MB / 494.1 MB Notification: Performance of Templates: time 0.001697/0.1815, allocations: 453.7 kB / 0.6895 GB, free: 10.94 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PolynomialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PolynomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PolynomialCalcHelperMain.o] Error 1