Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001017/0.001017, allocations: 100.5 kB / 15.71 MB, free: 452 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.001359/0.001359, allocations: 175.2 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.865/1.865, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005464/0.0005465, allocations: 15.28 kB / 0.6744 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.295, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001891/0.2969, allocations: 1.175 MB / 0.7891 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003943/0.2973, allocations: 136.5 kB / 0.7892 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.2974, allocations: 0 / 0.7892 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.2974, allocations: 3.938 kB / 0.7892 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.2975, allocations: 3.984 kB / 0.7892 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.2978, allocations: 31.91 kB / 0.7892 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.72e-05/0.2979, allocations: 31.92 kB / 0.7893 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.298, allocations: 19.98 kB / 0.7893 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.2981, allocations: 15.92 kB / 0.7893 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.2981, allocations: 11.94 kB / 0.7893 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2981, allocations: 3.938 kB / 0.7893 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-05/0.2982, allocations: 27.97 kB / 0.7893 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.2982, allocations: 7.984 kB / 0.7893 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.2983, allocations: 37.64 kB / 0.7894 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.2984, allocations: 47.86 kB / 0.7894 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2984, allocations: 0 / 0.7894 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2984, allocations: 0 / 0.7894 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2984, allocations: 0 / 0.7894 GB, free: 10.41 MB / 0.6075 GB 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.0005778/0.299, allocations: 355.5 kB / 0.7898 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2991, allocations: 8.031 kB / 0.7898 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.3001, allocations: 247.5 kB / 0.79 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.3003, allocations: 171 kB / 0.7902 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3003, allocations: 0 / 0.7902 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3004, allocations: 4 kB / 0.7902 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.3009, allocations: 213.4 kB / 0.7904 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.301, allocations: 4 kB / 0.7904 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.301, allocations: 0 / 0.7904 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.301, allocations: 3.938 kB / 0.7904 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008571/0.3019, allocations: 323.6 kB / 0.7907 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3029, allocations: 453.2 kB / 0.7911 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3039, allocations: 346.1 kB / 0.7915 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.3043, allocations: 116.8 kB / 0.7916 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.3043, allocations: 0 / 0.7916 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3043, allocations: 38.55 kB / 0.7916 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 3.697e-06/0.3043, allocations: 3.984 kB / 0.7916 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.00114/0.3055, allocations: 373.2 kB / 0.792 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3055, allocations: 51.41 kB / 0.792 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3057, allocations: 122 kB / 0.7921 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.3057, allocations: 25.7 kB / 0.7922 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.3058, allocations: 89.2 kB / 0.7922 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.3058, allocations: 11.83 kB / 0.7923 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.3058, allocations: 0 / 0.7923 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.306, allocations: 323.2 kB / 0.7926 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.3063, allocations: 111.9 kB / 0.7927 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.3067, allocations: 115.9 kB / 0.7928 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.307, allocations: 107.9 kB / 0.7929 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.307, allocations: 3.938 kB / 0.7929 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006775/0.3077, allocations: 253.4 kB / 0.7931 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3077, allocations: 4 kB / 0.7931 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3077, allocations: 0 / 0.7931 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3077, allocations: 0 / 0.7931 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.308, allocations: 47.91 kB / 0.7932 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.308, allocations: 7.922 kB / 0.7932 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.3082, allocations: 35.95 kB / 0.7932 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3082, allocations: 4 kB / 0.7932 GB, free: 6.297 MB / 0.6075 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.3083, allocations: 113.8 kB / 0.7933 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.3084, allocations: 7.906 kB / 0.7933 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.3084, allocations: 15.89 kB / 0.7934 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3084, allocations: 0 / 0.7934 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3085, allocations: 3.953 kB / 0.7934 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3085, allocations: 0 / 0.7934 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.3087, allocations: 205.6 kB / 0.7936 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3087, allocations: 0 / 0.7936 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.3089, allocations: 47.94 kB / 0.7936 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.309, allocations: 0 / 0.7936 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.309, allocations: 0 / 0.7936 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.309, allocations: 0 / 0.7936 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.309, allocations: 3.953 kB / 0.7936 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007637/0.3097, allocations: 351.2 kB / 0.7939 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.3098, allocations: 81.02 kB / 0.794 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.3098, allocations: 0 / 0.794 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.3101, allocations: 47.94 kB / 0.7941 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.3101, allocations: 0 / 0.7941 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3101, allocations: 7.953 kB / 0.7941 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.442e-05/0.3102, allocations: 91.27 kB / 0.7942 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.204e-06/0.3102, allocations: 0 / 0.7942 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002377/0.3105, allocations: 15.94 kB / 0.7942 GB, free: 5.223 MB / 0.6075 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.3106, allocations: 99.25 kB / 0.7943 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007408/0.3114, allocations: 231.7 kB / 0.7945 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3114, allocations: 288 / 0.7945 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.3118, allocations: 124.3 kB / 0.7946 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.3121, allocations: 11.94 kB / 0.7946 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009545/0.313, allocations: 322.1 kB / 0.7949 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.3134, allocations: 0.6848 MB / 0.7956 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.3135, allocations: 15.42 kB / 0.7956 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.3135, allocations: 0 / 0.7956 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of Templates: time 0.002735/0.3163, allocations: 1.167 MB / 0.7967 GB, free: 2.527 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothMinCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothMinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothMinCalcHelperMain.o] Error 1