Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008111/0.0008112, 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.0008648/0.0008649, allocations: 180.5 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 274 kB / 292.3 MB, free: 1.828 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9292/0.9292, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004173, allocations: 16.27 kB / 0.5993 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1749, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.001936/0.1769, allocations: 1.483 MB / 0.6872 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1779, allocations: 0.6387 MB / 0.6878 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.178, allocations: 7.938 kB / 0.6878 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.178, allocations: 9.484 kB / 0.6878 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.862e-05/0.1781, allocations: 7.875 kB / 0.6879 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.1786, allocations: 167 kB / 0.688 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1787, allocations: 111.7 kB / 0.6881 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1789, allocations: 49.17 kB / 0.6882 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.179, allocations: 51.83 kB / 0.6882 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.1791, allocations: 39.77 kB / 0.6883 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1791, allocations: 4 kB / 0.6883 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1792, allocations: 39.97 kB / 0.6883 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.1793, allocations: 15.92 kB / 0.6883 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.1793, allocations: 78.16 kB / 0.6884 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.1795, allocations: 103.6 kB / 0.6885 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1795, allocations: 0.7812 kB / 0.6885 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1795, allocations: 4 kB / 0.6885 GB, free: 12.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1795, allocations: 1.719 kB / 0.6885 GB, free: 12.28 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000539/0.1801, allocations: 413.9 kB / 0.6889 GB, free: 11.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1801, allocations: 12.03 kB / 0.6889 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008652/0.181, allocations: 141 kB / 0.689 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1811, allocations: 187.2 kB / 0.6892 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.1812, allocations: 64.81 kB / 0.6893 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1813, allocations: 8.375 kB / 0.6893 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/0.1818, allocations: 193.7 kB / 0.6895 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1819, allocations: 7.938 kB / 0.6895 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.1819, allocations: 0 / 0.6895 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1819, allocations: 4 kB / 0.6895 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.1826, allocations: 191.8 kB / 0.6897 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1837, allocations: 0.4978 MB / 0.6901 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1848, allocations: 270.3 kB / 0.6904 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.1851, allocations: 92.91 kB / 0.6905 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.1852, allocations: 15.98 kB / 0.6905 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1852, allocations: 30.56 kB / 0.6905 GB, free: 10.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1852, allocations: 0 / 0.6905 GB, free: 10.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001101/0.1863, allocations: 317.4 kB / 0.6908 GB, free: 9.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.1864, allocations: 55.41 kB / 0.6909 GB, free: 9.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1865, allocations: 136.1 kB / 0.691 GB, free: 9.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1865, allocations: 33.64 kB / 0.6911 GB, free: 9.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.1866, allocations: 108.2 kB / 0.6912 GB, free: 9.348 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1866, allocations: 23.66 kB / 0.6912 GB, free: 9.324 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.1867, allocations: 13.7 kB / 0.6912 GB, free: 9.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1868, allocations: 318.8 kB / 0.6915 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.1871, allocations: 95.91 kB / 0.6916 GB, free: 8.891 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.1875, allocations: 110.5 kB / 0.6917 GB, free: 8.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.1881, allocations: 202.4 kB / 0.6919 GB, free: 8.566 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1881, allocations: 4 kB / 0.6919 GB, free: 8.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007126/0.1888, allocations: 237.4 kB / 0.6921 GB, free: 8.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1889, allocations: 5.719 kB / 0.6921 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1889, allocations: 0 / 0.6921 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.1889, allocations: 7.938 kB / 0.6921 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.1892, allocations: 43.94 kB / 0.6922 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1892, allocations: 3.938 kB / 0.6922 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.1894, allocations: 39.97 kB / 0.6922 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.1894, allocations: 0 / 0.6922 GB, free: 8.227 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.881e-05/0.1895, allocations: 123.1 kB / 0.6923 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.1896, allocations: 12.16 kB / 0.6923 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007691/0.1903, allocations: 250.2 kB / 0.6926 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1904, allocations: 0 / 0.6926 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1904, allocations: 0 / 0.6926 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1904, allocations: 0 / 0.6926 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.1906, allocations: 250.3 kB / 0.6928 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1906, allocations: 0 / 0.6928 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.1909, allocations: 43.89 kB / 0.6929 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1909, allocations: 0 / 0.6929 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1909, allocations: 3.938 kB / 0.6929 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1909, allocations: 4 kB / 0.6929 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1909, allocations: 0 / 0.6929 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.1917, allocations: 319.3 kB / 0.6932 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.1917, allocations: 85.02 kB / 0.6933 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.1917, allocations: 3.938 kB / 0.6933 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.1921, allocations: 43.95 kB / 0.6933 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.1921, allocations: 15.91 kB / 0.6933 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.1921, allocations: 11.98 kB / 0.6933 GB, free: 6.984 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.418e-05/0.1922, allocations: 103.3 kB / 0.6934 GB, free: 6.883 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.993e-06/0.1922, allocations: 0 / 0.6934 GB, free: 6.883 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1925, allocations: 31.88 kB / 0.6935 GB, free: 6.852 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 (6): * Single equations (assignments): 6 * 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.0001267/0.1926, allocations: 99.23 kB / 0.6936 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007103/0.1933, allocations: 195.8 kB / 0.6937 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1933, allocations: 0 / 0.6937 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.1937, allocations: 108 kB / 0.6938 GB, free: 6.449 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.194, allocations: 10.23 kB / 0.6939 GB, free: 6.441 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.1947, allocations: 331.1 kB / 0.6942 GB, free: 6.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.195, allocations: 0.7004 MB / 0.6949 GB, free: 5.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.1951, allocations: 19.42 kB / 0.6949 GB, free: 5.34 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1951, allocations: 0 / 0.6949 GB, free: 5.34 MB / 494.1 MB Notification: Performance of Templates: time 0.00313/0.1982, allocations: 1.581 MB / 0.6964 GB, free: 3.766 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocksCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o] Error 1