Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008639/0.0008639, allocations: 102.6 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.001083/0.001083, allocations: 175 kB / 16.58 MB, free: 6.863 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.457/1.457, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.07/1.07, allocations: 135.3 MB / 427 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 9 kB / 0.5076 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2154, allocations: 82.32 MB / 0.588 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002131/0.2176, allocations: 1.144 MB / 0.5891 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008525/0.2184, allocations: 445.9 kB / 0.5895 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.2185, allocations: 0 / 0.5895 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.2185, allocations: 3.938 kB / 0.5895 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.2186, allocations: 4 kB / 0.5895 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.2188, allocations: 19.92 kB / 0.5896 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.2189, allocations: 23.92 kB / 0.5896 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.219, allocations: 3.984 kB / 0.5896 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.261e-05/0.2191, allocations: 4 kB / 0.5896 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.2191, allocations: 15.92 kB / 0.5896 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.2191, allocations: 0 / 0.5896 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.2192, allocations: 15.98 kB / 0.5896 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.2192, allocations: 7.984 kB / 0.5896 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.2193, allocations: 29.64 kB / 0.5896 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.756e-05/0.2194, allocations: 31.95 kB / 0.5897 GB, free: 1.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2194, allocations: 0 / 0.5897 GB, free: 1.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2194, allocations: 0 / 0.5897 GB, free: 1.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2194, allocations: 0 / 0.5897 GB, free: 1.262 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.0004564/0.2199, allocations: 339.5 kB / 0.59 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.2199, allocations: 15.97 kB / 0.59 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.22, allocations: 0 / 0.59 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2201, allocations: 171 kB / 0.5902 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2201, allocations: 4 kB / 0.5902 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2201, allocations: 0 / 0.5902 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.2203, allocations: 53.67 kB / 0.5902 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2203, allocations: 3.984 kB / 0.5902 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2203, allocations: 0 / 0.5902 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2203, allocations: 0 / 0.5902 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.2205, allocations: 51.89 kB / 0.5903 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.221, allocations: 252.8 kB / 0.5905 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.2212, allocations: 46.55 kB / 0.5906 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.2213, allocations: 28.91 kB / 0.5906 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.2214, allocations: 77.11 kB / 0.5907 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.2214, allocations: 42.48 kB / 0.5907 GB, free: 16 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/0.2214, allocations: 4 kB / 0.5907 GB, free: 12 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004592/0.2219, allocations: 93.59 kB / 0.5908 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.222, allocations: 55.53 kB / 0.5909 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/0.222, allocations: 105.8 kB / 0.591 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.2222, allocations: 25.7 kB / 0.591 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.2222, allocations: 80.14 kB / 0.5911 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.2223, allocations: 11.91 kB / 0.5911 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.2223, allocations: 0 / 0.5911 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000258/0.2225, allocations: 318.8 kB / 0.5914 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.2226, allocations: 23.98 kB / 0.5914 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.2228, allocations: 19.98 kB / 0.5914 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.936e-05/0.2228, allocations: 27.92 kB / 0.5914 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2229, allocations: 0 / 0.5914 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/0.223, allocations: 77.72 kB / 0.5915 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.2231, allocations: 6.344 kB / 0.5915 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2231, allocations: 0 / 0.5915 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2231, allocations: 0 / 0.5915 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.2232, allocations: 20.02 kB / 0.5915 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2232, allocations: 0 / 0.5915 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.2233, allocations: 11.92 kB / 0.5916 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.2233, allocations: 0 / 0.5916 GB, free: 15.1 MB / 0.4981 GB 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 0.0001096/0.2234, allocations: 117.8 kB / 0.5917 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.2234, allocations: 3.906 kB / 0.5917 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.2237, allocations: 84.72 kB / 0.5918 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2237, allocations: 0 / 0.5918 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.2237, allocations: 0 / 0.5918 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2237, allocations: 4 kB / 0.5918 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.2239, allocations: 165.8 kB / 0.5919 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2239, allocations: 4 kB / 0.5919 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.224, allocations: 20.02 kB / 0.5919 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.224, allocations: 0 / 0.5919 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.224, allocations: 0 / 0.5919 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.224, allocations: 0 / 0.5919 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.224, allocations: 4 kB / 0.5919 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.2242, allocations: 175.4 kB / 0.5921 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.2243, allocations: 77.11 kB / 0.5922 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.2243, allocations: 3.938 kB / 0.5922 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.2244, allocations: 15.98 kB / 0.5922 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.2244, allocations: 0 / 0.5922 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2244, allocations: 0 / 0.5922 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.2245, allocations: 83.31 kB / 0.5923 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2245, allocations: 0 / 0.5923 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002233/0.2247, allocations: 11.98 kB / 0.5923 GB, free: 14.25 MB / 0.4981 GB 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.0001582/0.2249, allocations: 99.25 kB / 0.5924 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.2251, allocations: 47.97 kB / 0.5924 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2251, allocations: 0 / 0.5924 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.2252, allocations: 23.97 kB / 0.5925 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.2255, allocations: 17.42 kB / 0.5925 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.2258, allocations: 142.4 kB / 0.5926 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.2261, allocations: 0.677 MB / 0.5933 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.2261, allocations: 11.44 kB / 0.5933 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2261, allocations: 0 / 0.5933 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.00197/0.2281, allocations: 0.6302 MB / 0.5939 GB, free: 12.54 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o] Error 1