Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008235/0.0008236, allocations: 99.42 kB / 16.02 MB, free: 76 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.00115/0.00115, allocations: 187 kB / 16.92 MB, free: 6.75 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.313/1.313, allocations: 223.2 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001678/0.001678, allocations: 271 kB / 292.3 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9378/0.9378, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004529, allocations: 18.5 kB / 0.5993 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1899, allocations: 88.54 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007729/0.1908, allocations: 317.4 kB / 0.6861 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1921, allocations: 1.093 MB / 0.6872 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.16e-05/0.1922, allocations: 4.438 kB / 0.6872 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.1922, allocations: 3.844 kB / 0.6872 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1924, allocations: 12.55 kB / 0.6872 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.595e-06/0.1924, allocations: 0.5 kB / 0.6872 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.868e-05/0.1925, allocations: 8.75 kB / 0.6872 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.1925, allocations: 0 / 0.6872 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.459e-05/0.1925, allocations: 0.5625 kB / 0.6872 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.872e-05/0.1926, allocations: 11.92 kB / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.236e-06/0.1926, allocations: 0.7812 kB / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1927, allocations: 15.98 kB / 0.6872 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-06/0.1927, allocations: 1.844 kB / 0.6872 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.1927, allocations: 29.64 kB / 0.6872 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.874e-05/0.1928, allocations: 11.97 kB / 0.6873 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1928, allocations: 0 / 0.6873 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1928, allocations: 0 / 0.6873 GB, free: 13.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.1928, allocations: 0.9375 kB / 0.6873 GB, free: 13.54 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.0002819/0.1931, allocations: 319.1 kB / 0.6876 GB, free: 13.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1932, allocations: 12.02 kB / 0.6876 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.1932, allocations: 4.938 kB / 0.6876 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.1933, allocations: 164.6 kB / 0.6877 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1933, allocations: 384 / 0.6877 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1934, allocations: 384 / 0.6877 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1935, allocations: 42 kB / 0.6878 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1935, allocations: 0 / 0.6878 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1935, allocations: 4 kB / 0.6878 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1935, allocations: 0.625 kB / 0.6878 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.1936, allocations: 4 kB / 0.6878 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.1938, allocations: 158.8 kB / 0.6879 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1939, allocations: 35.47 kB / 0.688 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.194, allocations: 15.28 kB / 0.688 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.1941, allocations: 81.11 kB / 0.6881 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1941, allocations: 34.5 kB / 0.6881 GB, free: 12.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1941, allocations: 0 / 0.6881 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004286/0.1984, allocations: 0.574 MB / 0.6887 GB, free: 11.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1985, allocations: 59.34 kB / 0.6887 GB, free: 11.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.954e-05/0.1985, allocations: 89.86 kB / 0.6888 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1986, allocations: 25.7 kB / 0.6888 GB, free: 11.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.1986, allocations: 84.12 kB / 0.6889 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.1986, allocations: 19.81 kB / 0.6889 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.1987, allocations: 13.72 kB / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1988, allocations: 314.8 kB / 0.6892 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005733/0.1994, allocations: 79.95 kB / 0.6893 GB, free: 11.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.2, allocations: 114.4 kB / 0.6894 GB, free: 11.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.2011, allocations: 182.5 kB / 0.6896 GB, free: 10.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2011, allocations: 3.984 kB / 0.6896 GB, free: 10.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001198/0.2023, allocations: 213.5 kB / 0.6898 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2024, allocations: 8 kB / 0.6898 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2024, allocations: 0 / 0.6898 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2024, allocations: 4.031 kB / 0.6898 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.2028, allocations: 51.91 kB / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.2028, allocations: 7.984 kB / 0.6899 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.2032, allocations: 35.98 kB / 0.6899 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2032, allocations: 4 kB / 0.6899 GB, free: 10.59 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 (5): * Single equations (assignments): 5 * 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.687e-05/0.2033, allocations: 115.2 kB / 0.69 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.2033, allocations: 3.938 kB / 0.69 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.2047, allocations: 237 kB / 0.6903 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2047, allocations: 0 / 0.6903 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2047, allocations: 4 kB / 0.6903 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2047, allocations: 7.938 kB / 0.6903 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.2062, allocations: 454.4 kB / 0.6907 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2062, allocations: 0 / 0.6907 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.2066, allocations: 47.97 kB / 0.6907 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2066, allocations: 0 / 0.6907 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.2066, allocations: 0 / 0.6907 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2066, allocations: 4 kB / 0.6907 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2066, allocations: 4.25 kB / 0.6907 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.2078, allocations: 311.4 kB / 0.691 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.2079, allocations: 81.11 kB / 0.6911 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.2079, allocations: 0 / 0.6911 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.2083, allocations: 39.97 kB / 0.6912 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.2083, allocations: 7.938 kB / 0.6912 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2083, allocations: 0 / 0.6912 GB, free: 9.199 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.742e-05/0.2084, allocations: 75.28 kB / 0.6912 GB, free: 9.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2084, allocations: 0 / 0.6912 GB, free: 9.125 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.2086, allocations: 16 kB / 0.6913 GB, free: 9.109 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 (5): * Single equations (assignments): 5 * 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.0001954/0.2088, allocations: 111.2 kB / 0.6914 GB, free: 8.988 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.2101, allocations: 179.8 kB / 0.6915 GB, free: 8.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2101, allocations: 4 kB / 0.6915 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005887/0.2107, allocations: 92.08 kB / 0.6916 GB, free: 8.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2109, allocations: 0.75 kB / 0.6916 GB, free: 8.719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.212, allocations: 249.9 kB / 0.6919 GB, free: 8.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.2123, allocations: 0.6731 MB / 0.6925 GB, free: 7.746 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.2124, allocations: 23.42 kB / 0.6925 GB, free: 7.723 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2124, allocations: 3.938 kB / 0.6925 GB, free: 7.719 MB / 494.1 MB Notification: Performance of Templates: time 0.002454/0.2149, allocations: 1.074 MB / 0.6936 GB, free: 6.652 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o] Error 1