Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008864/0.0008865, allocations: 102.6 kB / 15.71 MB, free: 460 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.001147/0.001147, allocations: 175.1 kB / 16.58 MB, free: 6.359 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.482/1.482, allocations: 223.3 MB / 240.6 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9884/0.9884, allocations: 135.3 MB / 427 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 8.688 kB / 0.5076 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2039, allocations: 82.32 MB / 0.588 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002155/0.2061, allocations: 1.165 MB / 0.5891 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004762/0.2066, allocations: 136.5 kB / 0.5893 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.2067, allocations: 4 kB / 0.5893 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.2067, allocations: 7.922 kB / 0.5893 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.2068, allocations: 0 / 0.5893 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2071, allocations: 27.91 kB / 0.5893 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.2072, allocations: 31.91 kB / 0.5893 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.2074, allocations: 20 kB / 0.5893 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.2075, allocations: 15.92 kB / 0.5894 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.2075, allocations: 15.91 kB / 0.5894 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.2076, allocations: 0 / 0.5894 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.2077, allocations: 31.97 kB / 0.5894 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.2077, allocations: 0 / 0.5894 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.2077, allocations: 37.64 kB / 0.5894 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.2079, allocations: 39.94 kB / 0.5895 GB, free: 1.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2079, allocations: 0 / 0.5895 GB, free: 1.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2079, allocations: 4 kB / 0.5895 GB, free: 1.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.2079, allocations: 0 / 0.5895 GB, free: 1.434 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.0005501/0.2085, allocations: 359.5 kB / 0.5898 GB, free: 1.035 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.2085, allocations: 12.03 kB / 0.5898 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.21, allocations: 243.5 kB / 0.5901 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.2102, allocations: 182.9 kB / 0.5902 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.2102, allocations: 0 / 0.5902 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.2103, allocations: 7.984 kB / 0.5903 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.211, allocations: 213.4 kB / 0.5905 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.211, allocations: 3.938 kB / 0.5905 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.211, allocations: 0 / 0.5905 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.2111, allocations: 4 kB / 0.5905 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.2122, allocations: 315.6 kB / 0.5908 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.2134, allocations: 449.4 kB / 0.5912 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.2148, allocations: 342.1 kB / 0.5915 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.2151, allocations: 124.8 kB / 0.5916 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.2151, allocations: 0 / 0.5916 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.2152, allocations: 38.56 kB / 0.5917 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.2152, allocations: 0 / 0.5917 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001041/0.2162, allocations: 365.2 kB / 0.592 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.2163, allocations: 55.41 kB / 0.5921 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.2164, allocations: 122 kB / 0.5922 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.2164, allocations: 29.7 kB / 0.5922 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.2165, allocations: 92.12 kB / 0.5923 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.2165, allocations: 11.91 kB / 0.5923 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.2165, allocations: 0 / 0.5923 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2166, allocations: 318.8 kB / 0.5926 GB, free: 14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.217, allocations: 115.9 kB / 0.5927 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.2173, allocations: 115.9 kB / 0.5928 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.2176, allocations: 95.89 kB / 0.5929 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2176, allocations: 0 / 0.5929 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006398/0.2182, allocations: 257.4 kB / 0.5932 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.2183, allocations: 8 kB / 0.5932 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2183, allocations: 0 / 0.5932 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.2183, allocations: 384 / 0.5932 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.2185, allocations: 51.83 kB / 0.5932 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.2186, allocations: 3.938 kB / 0.5932 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.2187, allocations: 39.95 kB / 0.5933 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.2188, allocations: 3.938 kB / 0.5933 GB, free: 13.31 MB / 0.4981 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.0001045/0.2189, allocations: 117.8 kB / 0.5934 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.2189, allocations: 11.91 kB / 0.5934 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.219, allocations: 11.91 kB / 0.5934 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.219, allocations: 0 / 0.5934 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.219, allocations: 7.953 kB / 0.5934 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.219, allocations: 0 / 0.5934 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.2192, allocations: 205.6 kB / 0.5936 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2192, allocations: 0 / 0.5936 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.2194, allocations: 43.94 kB / 0.5937 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.2195, allocations: 4 kB / 0.5937 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2195, allocations: 336 / 0.5937 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2195, allocations: 0 / 0.5937 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2195, allocations: 3.953 kB / 0.5937 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.2202, allocations: 351.2 kB / 0.594 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.2203, allocations: 89 kB / 0.5941 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.2203, allocations: 0 / 0.5941 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.2205, allocations: 43.95 kB / 0.5941 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.2205, allocations: 0 / 0.5941 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.2206, allocations: 3.953 kB / 0.5941 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.076e-05/0.2206, allocations: 95.27 kB / 0.5942 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2206, allocations: 0 / 0.5942 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002288/0.2209, allocations: 12 kB / 0.5942 GB, free: 12.23 MB / 0.4981 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.000125/0.221, allocations: 95.23 kB / 0.5943 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006835/0.2217, allocations: 235.8 kB / 0.5946 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2217, allocations: 0 / 0.5946 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.222, allocations: 123.8 kB / 0.5947 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.2223, allocations: 4 kB / 0.5947 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.2232, allocations: 322.4 kB / 0.595 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.2235, allocations: 0.6887 MB / 0.5957 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.2236, allocations: 15.44 kB / 0.5957 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.2236, allocations: 288 / 0.5957 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.002868/0.2264, allocations: 1.16 MB / 0.5968 GB, free: 9.539 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile make -j1 -f IDEAS_dev_IDEAS.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 OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMinCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMinCalcHelperMain.o] Error 1