Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008347/0.0008346, allocations: 100.2 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.000934/0.0009341, allocations: 176.4 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.399/1.399, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7925/0.7925, allocations: 132.3 MB / 424 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 8.812 kB / 0.504 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5313/0.5317, allocations: 81.58 MB / 0.5837 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002157/0.5339, allocations: 1.151 MB / 0.5848 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000759/0.5347, allocations: 445.7 kB / 0.5852 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.5347, allocations: 1.094 kB / 0.5852 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.5348, allocations: 0.7969 kB / 0.5852 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.491e-05/0.5348, allocations: 0 / 0.5852 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.535, allocations: 24.3 kB / 0.5852 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.308e-05/0.5351, allocations: 22.69 kB / 0.5853 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.5352, allocations: 8.281 kB / 0.5853 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.5353, allocations: 9.125 kB / 0.5853 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.255e-05/0.5353, allocations: 9.797 kB / 0.5853 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.5354, allocations: 1.094 kB / 0.5853 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.199e-05/0.5354, allocations: 21.66 kB / 0.5853 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.5355, allocations: 6.141 kB / 0.5853 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.5355, allocations: 30.77 kB / 0.5853 GB, free: 3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.365e-05/0.5356, allocations: 19 kB / 0.5854 GB, free: 2.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5356, allocations: 0 / 0.5854 GB, free: 2.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5356, allocations: 1.531 kB / 0.5854 GB, free: 2.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.5356, allocations: 0 / 0.5854 GB, free: 2.996 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.0003617/0.536, allocations: 346 kB / 0.5857 GB, free: 2.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.536, allocations: 9.781 kB / 0.5857 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.5361, allocations: 5.703 kB / 0.5857 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.5361, allocations: 177.9 kB / 0.5859 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5362, allocations: 0.9062 kB / 0.5859 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.5362, allocations: 0.9375 kB / 0.5859 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.5364, allocations: 65.95 kB / 0.5859 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5364, allocations: 0 / 0.5859 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.5364, allocations: 0.7188 kB / 0.5859 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5364, allocations: 0 / 0.5859 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.5366, allocations: 47.84 kB / 0.586 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.537, allocations: 254.6 kB / 0.5862 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.5372, allocations: 46.31 kB / 0.5863 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.5373, allocations: 29.02 kB / 0.5863 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.5375, allocations: 81.86 kB / 0.5864 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.5375, allocations: 35.5 kB / 0.5864 GB, free: 1.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5375, allocations: 0.9375 kB / 0.5864 GB, free: 1.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003678/0.5379, allocations: 94.53 kB / 0.5865 GB, free: 1.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.5379, allocations: 57.39 kB / 0.5866 GB, free: 1.801 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.288e-05/0.538, allocations: 101.7 kB / 0.5867 GB, free: 1.699 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.538, allocations: 26.27 kB / 0.5867 GB, free: 1.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.538, allocations: 90.12 kB / 0.5868 GB, free: 1.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.5381, allocations: 5.969 kB / 0.5868 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.5381, allocations: 0 / 0.5868 GB, free: 1.574 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.5381, allocations: 321.8 kB / 0.5871 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.5382, allocations: 18.66 kB / 0.5871 GB, free: 1.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.5383, allocations: 26.75 kB / 0.5871 GB, free: 1.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.4e-05/0.5384, allocations: 20.08 kB / 0.5871 GB, free: 1.246 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5384, allocations: 0 / 0.5871 GB, free: 1.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001947/0.5386, allocations: 76.7 kB / 0.5872 GB, free: 1.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5386, allocations: 5.688 kB / 0.5872 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5386, allocations: 0.7031 kB / 0.5872 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5387, allocations: 1.312 kB / 0.5872 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.5388, allocations: 10.67 kB / 0.5872 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5388, allocations: 0.7031 kB / 0.5872 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.5388, allocations: 20.62 kB / 0.5873 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.5389, allocations: 1.219 kB / 0.5873 GB, free: 1.195 MB / 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.935e-05/0.5389, allocations: 108.4 kB / 0.5874 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.539, allocations: 9.031 kB / 0.5874 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.5392, allocations: 86.67 kB / 0.5875 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5392, allocations: 0 / 0.5875 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5392, allocations: 0 / 0.5875 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5392, allocations: 2.891 kB / 0.5875 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.5394, allocations: 159 kB / 0.5876 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5394, allocations: 0 / 0.5876 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.5395, allocations: 15.55 kB / 0.5876 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5395, allocations: 5.469 kB / 0.5876 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.5395, allocations: 4 kB / 0.5876 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5395, allocations: 4.781 kB / 0.5876 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5395, allocations: 1.391 kB / 0.5876 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.5398, allocations: 179.7 kB / 0.5878 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.5398, allocations: 78.81 kB / 0.5879 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.5398, allocations: 1.734 kB / 0.5879 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.5399, allocations: 9.047 kB / 0.5879 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.54, allocations: 1.578 kB / 0.5879 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.54, allocations: 1.703 kB / 0.5879 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.243e-05/0.54, allocations: 84.98 kB / 0.588 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.54, allocations: 0 / 0.588 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.5403, allocations: 6.719 kB / 0.588 GB, free: 0.4961 MB / 430.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.000152/0.5404, allocations: 106.2 kB / 0.5881 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.5406, allocations: 43.92 kB / 0.5881 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5407, allocations: 0 / 0.5881 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.5408, allocations: 33.8 kB / 0.5882 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.541, allocations: 8.234 kB / 0.5882 GB, free: 392 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.5413, allocations: 141.3 kB / 0.5883 GB, free: 236 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.5416, allocations: 0.6769 MB / 0.589 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.5417, allocations: 12.66 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5417, allocations: 0 / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Templates: time 0.002324/0.544, allocations: 0.6442 MB / 0.5896 GB, free: 15.48 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeavisideCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o] Error 1