Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008757/0.0008757, allocations: 92.7 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.0009836/0.0009837, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.355/1.355, allocations: 223.2 MB / 240.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 278.9 kB / 292.3 MB, free: 1.832 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9255/0.9255, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004221, allocations: 18.91 kB / 0.5993 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.182, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.001651/0.1837, allocations: 1.161 MB / 0.6869 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.1845, allocations: 453.5 kB / 0.6873 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.1845, allocations: 2 kB / 0.6873 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.1845, allocations: 3.938 kB / 0.6873 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.1846, allocations: 0 / 0.6873 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.1848, allocations: 27.91 kB / 0.6874 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.96e-05/0.1849, allocations: 23.92 kB / 0.6874 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.185, allocations: 6.438 kB / 0.6874 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.185, allocations: 15.92 kB / 0.6874 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.1851, allocations: 4 kB / 0.6874 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1851, allocations: 0 / 0.6874 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.1852, allocations: 15.98 kB / 0.6874 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.1852, allocations: 15.91 kB / 0.6874 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.367e-05/0.1852, allocations: 34.14 kB / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.784e-05/0.1853, allocations: 24.75 kB / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1853, allocations: 1.188 kB / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1853, allocations: 0 / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1854, allocations: 0 / 0.6875 GB, free: 13.3 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.0004106/0.1858, allocations: 341 kB / 0.6878 GB, free: 12.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1858, allocations: 8.781 kB / 0.6878 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.1859, allocations: 8.844 kB / 0.6878 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.186, allocations: 178 kB / 0.688 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.186, allocations: 384 / 0.688 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.186, allocations: 4.375 kB / 0.688 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1862, allocations: 61.42 kB / 0.6881 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1862, allocations: 0 / 0.6881 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1862, allocations: 0 / 0.6881 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1862, allocations: 0 / 0.6881 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.1864, allocations: 41.69 kB / 0.6881 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1868, allocations: 253.6 kB / 0.6884 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.1869, allocations: 44.06 kB / 0.6884 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.187, allocations: 30.31 kB / 0.6884 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.1871, allocations: 85.73 kB / 0.6885 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1872, allocations: 38.56 kB / 0.6885 GB, free: 12.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.1872, allocations: 0 / 0.6885 GB, free: 12.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003553/0.1875, allocations: 105.6 kB / 0.6886 GB, free: 11.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1876, allocations: 51.41 kB / 0.6887 GB, free: 11.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.1877, allocations: 105.8 kB / 0.6888 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1877, allocations: 25.7 kB / 0.6888 GB, free: 11.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.1877, allocations: 84.08 kB / 0.6889 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.1878, allocations: 15.89 kB / 0.6889 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.1878, allocations: 9.719 kB / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1879, allocations: 310.8 kB / 0.6892 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.035e-05/0.188, allocations: 32 kB / 0.6893 GB, free: 11.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.382e-05/0.1881, allocations: 15.98 kB / 0.6893 GB, free: 11.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1883, allocations: 52.83 kB / 0.6893 GB, free: 11.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1883, allocations: 4 kB / 0.6893 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.1885, allocations: 85.59 kB / 0.6894 GB, free: 11.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1885, allocations: 7.938 kB / 0.6894 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1885, allocations: 0 / 0.6894 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1885, allocations: 0 / 0.6894 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.1886, allocations: 11.98 kB / 0.6894 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1886, allocations: 4 kB / 0.6894 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.1887, allocations: 4 kB / 0.6894 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1887, allocations: 0 / 0.6894 GB, free: 11.09 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 8.255e-05/0.1888, allocations: 127 kB / 0.6896 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.1888, allocations: 0 / 0.6896 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.189, allocations: 84.72 kB / 0.6896 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1891, allocations: 4.031 kB / 0.6896 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1891, allocations: 0 / 0.6896 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1891, allocations: 0 / 0.6896 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.1892, allocations: 165.6 kB / 0.6898 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1892, allocations: 0 / 0.6898 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.537e-05/0.1893, allocations: 8 kB / 0.6898 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1893, allocations: 0 / 0.6898 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.1893, allocations: 0 / 0.6898 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1893, allocations: 4.234 kB / 0.6898 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1893, allocations: 0 / 0.6898 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1896, allocations: 179.4 kB / 0.69 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.1896, allocations: 85.09 kB / 0.6901 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.1896, allocations: 0 / 0.6901 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.1897, allocations: 12.03 kB / 0.6901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.1898, allocations: 3.984 kB / 0.6901 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1898, allocations: 0 / 0.6901 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.787e-05/0.1898, allocations: 87.22 kB / 0.6902 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1898, allocations: 0 / 0.6902 GB, free: 10.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000211/0.19, allocations: 8 kB / 0.6902 GB, free: 10.24 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.0001459/0.1902, allocations: 103.2 kB / 0.6903 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1904, allocations: 43.97 kB / 0.6903 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1904, allocations: 0 / 0.6903 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.1905, allocations: 32.05 kB / 0.6903 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.1908, allocations: 9.469 kB / 0.6903 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.1911, allocations: 138.6 kB / 0.6905 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1914, allocations: 0.6848 MB / 0.6911 GB, free: 9.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.1914, allocations: 7.438 kB / 0.6912 GB, free: 9.16 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1914, allocations: 0 / 0.6912 GB, free: 9.16 MB / 494.1 MB Notification: Performance of Templates: time 0.002004/0.1934, allocations: 0.6486 MB / 0.6918 GB, free: 8.516 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o] Error 1