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.01894/0.01894, allocations: 96.19 kB / 15.87 MB, free: 6.289 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.00388/0.00388, allocations: 202.8 kB / 16.79 MB, free: 6.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.776/2.776, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003523/0.003523, allocations: 302.7 kB / 290.9 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.835/1.835, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00377/0.00377, allocations: 91.61 kB / 0.5951 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3642, allocations: 86.98 MB / 0.6801 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.00301/0.3673, allocations: 0.6496 MB / 0.6807 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003572/0.3677, allocations: 32.41 kB / 0.6807 GB, free: 484 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.442e-05/0.3677, allocations: 2.438 kB / 0.6808 GB, free: 484 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.3678, allocations: 0 / 0.6808 GB, free: 484 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.406e-06/0.3678, allocations: 3.938 kB / 0.6808 GB, free: 480 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.3682, allocations: 15.98 kB / 0.6808 GB, free: 464 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.533e-05/0.3683, allocations: 0 / 0.6808 GB, free: 464 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.306e-05/0.3684, allocations: 0 / 0.6808 GB, free: 464 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.3684, allocations: 8.641 kB / 0.6808 GB, free: 456 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.3685, allocations: 0 / 0.6808 GB, free: 456 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3685, allocations: 1.656 kB / 0.6808 GB, free: 456 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.3687, allocations: 15.98 kB / 0.6808 GB, free: 440 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.3687, allocations: 0 / 0.6808 GB, free: 440 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.3687, allocations: 7.984 kB / 0.6808 GB, free: 432 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3689, allocations: 14.98 kB / 0.6808 GB, free: 420 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3689, allocations: 0 / 0.6808 GB, free: 420 kB / 478.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.3689, allocations: 0 / 0.6808 GB, free: 420 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3689, allocations: 3.938 kB / 0.6808 GB, free: 416 kB / 478.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.000589/0.3695, allocations: 313.2 kB / 0.6811 GB, free: 52 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.3696, allocations: 8.031 kB / 0.6811 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.3696, allocations: 0.9375 kB / 0.6811 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.3698, allocations: 169.2 kB / 0.6813 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3699, allocations: 384 / 0.6813 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.3699, allocations: 5.25 kB / 0.6813 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3701, allocations: 30.27 kB / 0.6813 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3701, allocations: 0.8125 kB / 0.6813 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3701, allocations: 4.469 kB / 0.6813 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3701, allocations: 3.938 kB / 0.6813 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/0.3702, allocations: 5 kB / 0.6813 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.3704, allocations: 146.7 kB / 0.6815 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.381e-05/0.3705, allocations: 22.55 kB / 0.6815 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.3706, allocations: 16.8 kB / 0.6815 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/0.3706, allocations: 0 / 0.6815 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.3707, allocations: 34.62 kB / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.984e-06/0.3707, allocations: 0 / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002167/0.3709, allocations: 37.58 kB / 0.6816 GB, free: 15.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.371, allocations: 51.41 kB / 0.6816 GB, free: 15.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.3711, allocations: 93.84 kB / 0.6817 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.3711, allocations: 29.83 kB / 0.6818 GB, free: 15.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.3712, allocations: 80.14 kB / 0.6818 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.3713, allocations: 4 kB / 0.6818 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3713, allocations: 13.72 kB / 0.6818 GB, free: 15.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3715, allocations: 310.8 kB / 0.6821 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.3716, allocations: 4 kB / 0.6821 GB, free: 14.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.3716, allocations: 0 / 0.6821 GB, free: 14.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.3716, allocations: 8.922 kB / 0.6822 GB, free: 14.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3717, allocations: 4 kB / 0.6822 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.3718, allocations: 37.62 kB / 0.6822 GB, free: 14.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.3718, allocations: 4 kB / 0.6822 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3718, allocations: 4 kB / 0.6822 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.3719, allocations: 7.922 kB / 0.6822 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.3719, allocations: 0 / 0.6822 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.372, allocations: 0 / 0.6822 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.372, allocations: 4.281 kB / 0.6822 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.372, allocations: 4 kB / 0.6822 GB, free: 14.76 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 0.0001153/0.3722, allocations: 111.2 kB / 0.6823 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.3722, allocations: 0 / 0.6823 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.3724, allocations: 48.69 kB / 0.6824 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3724, allocations: 0 / 0.6824 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3724, allocations: 0 / 0.6824 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3724, allocations: 0 / 0.6824 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.3726, allocations: 149.7 kB / 0.6825 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3726, allocations: 4.031 kB / 0.6825 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.3726, allocations: 11.88 kB / 0.6825 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3727, allocations: 0 / 0.6825 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3727, allocations: 3.938 kB / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.3727, allocations: 4 kB / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3727, allocations: 0 / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.373, allocations: 61.12 kB / 0.6826 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.3731, allocations: 85.05 kB / 0.6827 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3731, allocations: 3.938 kB / 0.6827 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.3731, allocations: 0 / 0.6827 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.3731, allocations: 4 kB / 0.6827 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.3732, allocations: 3.938 kB / 0.6827 GB, free: 14.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.3732, allocations: 75.28 kB / 0.6828 GB, free: 14.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3732, allocations: 0 / 0.6828 GB, free: 14.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005565/0.3738, allocations: 4 kB / 0.6828 GB, free: 14.1 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.0002931/0.3741, allocations: 115.2 kB / 0.6829 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.3742, allocations: 7.938 kB / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3742, allocations: 0 / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-06/0.3742, allocations: 0 / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.3745, allocations: 4 kB / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.375, allocations: 100.5 kB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.3757, allocations: 0.677 MB / 0.6836 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.3758, allocations: 15.56 kB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3758, allocations: 0 / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of Templates: time 0.003391/0.3792, allocations: 438.8 kB / 0.6841 GB, free: 12.69 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