Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 96.14 kB / 15.87 MB, free: 16 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.001019/0.001019, allocations: 193.3 kB / 16.79 MB, free: 6.812 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.28/1.28, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7081/0.7081, allocations: 132.2 MB / 422.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 59.98 kB / 0.5017 GB, free: 9.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1457, allocations: 80.21 MB / 0.58 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002892/0.1487, allocations: 1.829 MB / 0.5818 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1497, allocations: 0.6515 MB / 0.5825 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.1498, allocations: 4 kB / 0.5825 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.099e-05/0.1498, allocations: 7.922 kB / 0.5825 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.048e-05/0.1499, allocations: 11.88 kB / 0.5825 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.1504, allocations: 153.1 kB / 0.5826 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1505, allocations: 119.7 kB / 0.5827 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1507, allocations: 48.86 kB / 0.5828 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1508, allocations: 55.77 kB / 0.5828 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/0.1509, allocations: 59.62 kB / 0.5829 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1509, allocations: 12 kB / 0.5829 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.151, allocations: 43.97 kB / 0.5829 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.151, allocations: 23.91 kB / 0.583 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.1511, allocations: 55.72 kB / 0.583 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1512, allocations: 96.05 kB / 0.5831 GB, free: 6.031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1513, allocations: 0 / 0.5831 GB, free: 6.031 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1513, allocations: 0 / 0.5831 GB, free: 6.031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1513, allocations: 0 / 0.5831 GB, free: 6.031 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005721/0.1518, allocations: 435 kB / 0.5835 GB, free: 5.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1519, allocations: 16.03 kB / 0.5835 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007904/0.1527, allocations: 112.6 kB / 0.5837 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1528, allocations: 176.2 kB / 0.5838 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.361e-05/0.1529, allocations: 67.95 kB / 0.5839 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.153, allocations: 12.31 kB / 0.5839 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.1535, allocations: 177.6 kB / 0.5841 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1535, allocations: 0 / 0.5841 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.1535, allocations: 0 / 0.5841 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1535, allocations: 0 / 0.5841 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/0.1541, allocations: 167.8 kB / 0.5842 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1551, allocations: 481.8 kB / 0.5847 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009339/0.1561, allocations: 218.3 kB / 0.5849 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.1564, allocations: 80.91 kB / 0.585 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.1564, allocations: 11.92 kB / 0.585 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1564, allocations: 34.56 kB / 0.585 GB, free: 3.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1564, allocations: 0 / 0.585 GB, free: 3.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009307/0.1574, allocations: 261.5 kB / 0.5853 GB, free: 3.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.1574, allocations: 55.39 kB / 0.5853 GB, free: 3.582 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1575, allocations: 140.2 kB / 0.5855 GB, free: 3.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1576, allocations: 25.7 kB / 0.5855 GB, free: 3.406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.1576, allocations: 112.2 kB / 0.5856 GB, free: 3.293 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1577, allocations: 19.66 kB / 0.5856 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.1577, allocations: 25.7 kB / 0.5856 GB, free: 3.242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1578, allocations: 326.8 kB / 0.5859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.1581, allocations: 71.92 kB / 0.586 GB, free: 2.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.1584, allocations: 98.42 kB / 0.5861 GB, free: 2.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.1589, allocations: 154.4 kB / 0.5862 GB, free: 2.578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1589, allocations: 0 / 0.5862 GB, free: 2.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000594/0.1595, allocations: 209.4 kB / 0.5864 GB, free: 2.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1595, allocations: 4 kB / 0.5865 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1595, allocations: 0 / 0.5865 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1596, allocations: 3.938 kB / 0.5865 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.1598, allocations: 47.89 kB / 0.5865 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1598, allocations: 0 / 0.5865 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.16, allocations: 23.95 kB / 0.5865 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.16, allocations: 11.94 kB / 0.5865 GB, free: 2.277 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001007/0.1601, allocations: 113.8 kB / 0.5866 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.1602, allocations: 7.906 kB / 0.5867 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000677/0.1609, allocations: 214.1 kB / 0.5869 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1609, allocations: 0 / 0.5869 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1609, allocations: 384 / 0.5869 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1609, allocations: 0 / 0.5869 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.1611, allocations: 242 kB / 0.5871 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1612, allocations: 8 kB / 0.5871 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.1614, allocations: 35.95 kB / 0.5871 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1614, allocations: 0 / 0.5871 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.1614, allocations: 11.92 kB / 0.5871 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1614, allocations: 0 / 0.5871 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1614, allocations: 0 / 0.5871 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.1621, allocations: 291.2 kB / 0.5874 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.1621, allocations: 81.02 kB / 0.5875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.1621, allocations: 7.938 kB / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.1624, allocations: 31.95 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.1625, allocations: 7.984 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1625, allocations: 4 kB / 0.5875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.877e-05/0.1626, allocations: 108.3 kB / 0.5876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1626, allocations: 0 / 0.5876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1628, allocations: 20 kB / 0.5877 GB, free: 1.016 MB / 494.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 (6): * Single equations (assignments): 6 * 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.0001337/0.163, allocations: 99.25 kB / 0.5878 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.1636, allocations: 167.8 kB / 0.5879 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1636, allocations: 0 / 0.5879 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.1639, allocations: 79.91 kB / 0.588 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1642, allocations: 12.12 kB / 0.588 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.1649, allocations: 322.7 kB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1651, allocations: 0.7043 MB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.1652, allocations: 15.42 kB / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1652, allocations: 0 / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.002682/0.1679, allocations: 1.593 MB / 0.5906 GB, free: 13.98 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocksCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o] Error 1