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.0008051/0.0008051, allocations: 99.83 kB / 15.71 MB, free: 452 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.0009433/0.0009433, allocations: 177.5 kB / 16.58 MB, free: 6.422 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.411/1.411, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8406/0.8406, allocations: 132.3 MB / 424 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003443, allocations: 12.64 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4865, allocations: 81.58 MB / 0.5837 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001628/0.4882, allocations: 1.173 MB / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.4891, allocations: 0.5249 MB / 0.5853 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.4891, allocations: 3.938 kB / 0.5853 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.4892, allocations: 0.6562 kB / 0.5853 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.4892, allocations: 6.016 kB / 0.5853 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.4895, allocations: 39.61 kB / 0.5854 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.4895, allocations: 23.53 kB / 0.5854 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.4896, allocations: 8.312 kB / 0.5854 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.4897, allocations: 19 kB / 0.5854 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.4898, allocations: 10.19 kB / 0.5854 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.4898, allocations: 1.469 kB / 0.5854 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.4899, allocations: 48.8 kB / 0.5855 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.49, allocations: 5.703 kB / 0.5855 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.49, allocations: 31.48 kB / 0.5855 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.4901, allocations: 41.81 kB / 0.5856 GB, free: 2.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4901, allocations: 1.344 kB / 0.5856 GB, free: 2.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4901, allocations: 0 / 0.5856 GB, free: 2.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.4901, allocations: 0 / 0.5856 GB, free: 2.629 MB / 430.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.0003482/0.4905, allocations: 353.4 kB / 0.5859 GB, free: 2.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4906, allocations: 9.734 kB / 0.5859 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.4906, allocations: 5.906 kB / 0.5859 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/0.4907, allocations: 170.5 kB / 0.5861 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4907, allocations: 2.828 kB / 0.5861 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.4907, allocations: 0 / 0.5861 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.4909, allocations: 48.42 kB / 0.5861 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4909, allocations: 0.6094 kB / 0.5861 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4909, allocations: 5.375 kB / 0.5861 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4909, allocations: 0 / 0.5861 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.491, allocations: 22.94 kB / 0.5862 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.4913, allocations: 250.1 kB / 0.5864 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.732e-05/0.4914, allocations: 41 kB / 0.5864 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.4915, allocations: 18.47 kB / 0.5864 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007305/0.4922, allocations: 0.4911 MB / 0.5869 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4922, allocations: 35.08 kB / 0.587 GB, free: 1.164 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/0.4922, allocations: 0 / 0.587 GB, free: 1.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002458/0.4925, allocations: 75.83 kB / 0.587 GB, free: 1.117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.4925, allocations: 57.11 kB / 0.5871 GB, free: 1.051 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.4926, allocations: 114.7 kB / 0.5872 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.4926, allocations: 25.7 kB / 0.5872 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.4927, allocations: 83.05 kB / 0.5873 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.4927, allocations: 9.734 kB / 0.5873 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.4927, allocations: 5 kB / 0.5873 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.4928, allocations: 313.1 kB / 0.5876 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.4928, allocations: 9.094 kB / 0.5876 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.4929, allocations: 14.39 kB / 0.5876 GB, free: 0.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.4929, allocations: 13.77 kB / 0.5876 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4929, allocations: 4.062 kB / 0.5877 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001103/0.493, allocations: 55.72 kB / 0.5877 GB, free: 468 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4931, allocations: 5.594 kB / 0.5877 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4931, allocations: 0.7969 kB / 0.5877 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4931, allocations: 3.984 kB / 0.5877 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.17e-05/0.4932, allocations: 10.66 kB / 0.5877 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4932, allocations: 1.938 kB / 0.5877 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.4932, allocations: 15.44 kB / 0.5877 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.4932, allocations: 4.594 kB / 0.5877 GB, free: 444 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.4933, allocations: 108.9 kB / 0.5879 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.4933, allocations: 6.344 kB / 0.5879 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.4935, allocations: 64.84 kB / 0.5879 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4935, allocations: 0.9688 kB / 0.5879 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4935, allocations: 4.031 kB / 0.5879 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4935, allocations: 1.234 kB / 0.5879 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.4936, allocations: 162.1 kB / 0.5881 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4937, allocations: 0 / 0.5881 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.4937, allocations: 11.19 kB / 0.5881 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4937, allocations: 0.7188 kB / 0.5881 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.4937, allocations: 5.281 kB / 0.5881 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4937, allocations: 0.75 kB / 0.5881 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4937, allocations: 3.984 kB / 0.5881 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.4939, allocations: 160 kB / 0.5883 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.494, allocations: 82.67 kB / 0.5883 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.494, allocations: 0.6875 kB / 0.5883 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.4941, allocations: 8.031 kB / 0.5883 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.4941, allocations: 1.906 kB / 0.5883 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.4941, allocations: 6.453 kB / 0.5883 GB, free: 15.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.292e-05/0.4942, allocations: 86.31 kB / 0.5884 GB, free: 15.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4942, allocations: 1.062 kB / 0.5884 GB, free: 15.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.4944, allocations: 21.86 kB / 0.5885 GB, free: 15.73 MB / 446.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 (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.0001786/0.4946, allocations: 103.9 kB / 0.5886 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.4947, allocations: 30.02 kB / 0.5886 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4947, allocations: 64 / 0.5886 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.826e-05/0.4948, allocations: 16.47 kB / 0.5886 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.495, allocations: 9.484 kB / 0.5886 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.4953, allocations: 156.2 kB / 0.5888 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.4956, allocations: 0.6802 MB / 0.5894 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.4956, allocations: 13.25 kB / 0.5894 GB, free: 14.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4956, allocations: 0 / 0.5894 GB, free: 14.77 MB / 446.1 MB Notification: Performance of Templates: time 0.002463/0.4981, allocations: 0.7928 MB / 0.5902 GB, free: 14.7 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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_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