Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002968/0.002968, allocations: 100.1 kB / 15.88 MB, free: 12 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.01973/0.01973, allocations: 195.9 kB / 16.79 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 2.726/2.726, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003248/0.003249, allocations: 274.8 kB / 290.9 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.873/1.873, allocations: 169.2 MB / 0.4983 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002919/0.002919, allocations: 96.75 kB / 0.5951 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3811, allocations: 86.99 MB / 0.6801 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.005357/0.3865, allocations: 1.516 MB / 0.6816 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000638/0.3872, allocations: 133.2 kB / 0.6817 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.3872, allocations: 0.6562 kB / 0.6817 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.714e-05/0.3873, allocations: 7.984 kB / 0.6817 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.995e-05/0.3874, allocations: 6 kB / 0.6817 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.3878, allocations: 27.97 kB / 0.6817 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.3879, allocations: 39.86 kB / 0.6818 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.3882, allocations: 22.73 kB / 0.6818 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.381e-05/0.3883, allocations: 15.92 kB / 0.6818 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.032e-05/0.3883, allocations: 20.7 kB / 0.6818 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.3884, allocations: 4 kB / 0.6818 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3885, allocations: 33.67 kB / 0.6819 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.3886, allocations: 4 kB / 0.6819 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.3886, allocations: 15.88 kB / 0.6819 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.3888, allocations: 43.88 kB / 0.6819 GB, free: 15.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.3888, allocations: 0.875 kB / 0.6819 GB, free: 15.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3888, allocations: 3.938 kB / 0.6819 GB, free: 15.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3889, allocations: 0 / 0.6819 GB, free: 15.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001099/0.39, allocations: 370.8 kB / 0.6823 GB, free: 14.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.887e-05/0.3901, allocations: 12.97 kB / 0.6823 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.3918, allocations: 213 kB / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.3921, allocations: 168.4 kB / 0.6827 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.3921, allocations: 4.359 kB / 0.6827 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.3921, allocations: 8.375 kB / 0.6827 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008206/0.393, allocations: 194 kB / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.393, allocations: 192 / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.393, allocations: 7.875 kB / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.3931, allocations: 4 kB / 0.6829 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.3942, allocations: 283.5 kB / 0.6831 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.3957, allocations: 433.3 kB / 0.6836 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.3975, allocations: 290.2 kB / 0.6838 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.398, allocations: 96.8 kB / 0.6839 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.3981, allocations: 7.938 kB / 0.6839 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.3981, allocations: 38.56 kB / 0.684 GB, free: 13.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.264e-06/0.3981, allocations: 0 / 0.684 GB, free: 13.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001584/0.3997, allocations: 305.2 kB / 0.6843 GB, free: 12.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.3998, allocations: 55.41 kB / 0.6843 GB, free: 12.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.4, allocations: 121.8 kB / 0.6844 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.4001, allocations: 29.7 kB / 0.6845 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.4002, allocations: 96.14 kB / 0.6845 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.4002, allocations: 3.906 kB / 0.6845 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/0.4003, allocations: 21.7 kB / 0.6846 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002524/0.4005, allocations: 322.8 kB / 0.6849 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.401, allocations: 91.81 kB / 0.685 GB, free: 11.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.4015, allocations: 95.88 kB / 0.6851 GB, free: 11.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009506/0.4025, allocations: 176.6 kB / 0.6852 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4025, allocations: 0 / 0.6852 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001061/0.4036, allocations: 217.4 kB / 0.6854 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.4036, allocations: 4 kB / 0.6854 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4036, allocations: 0 / 0.6854 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.4036, allocations: 0 / 0.6854 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.404, allocations: 31.95 kB / 0.6855 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.404, allocations: 11.91 kB / 0.6855 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.4045, allocations: 35.95 kB / 0.6855 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.4045, allocations: 0 / 0.6855 GB, free: 11.4 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 (3): * Single equations (assignments): 3 * 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 0.000156/0.4047, allocations: 115.1 kB / 0.6856 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.4047, allocations: 7.906 kB / 0.6856 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.4048, allocations: 15.83 kB / 0.6856 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.4048, allocations: 4 kB / 0.6856 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4049, allocations: 336 / 0.6856 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4049, allocations: 4 kB / 0.6857 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.4053, allocations: 209.5 kB / 0.6859 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4053, allocations: 0 / 0.6859 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.4056, allocations: 31.94 kB / 0.6859 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.475e-06/0.4056, allocations: 7.984 kB / 0.6859 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.4056, allocations: 0 / 0.6859 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4056, allocations: 0 / 0.6859 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4056, allocations: 0 / 0.6859 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4067, allocations: 315.2 kB / 0.6862 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.4068, allocations: 81.02 kB / 0.6863 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.4069, allocations: 12.38 kB / 0.6863 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.4072, allocations: 31.94 kB / 0.6863 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.4072, allocations: 4 kB / 0.6863 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.4072, allocations: 0 / 0.6863 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.742e-05/0.4073, allocations: 95.2 kB / 0.6864 GB, free: 10.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4073, allocations: 0 / 0.6864 GB, free: 10.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.4078, allocations: 12 kB / 0.6864 GB, free: 10.38 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 (3): * Single equations (assignments): 3 * 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.0001939/0.408, allocations: 103.2 kB / 0.6865 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.409, allocations: 199.7 kB / 0.6867 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4091, allocations: 0 / 0.6867 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005007/0.4096, allocations: 103.8 kB / 0.6868 GB, free: 9.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.41, allocations: 11.92 kB / 0.6868 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.4115, allocations: 296.8 kB / 0.6871 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.412, allocations: 0.6887 MB / 0.6878 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4121, allocations: 7.438 kB / 0.6878 GB, free: 8.914 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4121, allocations: 0 / 0.6878 GB, free: 8.914 MB / 494.1 MB Notification: Performance of Templates: time 0.003899/0.416, allocations: 1.163 MB / 0.6889 GB, free: 7.754 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.SmoothMinCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMinCalcHelperMain.o] Error 1