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.001192/0.001192, 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.00147/0.00147, allocations: 175.5 kB / 16.58 MB, free: 6.402 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.442/1.442, 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.7593/0.7593, allocations: 132.3 MB / 424 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 12.62 kB / 0.504 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5221/0.5224, allocations: 81.59 MB / 0.5837 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.000745/0.5232, allocations: 314.7 kB / 0.584 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.5247, allocations: 1.077 MB / 0.585 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.5247, allocations: 5.375 kB / 0.585 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.5247, allocations: 0 / 0.585 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.525, allocations: 17.12 kB / 0.5851 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.965e-06/0.525, allocations: 0 / 0.5851 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.945e-05/0.525, allocations: 6.016 kB / 0.5851 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.5251, allocations: 1.891 kB / 0.5851 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.5251, allocations: 0 / 0.5851 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.604e-05/0.5251, allocations: 6.094 kB / 0.5851 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.236e-06/0.5251, allocations: 1 kB / 0.5851 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.5253, allocations: 20.55 kB / 0.5851 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-06/0.5253, allocations: 4.547 kB / 0.5851 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.331e-05/0.5253, allocations: 29.7 kB / 0.5851 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.346e-05/0.5254, allocations: 10.38 kB / 0.5851 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5254, allocations: 0 / 0.5851 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5254, allocations: 0 / 0.5851 GB, free: 2.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.5254, allocations: 8.938 kB / 0.5851 GB, free: 2.906 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002221/0.5256, allocations: 316.7 kB / 0.5855 GB, free: 2.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.5257, allocations: 9.859 kB / 0.5855 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.5257, allocations: 5.594 kB / 0.5855 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/0.5258, allocations: 164 kB / 0.5856 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5258, allocations: 4 kB / 0.5856 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.5259, allocations: 2.516 kB / 0.5856 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.526, allocations: 40.09 kB / 0.5857 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.526, allocations: 0 / 0.5857 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.526, allocations: 5.344 kB / 0.5857 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.526, allocations: 0 / 0.5857 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.269e-05/0.5261, allocations: 5.719 kB / 0.5857 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.5262, allocations: 155.4 kB / 0.5858 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.5264, allocations: 41.28 kB / 0.5859 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.5264, allocations: 8.938 kB / 0.5859 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.5266, allocations: 82.5 kB / 0.586 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.5266, allocations: 31.19 kB / 0.586 GB, free: 1.934 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5266, allocations: 0 / 0.586 GB, free: 1.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.004963/0.5316, allocations: 0.5663 MB / 0.5865 GB, free: 1.848 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.5316, allocations: 52.31 kB / 0.5866 GB, free: 1.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.193e-05/0.5317, allocations: 94.66 kB / 0.5867 GB, free: 1.684 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.5317, allocations: 30.67 kB / 0.5867 GB, free: 1.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.481e-05/0.5317, allocations: 80.14 kB / 0.5868 GB, free: 1.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.5318, allocations: 15.19 kB / 0.5868 GB, free: 1.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.5318, allocations: 0 / 0.5868 GB, free: 1.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.5319, allocations: 321.3 kB / 0.5871 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/0.5326, allocations: 86.97 kB / 0.5872 GB, free: 1.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/0.5332, allocations: 104.5 kB / 0.5873 GB, free: 1.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.5339, allocations: 80.28 kB / 0.5874 GB, free: 1.184 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5339, allocations: 7.938 kB / 0.5874 GB, free: 1.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001391/0.5353, allocations: 215.7 kB / 0.5876 GB, free: 1.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.5354, allocations: 5.469 kB / 0.5876 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.5354, allocations: 1.406 kB / 0.5876 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.5354, allocations: 1.906 kB / 0.5876 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.5359, allocations: 49.22 kB / 0.5876 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.5359, allocations: 1.281 kB / 0.5876 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.5363, allocations: 41.7 kB / 0.5877 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.5363, allocations: 2.031 kB / 0.5877 GB, free: 1.109 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.369e-05/0.5364, allocations: 122.5 kB / 0.5878 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.5364, allocations: 0.9375 kB / 0.5878 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.538, allocations: 235.2 kB / 0.588 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.538, allocations: 1.062 kB / 0.588 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5381, allocations: 3.938 kB / 0.588 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5381, allocations: 1.609 kB / 0.588 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.5398, allocations: 457.7 kB / 0.5885 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5398, allocations: 0.75 kB / 0.5885 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.5403, allocations: 48.61 kB / 0.5885 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.5403, allocations: 2.031 kB / 0.5885 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.5403, allocations: 5.984 kB / 0.5885 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5403, allocations: 0 / 0.5885 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5403, allocations: 0.6094 kB / 0.5885 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.5418, allocations: 308.4 kB / 0.5888 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.5418, allocations: 83.42 kB / 0.5889 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.5419, allocations: 6.438 kB / 0.5889 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.5423, allocations: 34.7 kB / 0.5889 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.5423, allocations: 7.688 kB / 0.5889 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.5424, allocations: 1.641 kB / 0.5889 GB, free: 320 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.317e-05/0.5424, allocations: 76.66 kB / 0.589 GB, free: 244 kB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5424, allocations: 0 / 0.589 GB, free: 244 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.5428, allocations: 14.38 kB / 0.589 GB, free: 240 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 (5): * Single equations (assignments): 5 * 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.0002399/0.5431, allocations: 108 kB / 0.5891 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.5445, allocations: 181.8 kB / 0.5893 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5445, allocations: 1.062 kB / 0.5893 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006944/0.5452, allocations: 88.83 kB / 0.5894 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.5456, allocations: 7.609 kB / 0.5894 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.5469, allocations: 240.5 kB / 0.5896 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.5472, allocations: 0.6759 MB / 0.5903 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.5474, allocations: 12.05 kB / 0.5903 GB, free: 15.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5474, allocations: 0 / 0.5903 GB, free: 15.26 MB / 446.1 MB Notification: Performance of Templates: time 0.004043/0.5514, allocations: 1.103 MB / 0.5914 GB, free: 15.18 MB / 446.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++ 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.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