Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008864, allocations: 91.92 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.0009712/0.0009714, allocations: 179.3 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.373/1.373, allocations: 223.2 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001691/0.001691, allocations: 266.8 kB / 292.3 MB, free: 1.824 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9508/0.9508, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 21.44 kB / 0.5993 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1776, allocations: 88.55 MB / 0.6858 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.001675/0.1793, allocations: 1.161 MB / 0.6869 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004426/0.1797, allocations: 188.3 kB / 0.6871 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.1798, allocations: 0.5312 kB / 0.6871 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.1798, allocations: 0.625 kB / 0.6871 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.1799, allocations: 3.938 kB / 0.6871 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.1801, allocations: 32.84 kB / 0.6871 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.031e-05/0.1801, allocations: 24.73 kB / 0.6871 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.593e-05/0.1802, allocations: 7.984 kB / 0.6871 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.1803, allocations: 12.81 kB / 0.6872 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.1803, allocations: 7.922 kB / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1804, allocations: 4.562 kB / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.243e-05/0.1804, allocations: 31.97 kB / 0.6872 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.1805, allocations: 2.312 kB / 0.6872 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.1805, allocations: 33.64 kB / 0.6872 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.065e-05/0.1806, allocations: 27.94 kB / 0.6873 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1806, allocations: 0 / 0.6873 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1806, allocations: 0 / 0.6873 GB, free: 13.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1806, allocations: 0 / 0.6873 GB, free: 13.51 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.0004279/0.1811, allocations: 350.8 kB / 0.6876 GB, free: 13.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1811, allocations: 8.031 kB / 0.6876 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1811, allocations: 8.844 kB / 0.6876 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1813, allocations: 164.4 kB / 0.6878 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1813, allocations: 5.688 kB / 0.6878 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.1813, allocations: 384 / 0.6878 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1815, allocations: 62.8 kB / 0.6878 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1815, allocations: 0.8438 kB / 0.6878 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1815, allocations: 6.219 kB / 0.6878 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1815, allocations: 0 / 0.6878 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1817, allocations: 44.45 kB / 0.6879 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.1821, allocations: 250.6 kB / 0.6881 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.1822, allocations: 52.44 kB / 0.6882 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.1823, allocations: 29.06 kB / 0.6882 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.175e-05/0.1824, allocations: 85.09 kB / 0.6883 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1824, allocations: 30.56 kB / 0.6883 GB, free: 12.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.1824, allocations: 0 / 0.6883 GB, free: 12.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003702/0.1828, allocations: 103.9 kB / 0.6884 GB, free: 12.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1829, allocations: 53.31 kB / 0.6885 GB, free: 12.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/0.1829, allocations: 109.8 kB / 0.6886 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.183, allocations: 25.7 kB / 0.6886 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.183, allocations: 80.14 kB / 0.6887 GB, free: 11.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.183, allocations: 15.91 kB / 0.6887 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.1831, allocations: 13.72 kB / 0.6887 GB, free: 11.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1832, allocations: 314.8 kB / 0.689 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.065e-05/0.1833, allocations: 19.98 kB / 0.689 GB, free: 11.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.1834, allocations: 23.97 kB / 0.689 GB, free: 11.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.1836, allocations: 48.89 kB / 0.6891 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1836, allocations: 0 / 0.6891 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.1838, allocations: 85.59 kB / 0.6892 GB, free: 11.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1839, allocations: 9.875 kB / 0.6892 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1839, allocations: 0 / 0.6892 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1839, allocations: 0 / 0.6892 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.184, allocations: 15.92 kB / 0.6892 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.184, allocations: 0 / 0.6892 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.1841, allocations: 12.03 kB / 0.6892 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.1841, allocations: 0 / 0.6892 GB, free: 11.3 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 9.617e-05/0.1842, allocations: 115.1 kB / 0.6893 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1842, allocations: 4 kB / 0.6893 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.1845, allocations: 84.78 kB / 0.6894 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1845, allocations: 0 / 0.6894 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1845, allocations: 0 / 0.6894 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1845, allocations: 3.938 kB / 0.6894 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.1847, allocations: 161.6 kB / 0.6896 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1847, allocations: 0 / 0.6896 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.1848, allocations: 8 kB / 0.6896 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1848, allocations: 4 kB / 0.6896 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1848, allocations: 4.031 kB / 0.6896 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1848, allocations: 3.938 kB / 0.6896 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1848, allocations: 3.984 kB / 0.6896 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.1851, allocations: 175.4 kB / 0.6897 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.1851, allocations: 85.09 kB / 0.6898 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1851, allocations: 0 / 0.6898 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.1852, allocations: 4 kB / 0.6898 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.1853, allocations: 7.984 kB / 0.6898 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1853, allocations: 4.188 kB / 0.6898 GB, free: 10.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5e-05/0.1853, allocations: 87.28 kB / 0.6899 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1853, allocations: 0 / 0.6899 GB, free: 10.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1856, allocations: 12.03 kB / 0.6899 GB, free: 10.45 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.0001592/0.1857, allocations: 111.2 kB / 0.69 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.186, allocations: 47.91 kB / 0.6901 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.186, allocations: 4.062 kB / 0.6901 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.1861, allocations: 23.98 kB / 0.6901 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.1863, allocations: 7.922 kB / 0.6901 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.1866, allocations: 130.4 kB / 0.6902 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1869, allocations: 0.6849 MB / 0.6909 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.1869, allocations: 7.438 kB / 0.6909 GB, free: 9.371 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.187, allocations: 0 / 0.6909 GB, free: 9.371 MB / 494.1 MB Notification: Performance of Templates: time 0.00221/0.1892, allocations: 0.6609 MB / 0.6916 GB, free: 8.715 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.SmoothExponentialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.o] Error 1