Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.0009951, allocations: 96.14 kB / 15.87 MB, free: 16 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.001034/0.001034, allocations: 199.7 kB / 16.79 MB, free: 6.828 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.284/1.284, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7095/0.7095, allocations: 132.2 MB / 422.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 54.64 kB / 0.5017 GB, free: 9.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1705, allocations: 80.21 MB / 0.58 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002617/0.1731, allocations: 1.521 MB / 0.5815 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009328/0.1741, allocations: 0.5696 MB / 0.5821 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.1741, allocations: 0 / 0.5821 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.1742, allocations: 0 / 0.5821 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.1742, allocations: 7.938 kB / 0.5821 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1745, allocations: 35.95 kB / 0.5821 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.1745, allocations: 27.86 kB / 0.5821 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.1746, allocations: 8 kB / 0.5821 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.1747, allocations: 15.92 kB / 0.5822 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.1748, allocations: 15.92 kB / 0.5822 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1748, allocations: 0 / 0.5822 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1749, allocations: 51.95 kB / 0.5822 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.1749, allocations: 7.984 kB / 0.5822 GB, free: 6.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.175, allocations: 15.81 kB / 0.5823 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1751, allocations: 43.94 kB / 0.5823 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1751, allocations: 0 / 0.5823 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1751, allocations: 4 kB / 0.5823 GB, free: 6.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1751, allocations: 0 / 0.5823 GB, free: 6.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004331/0.1756, allocations: 351.6 kB / 0.5826 GB, free: 6.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1756, allocations: 8.031 kB / 0.5826 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.1756, allocations: 4.938 kB / 0.5826 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.1758, allocations: 164.3 kB / 0.5828 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.1758, allocations: 4.375 kB / 0.5828 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.1758, allocations: 384 / 0.5828 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1759, allocations: 53.94 kB / 0.5829 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.176, allocations: 3.984 kB / 0.5829 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.176, allocations: 0 / 0.5829 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.176, allocations: 0 / 0.5829 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.1761, allocations: 19.98 kB / 0.5829 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.1764, allocations: 252.9 kB / 0.5831 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.871e-05/0.1765, allocations: 38.5 kB / 0.5832 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.1765, allocations: 24.91 kB / 0.5832 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007687/0.1773, allocations: 469.4 kB / 0.5836 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1773, allocations: 42.56 kB / 0.5837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.1774, allocations: 0 / 0.5837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002388/0.1776, allocations: 57.67 kB / 0.5837 GB, free: 5.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1776, allocations: 51.41 kB / 0.5838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.946e-05/0.1777, allocations: 117.8 kB / 0.5839 GB, free: 5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1777, allocations: 25.7 kB / 0.5839 GB, free: 4.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.1778, allocations: 80.27 kB / 0.584 GB, free: 4.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.1778, allocations: 23.83 kB / 0.584 GB, free: 4.863 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.1779, allocations: 9.719 kB / 0.584 GB, free: 4.848 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.1779, allocations: 310.8 kB / 0.5843 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.178, allocations: 15.98 kB / 0.5843 GB, free: 4.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.178, allocations: 4 kB / 0.5843 GB, free: 4.516 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.516e-05/0.1781, allocations: 28.78 kB / 0.5844 GB, free: 4.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1781, allocations: 8.062 kB / 0.5844 GB, free: 4.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001147/0.1783, allocations: 61.58 kB / 0.5844 GB, free: 4.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1783, allocations: 4 kB / 0.5844 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1783, allocations: 320 / 0.5844 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1783, allocations: 0 / 0.5844 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.1784, allocations: 7.938 kB / 0.5844 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1784, allocations: 0 / 0.5844 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.1784, allocations: 4 kB / 0.5844 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1784, allocations: 7.969 kB / 0.5845 GB, free: 4.387 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 (2): * Single equations (assignments): 2 * 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.342e-05/0.1785, allocations: 121.8 kB / 0.5846 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1785, allocations: 0 / 0.5846 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.1787, allocations: 61.2 kB / 0.5846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.1787, allocations: 0 / 0.5846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1787, allocations: 4 kB / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1787, allocations: 7.984 kB / 0.5846 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.1789, allocations: 157.6 kB / 0.5848 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1789, allocations: 4.016 kB / 0.5848 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.179, allocations: 8 kB / 0.5848 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.179, allocations: 3.938 kB / 0.5848 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.179, allocations: 4 kB / 0.5848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.179, allocations: 0 / 0.5848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.179, allocations: 0 / 0.5848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.1791, allocations: 155.4 kB / 0.585 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.1792, allocations: 85.14 kB / 0.585 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.1792, allocations: 0 / 0.585 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.657e-05/0.1793, allocations: 0 / 0.585 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.1793, allocations: 7.984 kB / 0.585 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1793, allocations: 0 / 0.585 GB, free: 3.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.624e-05/0.1794, allocations: 83.28 kB / 0.5851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.1794, allocations: 0 / 0.5851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.1796, allocations: 23.92 kB / 0.5851 GB, free: 3.574 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 (2): * Single equations (assignments): 2 * 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.0001647/0.1798, allocations: 119.2 kB / 0.5853 GB, free: 3.445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.1799, allocations: 27.92 kB / 0.5853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1799, allocations: 0 / 0.5853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.1799, allocations: 11.98 kB / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1802, allocations: 7.938 kB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.1804, allocations: 154.2 kB / 0.5855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.1807, allocations: 0.6848 MB / 0.5861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.1807, allocations: 7.438 kB / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1807, allocations: 0 / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of Templates: time 0.002138/0.1828, allocations: 0.8145 MB / 0.5869 GB, free: 1.688 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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 OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothLimitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o] Error 1