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.005303/0.005304, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 193.7 kB / 16.79 MB, free: 5.809 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.285/1.285, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6926/0.6926, allocations: 132.2 MB / 422.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 63.41 kB / 0.5017 GB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4081, allocations: 80.2 MB / 0.58 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002478/0.4106, allocations: 1.532 MB / 0.5815 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003893/0.411, allocations: 141.8 kB / 0.5817 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.4111, allocations: 0 / 0.5817 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.442e-05/0.4111, allocations: 5.5 kB / 0.5817 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.4112, allocations: 5.578 kB / 0.5817 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.4114, allocations: 31.77 kB / 0.5817 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.4115, allocations: 34.52 kB / 0.5817 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.4116, allocations: 24.09 kB / 0.5818 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.4117, allocations: 16.06 kB / 0.5818 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.4117, allocations: 21.95 kB / 0.5818 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.4118, allocations: 2.219 kB / 0.5818 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/0.4119, allocations: 28.28 kB / 0.5818 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.4119, allocations: 11.31 kB / 0.5818 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.4119, allocations: 17.41 kB / 0.5818 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.412, allocations: 42.34 kB / 0.5819 GB, free: 3.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4121, allocations: 1.062 kB / 0.5819 GB, free: 3.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4121, allocations: 0 / 0.5819 GB, free: 3.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.4121, allocations: 4 kB / 0.5819 GB, free: 3.27 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.0004053/0.4125, allocations: 366.1 kB / 0.5822 GB, free: 2.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.4125, allocations: 9.125 kB / 0.5822 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.4136, allocations: 208.6 kB / 0.5824 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.691e-05/0.4137, allocations: 180.3 kB / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.4137, allocations: 1.562 kB / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.4138, allocations: 3.438 kB / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000575/0.4143, allocations: 192 kB / 0.5828 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.4144, allocations: 192 / 0.5828 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.4144, allocations: 5.438 kB / 0.5828 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4144, allocations: 1.219 kB / 0.5828 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.4153, allocations: 281 kB / 0.5831 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000879/0.4162, allocations: 447.8 kB / 0.5835 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.4173, allocations: 289.3 kB / 0.5838 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.4176, allocations: 101.8 kB / 0.5839 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.4177, allocations: 1.797 kB / 0.5839 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.4177, allocations: 35.53 kB / 0.5839 GB, free: 2.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.4177, allocations: 4 kB / 0.5839 GB, free: 2.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.001149/0.4188, allocations: 306.6 kB / 0.5842 GB, free: 2.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.4189, allocations: 60.91 kB / 0.5843 GB, free: 1.969 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.419, allocations: 114.1 kB / 0.5844 GB, free: 1.867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.419, allocations: 30.52 kB / 0.5844 GB, free: 1.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.419, allocations: 95.58 kB / 0.5845 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.4191, allocations: 6.156 kB / 0.5845 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.4191, allocations: 16.89 kB / 0.5845 GB, free: 1.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.4192, allocations: 322.3 kB / 0.5848 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.4195, allocations: 94.78 kB / 0.5849 GB, free: 1.383 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.4199, allocations: 100.7 kB / 0.585 GB, free: 1.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/0.4205, allocations: 173.4 kB / 0.5852 GB, free: 1.328 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4205, allocations: 3.938 kB / 0.5852 GB, free: 1.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007023/0.4212, allocations: 212.2 kB / 0.5854 GB, free: 1.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4213, allocations: 5.25 kB / 0.5854 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4213, allocations: 0.5156 kB / 0.5854 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4213, allocations: 0.5312 kB / 0.5854 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.4216, allocations: 34.06 kB / 0.5854 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4216, allocations: 0.7969 kB / 0.5854 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.4218, allocations: 34.59 kB / 0.5855 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.4218, allocations: 9.469 kB / 0.5855 GB, free: 1.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/0.4219, allocations: 120.3 kB / 0.5856 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.4219, allocations: 7.516 kB / 0.5856 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.422, allocations: 7.094 kB / 0.5856 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.422, allocations: 2 kB / 0.5856 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.422, allocations: 0 / 0.5856 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.422, allocations: 0 / 0.5856 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.4222, allocations: 217.6 kB / 0.5858 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4222, allocations: 0 / 0.5858 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.4224, allocations: 40.61 kB / 0.5858 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4224, allocations: 5.031 kB / 0.5858 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4225, allocations: 1.312 kB / 0.5859 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4225, allocations: 1.281 kB / 0.5859 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4225, allocations: 384 / 0.5859 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.4232, allocations: 316.5 kB / 0.5862 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.4232, allocations: 78.67 kB / 0.5862 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.4233, allocations: 5.938 kB / 0.5862 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.4235, allocations: 29.89 kB / 0.5863 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.4235, allocations: 3.234 kB / 0.5863 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.4235, allocations: 6.531 kB / 0.5863 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.182e-05/0.4236, allocations: 93.75 kB / 0.5864 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4236, allocations: 0 / 0.5864 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.4238, allocations: 16.23 kB / 0.5864 GB, free: 0.5352 MB / 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 (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.0001133/0.424, allocations: 106.2 kB / 0.5865 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007515/0.4247, allocations: 197.5 kB / 0.5867 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4247, allocations: 0 / 0.5867 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.4251, allocations: 94.88 kB / 0.5868 GB, free: 400 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.4253, allocations: 8.359 kB / 0.5868 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/0.4262, allocations: 295.2 kB / 0.587 GB, free: 216 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.4265, allocations: 0.6906 MB / 0.5877 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.072e-05/0.4266, allocations: 19.47 kB / 0.5877 GB, free: 15.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4266, allocations: 0 / 0.5877 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Templates: time 0.003085/0.4297, allocations: 1.154 MB / 0.5889 GB, free: 15.43 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++ -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 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