Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009482/0.0009482, 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.0009753/0.0009754, allocations: 193.2 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.273/1.273, 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.6917/0.6917, allocations: 132.2 MB / 422.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 63.06 kB / 0.5017 GB, free: 9.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1475, allocations: 80.2 MB / 0.58 GB, free: 9.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001703/0.1493, allocations: 0.6462 MB / 0.5807 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1505, allocations: 1.106 MB / 0.5818 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.166e-05/0.1505, allocations: 0 / 0.5818 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.889e-05/0.1506, allocations: 0 / 0.5818 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.1508, allocations: 19.98 kB / 0.5818 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.635e-06/0.1508, allocations: 0 / 0.5818 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.771e-05/0.1508, allocations: 7.938 kB / 0.5818 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.1509, allocations: 0 / 0.5818 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.719e-05/0.1509, allocations: 7.922 kB / 0.5818 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.306e-05/0.1509, allocations: 4 kB / 0.5818 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.1509, allocations: 0 / 0.5818 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.151, allocations: 23.92 kB / 0.5818 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-06/0.1511, allocations: 0 / 0.5818 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.1511, allocations: 7.984 kB / 0.5818 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.565e-05/0.1511, allocations: 11.92 kB / 0.5818 GB, free: 7.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1512, allocations: 0 / 0.5818 GB, free: 7.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1512, allocations: 0 / 0.5818 GB, free: 7.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1512, allocations: 0 / 0.5818 GB, free: 7.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002772/0.1514, allocations: 315.6 kB / 0.5821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1515, allocations: 12.03 kB / 0.5822 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.1515, allocations: 0.9375 kB / 0.5822 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.974e-05/0.1516, allocations: 168.4 kB / 0.5823 GB, free: 6.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1516, allocations: 384 / 0.5823 GB, free: 6.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1517, allocations: 8.281 kB / 0.5823 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.659e-05/0.1518, allocations: 42 kB / 0.5824 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1518, allocations: 0 / 0.5824 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1518, allocations: 0 / 0.5824 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1518, allocations: 0 / 0.5824 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.961e-05/0.1518, allocations: 19.91 kB / 0.5824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.152, allocations: 145.7 kB / 0.5825 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1522, allocations: 38.61 kB / 0.5826 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.1522, allocations: 8.859 kB / 0.5826 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.1524, allocations: 85.19 kB / 0.5826 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1524, allocations: 38.5 kB / 0.5827 GB, free: 6.297 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 3.437e-06/0.1524, allocations: 0 / 0.5827 GB, free: 6.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004411/0.1568, allocations: 0.5679 MB / 0.5832 GB, free: 5.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.1569, allocations: 59.34 kB / 0.5833 GB, free: 5.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.786e-05/0.1569, allocations: 89.86 kB / 0.5834 GB, free: 5.555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.157, allocations: 25.7 kB / 0.5834 GB, free: 5.523 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.157, allocations: 84.08 kB / 0.5835 GB, free: 5.438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.1571, allocations: 15.81 kB / 0.5835 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.1571, allocations: 17.7 kB / 0.5835 GB, free: 5.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1573, allocations: 314.8 kB / 0.5838 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/0.1578, allocations: 83.95 kB / 0.5839 GB, free: 5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.1585, allocations: 102.5 kB / 0.584 GB, free: 4.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.1596, allocations: 186.4 kB / 0.5842 GB, free: 4.699 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1596, allocations: 0 / 0.5842 GB, free: 4.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001185/0.1608, allocations: 225.4 kB / 0.5844 GB, free: 4.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1608, allocations: 11.94 kB / 0.5844 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1609, allocations: 0 / 0.5844 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1609, allocations: 0 / 0.5844 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.1613, allocations: 52 kB / 0.5844 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1613, allocations: 0 / 0.5844 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.1616, allocations: 43.97 kB / 0.5845 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1616, allocations: 0 / 0.5845 GB, free: 4.367 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 (5): * Single equations (assignments): 5 * 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.0001038/0.1617, allocations: 114.5 kB / 0.5846 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.1618, allocations: 3.938 kB / 0.5846 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.1631, allocations: 237 kB / 0.5848 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1631, allocations: 4 kB / 0.5848 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1631, allocations: 0 / 0.5848 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1631, allocations: 3.984 kB / 0.5848 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.1645, allocations: 458.6 kB / 0.5853 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1645, allocations: 0 / 0.5853 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.1649, allocations: 47.97 kB / 0.5853 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1649, allocations: 0 / 0.5853 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.1649, allocations: 12 kB / 0.5853 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1649, allocations: 0 / 0.5853 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1649, allocations: 0 / 0.5853 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.1661, allocations: 303.4 kB / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.1661, allocations: 81.02 kB / 0.5857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1662, allocations: 0 / 0.5857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.1665, allocations: 39.98 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.1665, allocations: 7.922 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1666, allocations: 0 / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.846e-05/0.1666, allocations: 83.31 kB / 0.5858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1666, allocations: 4 kB / 0.5858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1668, allocations: 12 kB / 0.5858 GB, free: 2.875 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 (5): * Single equations (assignments): 5 * 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.0001823/0.167, allocations: 103.2 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.1682, allocations: 179.8 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1682, allocations: 0 / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.1688, allocations: 96.08 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.169, allocations: 7.938 kB / 0.5862 GB, free: 2.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1701, allocations: 248.3 kB / 0.5864 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1703, allocations: 0.677 MB / 0.5871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.1704, allocations: 15.44 kB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1704, allocations: 0 / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of Templates: time 0.002384/0.1728, allocations: 1.089 MB / 0.5882 GB, free: 428 kB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o] Error 1