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.0007614/0.0007615, allocations: 92.16 kB / 16.02 MB, free: 80 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.00104/0.00104, allocations: 182 kB / 16.92 MB, free: 6.922 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.305/1.305, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6949/0.6949, allocations: 132.3 MB / 424.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 12.66 kB / 0.5046 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4231, allocations: 81.58 MB / 0.5843 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001388/0.4245, allocations: 1.178 MB / 0.5854 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008367/0.4253, allocations: 0.5621 MB / 0.586 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.4254, allocations: 3.281 kB / 0.586 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.4254, allocations: 4.641 kB / 0.586 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.4255, allocations: 5.781 kB / 0.586 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.4257, allocations: 37.75 kB / 0.586 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.857e-05/0.4257, allocations: 26.08 kB / 0.5861 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.4258, allocations: 5.922 kB / 0.5861 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.4259, allocations: 15.7 kB / 0.5861 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.426, allocations: 14.67 kB / 0.5861 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.426, allocations: 3.094 kB / 0.5861 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.4261, allocations: 52.69 kB / 0.5862 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.4261, allocations: 2.656 kB / 0.5862 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.4262, allocations: 37.27 kB / 0.5862 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.4263, allocations: 45.61 kB / 0.5862 GB, free: 2.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4263, allocations: 0 / 0.5862 GB, free: 2.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4263, allocations: 0.6875 kB / 0.5862 GB, free: 2.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.4263, allocations: 1.188 kB / 0.5862 GB, free: 2.672 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.00033/0.4266, allocations: 348.7 kB / 0.5866 GB, free: 2.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4267, allocations: 8.875 kB / 0.5866 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.4267, allocations: 7.359 kB / 0.5866 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.513e-05/0.4268, allocations: 172.1 kB / 0.5867 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.4268, allocations: 1.5 kB / 0.5867 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.4268, allocations: 1.406 kB / 0.5868 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.427, allocations: 52.64 kB / 0.5868 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.427, allocations: 4.797 kB / 0.5868 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.427, allocations: 1.219 kB / 0.5868 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.427, allocations: 0 / 0.5868 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.633e-05/0.4271, allocations: 23.73 kB / 0.5868 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.4273, allocations: 257.4 kB / 0.5871 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/0.4274, allocations: 41.06 kB / 0.5871 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.4275, allocations: 14.77 kB / 0.5871 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006856/0.4282, allocations: 0.4904 MB / 0.5876 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.4282, allocations: 31.75 kB / 0.5876 GB, free: 1.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4282, allocations: 4 kB / 0.5876 GB, free: 1.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002198/0.4284, allocations: 67.58 kB / 0.5877 GB, free: 1.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.4285, allocations: 52.92 kB / 0.5878 GB, free: 1.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/0.4285, allocations: 111.2 kB / 0.5879 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.4285, allocations: 26.92 kB / 0.5879 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.4286, allocations: 90.86 kB / 0.588 GB, free: 0.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.4286, allocations: 4.781 kB / 0.588 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.4286, allocations: 11.42 kB / 0.588 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.708e-05/0.4287, allocations: 312.8 kB / 0.5883 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.4287, allocations: 17.27 kB / 0.5883 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.4288, allocations: 10.38 kB / 0.5883 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.4288, allocations: 41.17 kB / 0.5884 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4289, allocations: 0 / 0.5884 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001153/0.429, allocations: 63.44 kB / 0.5884 GB, free: 480 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.429, allocations: 5.5 kB / 0.5884 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.429, allocations: 0 / 0.5884 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.429, allocations: 1.359 kB / 0.5884 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.4291, allocations: 15.12 kB / 0.5884 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4291, allocations: 0.7031 kB / 0.5884 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.4292, allocations: 11.64 kB / 0.5884 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.4292, allocations: 1.5 kB / 0.5884 GB, free: 464 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.4292, allocations: 111.5 kB / 0.5886 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.4292, allocations: 3.406 kB / 0.5886 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.4294, allocations: 68.08 kB / 0.5886 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4294, allocations: 5.156 kB / 0.5886 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4294, allocations: 0 / 0.5886 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.4294, allocations: 1.984 kB / 0.5886 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.4296, allocations: 161.9 kB / 0.5888 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4296, allocations: 0 / 0.5888 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.4296, allocations: 6.766 kB / 0.5888 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4296, allocations: 0.9062 kB / 0.5888 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.4297, allocations: 1.781 kB / 0.5888 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4297, allocations: 0 / 0.5888 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4297, allocations: 4.031 kB / 0.5888 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.4299, allocations: 155.9 kB / 0.5889 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.4299, allocations: 82.25 kB / 0.589 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.4299, allocations: 2.609 kB / 0.589 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.723e-05/0.43, allocations: 2.234 kB / 0.589 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.43, allocations: 7.188 kB / 0.589 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.43, allocations: 1.859 kB / 0.589 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.61e-05/0.4301, allocations: 87.47 kB / 0.5891 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4301, allocations: 3.938 kB / 0.5891 GB, free: 15.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.4303, allocations: 16.86 kB / 0.5891 GB, free: 15.76 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 (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.0001914/0.4305, allocations: 121.3 kB / 0.5893 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.4307, allocations: 30.86 kB / 0.5893 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4307, allocations: 0 / 0.5893 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.4308, allocations: 12.44 kB / 0.5893 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.431, allocations: 10.02 kB / 0.5893 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.4313, allocations: 159.2 kB / 0.5895 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.4317, allocations: 0.6828 MB / 0.5901 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.4317, allocations: 9.891 kB / 0.5901 GB, free: 14.78 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4317, allocations: 3.938 kB / 0.5901 GB, free: 14.78 MB / 446.1 MB Notification: Performance of Templates: time 0.002779/0.4345, allocations: 0.8008 MB / 0.5909 GB, free: 14.71 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++ -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