Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001071/0.001071, allocations: 102.1 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.001205/0.001205, allocations: 176.4 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.55/1.55, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9759/0.9759, allocations: 135.3 MB / 427 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 8 kB / 0.5076 GB, free: 5.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2183, allocations: 82.31 MB / 0.588 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0007665/0.2191, allocations: 295.1 kB / 0.5883 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002189/0.2193, allocations: 39.84 kB / 0.5883 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.243e-05/0.2194, allocations: 0 / 0.5883 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.2194, allocations: 0 / 0.5883 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.354e-06/0.2194, allocations: 0 / 0.5883 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.2197, allocations: 11.98 kB / 0.5883 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.574e-05/0.2197, allocations: 0 / 0.5883 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.2198, allocations: 0 / 0.5883 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.2198, allocations: 7.984 kB / 0.5883 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.038e-05/0.2199, allocations: 4 kB / 0.5883 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.2199, allocations: 0 / 0.5883 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.773e-05/0.22, allocations: 23.92 kB / 0.5884 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.22, allocations: 0 / 0.5884 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.22, allocations: 29.64 kB / 0.5884 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.192e-05/0.2201, allocations: 11.98 kB / 0.5884 GB, free: 2.531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2201, allocations: 0 / 0.5884 GB, free: 2.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2201, allocations: 0 / 0.5884 GB, free: 2.531 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.2202, allocations: 4 kB / 0.5884 GB, free: 2.527 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.0003756/0.2205, allocations: 307.4 kB / 0.5887 GB, free: 2.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2206, allocations: 12.09 kB / 0.5887 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.2206, allocations: 4 kB / 0.5887 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.2208, allocations: 163 kB / 0.5889 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2208, allocations: 0 / 0.5889 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2208, allocations: 4 kB / 0.5889 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2209, allocations: 29.69 kB / 0.5889 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.221, allocations: 7.984 kB / 0.5889 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.221, allocations: 0 / 0.5889 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.221, allocations: 0 / 0.5889 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.577e-05/0.221, allocations: 7.938 kB / 0.5889 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.2212, allocations: 149.6 kB / 0.5891 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.316e-05/0.2212, allocations: 18.61 kB / 0.5891 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.2213, allocations: 4.859 kB / 0.5891 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.2213, allocations: 4.062 kB / 0.5891 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2213, allocations: 34.55 kB / 0.5891 GB, free: 1.633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.2213, allocations: 0 / 0.5891 GB, free: 1.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.2215, allocations: 41.64 kB / 0.5892 GB, free: 1.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.2215, allocations: 55.41 kB / 0.5892 GB, free: 1.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.606e-05/0.2216, allocations: 89.86 kB / 0.5893 GB, free: 1.422 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.2216, allocations: 25.7 kB / 0.5893 GB, free: 1.391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.2217, allocations: 80.14 kB / 0.5894 GB, free: 1.309 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.2217, allocations: 3.906 kB / 0.5894 GB, free: 1.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.2217, allocations: 3.938 kB / 0.5894 GB, free: 1.301 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2218, allocations: 314.8 kB / 0.5897 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-06/0.2218, allocations: 4.125 kB / 0.5897 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/0.2219, allocations: 7.984 kB / 0.5897 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.922e-05/0.2219, allocations: 4 kB / 0.5897 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2219, allocations: 3.953 kB / 0.5897 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.287e-05/0.2219, allocations: 41.58 kB / 0.5898 GB, free: 0.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.222, allocations: 4 kB / 0.5898 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.222, allocations: 0 / 0.5898 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.222, allocations: 0 / 0.5898 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.2221, allocations: 4 kB / 0.5898 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2221, allocations: 4.094 kB / 0.5898 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.2221, allocations: 0 / 0.5898 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.2221, allocations: 3.984 kB / 0.5898 GB, free: 0.9023 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.957e-05/0.2222, allocations: 109.8 kB / 0.5899 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.2222, allocations: 3.953 kB / 0.5899 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.2223, allocations: 36.83 kB / 0.5899 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2223, allocations: 8.016 kB / 0.5899 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2223, allocations: 0 / 0.5899 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.2223, allocations: 4 kB / 0.5899 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2225, allocations: 141.7 kB / 0.5901 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2225, allocations: 3.938 kB / 0.5901 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.2225, allocations: 3.953 kB / 0.5901 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2225, allocations: 4 kB / 0.5901 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.2225, allocations: 0 / 0.5901 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2225, allocations: 0 / 0.5901 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2225, allocations: 0 / 0.5901 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.684e-05/0.2226, allocations: 61.12 kB / 0.5901 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.2226, allocations: 81.11 kB / 0.5902 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.2227, allocations: 3.953 kB / 0.5902 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-06/0.2227, allocations: 0 / 0.5902 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.2227, allocations: 7.984 kB / 0.5902 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2227, allocations: 0 / 0.5902 GB, free: 348 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.949e-05/0.2227, allocations: 79.28 kB / 0.5903 GB, free: 268 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2228, allocations: 4.031 kB / 0.5903 GB, free: 264 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001776/0.2229, allocations: 8 kB / 0.5903 GB, free: 256 kB / 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 (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.0002359/0.2232, allocations: 99.25 kB / 0.5904 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.839e-05/0.2233, allocations: 7.938 kB / 0.5904 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2233, allocations: 0 / 0.5904 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.747e-06/0.2233, allocations: 4 kB / 0.5904 GB, free: 132 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.2234, allocations: 4 kB / 0.5904 GB, free: 128 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.2236, allocations: 113.9 kB / 0.5905 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.224, allocations: 0.6692 MB / 0.5912 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.224, allocations: 11.44 kB / 0.5912 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.224, allocations: 0 / 0.5912 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.001713/0.2258, allocations: 448.9 kB / 0.5916 GB, free: 14.84 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.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 OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PolynomialCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PolynomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PolynomialCalcHelperMain.o] Error 1