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.0009028/0.0009029, allocations: 98.88 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.001209/0.001209, allocations: 185.3 kB / 16.93 MB, free: 6.773 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.804/1.804, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.912/1.912, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005956/0.0005958, allocations: 19.06 kB / 0.675 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3406, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002008/0.3427, allocations: 1.187 MB / 0.7897 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004404/0.3432, allocations: 148.5 kB / 0.7898 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.3432, allocations: 4 kB / 0.7898 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.3433, allocations: 0 / 0.7898 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.858e-05/0.3434, allocations: 7.922 kB / 0.7898 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.3436, allocations: 23.92 kB / 0.7899 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.3437, allocations: 31.92 kB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3439, allocations: 27.97 kB / 0.7899 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.344, allocations: 11.94 kB / 0.7899 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.344, allocations: 15.92 kB / 0.79 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.344, allocations: 0 / 0.79 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.844e-05/0.3441, allocations: 31.97 kB / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.3442, allocations: 3.938 kB / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.3442, allocations: 41.62 kB / 0.79 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.3443, allocations: 44.2 kB / 0.7901 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3444, allocations: 7.938 kB / 0.7901 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3444, allocations: 0 / 0.7901 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5e-06/0.3444, allocations: 0 / 0.7901 GB, free: 9.988 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.0005688/0.345, allocations: 351.4 kB / 0.7904 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.345, allocations: 12.03 kB / 0.7904 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.3462, allocations: 248.5 kB / 0.7907 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.3464, allocations: 172.3 kB / 0.7908 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3464, allocations: 384 / 0.7908 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.3464, allocations: 8.359 kB / 0.7908 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.3471, allocations: 210 kB / 0.791 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3471, allocations: 192 / 0.791 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.3471, allocations: 7.938 kB / 0.791 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3471, allocations: 0 / 0.791 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009287/0.3481, allocations: 315.6 kB / 0.7913 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.3491, allocations: 462.2 kB / 0.7918 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.3503, allocations: 342.2 kB / 0.7921 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.3507, allocations: 112.8 kB / 0.7922 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3508, allocations: 8 kB / 0.7922 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.3508, allocations: 38.48 kB / 0.7923 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.965e-06/0.3508, allocations: 7.984 kB / 0.7923 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001303/0.3521, allocations: 365.2 kB / 0.7926 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3522, allocations: 59.41 kB / 0.7927 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3523, allocations: 113.8 kB / 0.7928 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.3523, allocations: 29.7 kB / 0.7928 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.3524, allocations: 88.12 kB / 0.7929 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.3524, allocations: 11.75 kB / 0.7929 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.3525, allocations: 13.72 kB / 0.7929 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3526, allocations: 318.8 kB / 0.7932 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.353, allocations: 111.9 kB / 0.7933 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.3534, allocations: 123.8 kB / 0.7934 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.3542, allocations: 216.6 kB / 0.7937 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3542, allocations: 0 / 0.7937 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000796/0.355, allocations: 249.5 kB / 0.7939 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.355, allocations: 4 kB / 0.7939 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.355, allocations: 3.984 kB / 0.7939 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.355, allocations: 0 / 0.7939 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.3553, allocations: 43.94 kB / 0.7939 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3553, allocations: 0 / 0.7939 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.3556, allocations: 43.95 kB / 0.794 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3556, allocations: 0 / 0.794 GB, free: 5.754 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.988e-05/0.3557, allocations: 117.8 kB / 0.7941 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.3557, allocations: 7.906 kB / 0.7941 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.3558, allocations: 15.91 kB / 0.7941 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.3558, allocations: 4 kB / 0.7941 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3558, allocations: 0 / 0.7941 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3558, allocations: 3.938 kB / 0.7941 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.3561, allocations: 209.5 kB / 0.7943 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3561, allocations: 0 / 0.7943 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.3563, allocations: 47.94 kB / 0.7944 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3564, allocations: 0 / 0.7944 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3564, allocations: 384 / 0.7944 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3564, allocations: 0 / 0.7944 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3564, allocations: 0 / 0.7944 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008967/0.3573, allocations: 355.2 kB / 0.7947 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.3574, allocations: 85.03 kB / 0.7948 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3574, allocations: 0 / 0.7948 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.3576, allocations: 39.95 kB / 0.7948 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.3577, allocations: 4 kB / 0.7948 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3577, allocations: 4 kB / 0.7948 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.134e-05/0.3578, allocations: 95.2 kB / 0.7949 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3578, allocations: 0 / 0.7949 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002389/0.358, allocations: 12 kB / 0.7949 GB, free: 4.672 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 (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.000162/0.3582, allocations: 107.2 kB / 0.795 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008312/0.359, allocations: 236.1 kB / 0.7953 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.359, allocations: 0 / 0.7953 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.3594, allocations: 119.9 kB / 0.7954 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.3597, allocations: 8 kB / 0.7954 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3607, allocations: 326.3 kB / 0.7957 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.3611, allocations: 0.6887 MB / 0.7964 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.3612, allocations: 15.42 kB / 0.7964 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.3612, allocations: 0 / 0.7964 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of Templates: time 0.002846/0.3641, allocations: 1.165 MB / 0.7975 GB, free: 1.961 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++ -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 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