Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001038/0.001038, allocations: 99.67 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: 176.9 kB / 16.58 MB, free: 6.422 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.431/1.431, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7887/0.7887, allocations: 132.3 MB / 424 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 12 kB / 0.504 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.454, allocations: 81.58 MB / 0.5837 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001487/0.4555, allocations: 1.168 MB / 0.5848 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003886/0.4559, allocations: 138.3 kB / 0.5849 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.456, allocations: 1 kB / 0.5849 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.456, allocations: 4.641 kB / 0.585 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.4561, allocations: 1.453 kB / 0.585 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.4563, allocations: 32.58 kB / 0.585 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.4564, allocations: 36.59 kB / 0.585 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4566, allocations: 16.23 kB / 0.585 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.4566, allocations: 10.75 kB / 0.585 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.4567, allocations: 14.66 kB / 0.5851 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.4567, allocations: 1.594 kB / 0.5851 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.4568, allocations: 39.72 kB / 0.5851 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.4568, allocations: 2.531 kB / 0.5851 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.4569, allocations: 36.02 kB / 0.5851 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.457, allocations: 44.17 kB / 0.5852 GB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.457, allocations: 0 / 0.5852 GB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.457, allocations: 0 / 0.5852 GB, free: 2.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.4571, allocations: 0 / 0.5852 GB, free: 2.918 MB / 430.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.00043/0.4575, allocations: 363.2 kB / 0.5855 GB, free: 2.551 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4575, allocations: 9.188 kB / 0.5855 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.4587, allocations: 239.4 kB / 0.5858 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.558e-05/0.4588, allocations: 170.4 kB / 0.5859 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4588, allocations: 6 kB / 0.5859 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.4588, allocations: 7.969 kB / 0.5859 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005778/0.4594, allocations: 215.3 kB / 0.5861 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.4594, allocations: 0 / 0.5861 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.4594, allocations: 4.516 kB / 0.5861 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4595, allocations: 2.125 kB / 0.5861 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009057/0.4604, allocations: 314.1 kB / 0.5864 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.4613, allocations: 457.5 kB / 0.5869 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.4624, allocations: 343 kB / 0.5872 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/0.4627, allocations: 123.6 kB / 0.5873 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.4628, allocations: 3.953 kB / 0.5873 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.4628, allocations: 33.3 kB / 0.5874 GB, free: 1.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.4628, allocations: 0 / 0.5874 GB, free: 1.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.00116/0.464, allocations: 372.6 kB / 0.5877 GB, free: 1.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.464, allocations: 52.16 kB / 0.5878 GB, free: 1.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.4641, allocations: 118.8 kB / 0.5879 GB, free: 1.496 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.4641, allocations: 26.83 kB / 0.5879 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.4642, allocations: 86.73 kB / 0.588 GB, free: 1.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.4642, allocations: 11.97 kB / 0.588 GB, free: 1.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.4642, allocations: 7.938 kB / 0.588 GB, free: 1.363 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.4642, allocations: 313.8 kB / 0.5883 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.4646, allocations: 120.7 kB / 0.5884 GB, free: 1.027 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.465, allocations: 108.4 kB / 0.5885 GB, free: 1.016 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.4654, allocations: 103.5 kB / 0.5886 GB, free: 1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4654, allocations: 0 / 0.5886 GB, free: 1 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007484/0.4661, allocations: 261.7 kB / 0.5889 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4661, allocations: 10.08 kB / 0.5889 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4662, allocations: 0.7031 kB / 0.5889 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4662, allocations: 0 / 0.5889 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.4664, allocations: 44.8 kB / 0.5889 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.4665, allocations: 1.594 kB / 0.5889 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.4667, allocations: 39.75 kB / 0.589 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.4667, allocations: 2.266 kB / 0.589 GB, free: 0.9141 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/0.4668, allocations: 120.3 kB / 0.5891 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.4668, allocations: 5.906 kB / 0.5891 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.4668, allocations: 15.75 kB / 0.5891 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4668, allocations: 2.016 kB / 0.5891 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4669, allocations: 0 / 0.5891 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4669, allocations: 5.078 kB / 0.5891 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.4671, allocations: 212.9 kB / 0.5893 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4671, allocations: 0 / 0.5893 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.4673, allocations: 45.03 kB / 0.5894 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4673, allocations: 1.375 kB / 0.5894 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4674, allocations: 5.266 kB / 0.5894 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4674, allocations: 1.375 kB / 0.5894 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4674, allocations: 4 kB / 0.5894 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009706/0.4683, allocations: 345.1 kB / 0.5897 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.4684, allocations: 87.58 kB / 0.5898 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.4684, allocations: 1.781 kB / 0.5898 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.4687, allocations: 38.61 kB / 0.5898 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.4687, allocations: 3.031 kB / 0.5898 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.4688, allocations: 2.016 kB / 0.5898 GB, free: 284 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.556e-05/0.4688, allocations: 101.1 kB / 0.5899 GB, free: 196 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4688, allocations: 4 kB / 0.5899 GB, free: 192 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.4691, allocations: 12.31 kB / 0.5899 GB, free: 192 kB / 430.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 (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.00011/0.4692, allocations: 98.27 kB / 0.59 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007737/0.47, allocations: 239 kB / 0.5903 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.47, allocations: 0 / 0.5903 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.4703, allocations: 121.3 kB / 0.5904 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.4706, allocations: 5.297 kB / 0.5904 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/0.4715, allocations: 315.8 kB / 0.5907 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.4718, allocations: 0.6899 MB / 0.5914 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.4719, allocations: 12.55 kB / 0.5914 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4719, allocations: 0 / 0.5914 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.003109/0.475, allocations: 1.161 MB / 0.5925 GB, free: 15.09 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile make -j1 -f IDEAS_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_IDEAS.Utilities.Math.Examples.SmoothMinCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothMinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothMinCalcHelperMain.o] Error 1