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.0007034/0.0007034, allocations: 92.16 kB / 16.02 MB, free: 80 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.000775/0.000775, allocations: 173 kB / 16.92 MB, free: 6.652 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.272/1.272, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7005/0.7005, allocations: 132.3 MB / 424.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003152, allocations: 12 kB / 0.5046 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4231, allocations: 81.57 MB / 0.5843 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.000713/0.4239, allocations: 330.6 kB / 0.5846 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.425, allocations: 1.091 MB / 0.5857 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.204e-05/0.425, allocations: 0 / 0.5857 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.425, allocations: 0 / 0.5857 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.4252, allocations: 17.66 kB / 0.5857 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.954e-06/0.4253, allocations: 2.531 kB / 0.5857 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.502e-05/0.4253, allocations: 10.42 kB / 0.5857 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.4253, allocations: 6.547 kB / 0.5857 GB, free: 3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.501e-05/0.4254, allocations: 0.7188 kB / 0.5857 GB, free: 3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.2e-05/0.4254, allocations: 5.281 kB / 0.5857 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.4254, allocations: 0 / 0.5857 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.4255, allocations: 22.11 kB / 0.5857 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-06/0.4255, allocations: 4 kB / 0.5857 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.4256, allocations: 30.94 kB / 0.5858 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.889e-05/0.4256, allocations: 6.469 kB / 0.5858 GB, free: 2.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4256, allocations: 0 / 0.5858 GB, free: 2.949 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4257, allocations: 0 / 0.5858 GB, free: 2.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.4257, allocations: 0 / 0.5858 GB, free: 2.949 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.0001982/0.4259, allocations: 317.3 kB / 0.5861 GB, free: 2.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.4259, allocations: 14.06 kB / 0.5861 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.4259, allocations: 4.844 kB / 0.5861 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.18e-05/0.426, allocations: 162.3 kB / 0.5863 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.426, allocations: 5.094 kB / 0.5863 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.4261, allocations: 2.438 kB / 0.5863 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.4262, allocations: 44.47 kB / 0.5863 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4262, allocations: 0.6562 kB / 0.5863 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.4262, allocations: 1.266 kB / 0.5863 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4262, allocations: 0 / 0.5863 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.547e-05/0.4263, allocations: 5.641 kB / 0.5863 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.4264, allocations: 155.3 kB / 0.5865 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.4265, allocations: 41.61 kB / 0.5865 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.4266, allocations: 8.625 kB / 0.5865 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.393e-05/0.4267, allocations: 86.42 kB / 0.5866 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.4267, allocations: 35.77 kB / 0.5866 GB, free: 1.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4267, allocations: 0 / 0.5866 GB, free: 1.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.004159/0.4309, allocations: 0.566 MB / 0.5872 GB, free: 1.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.4309, allocations: 53.23 kB / 0.5872 GB, free: 1.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.567e-05/0.4309, allocations: 93.86 kB / 0.5873 GB, free: 1.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.4309, allocations: 26.55 kB / 0.5873 GB, free: 1.688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.127e-05/0.431, allocations: 80.14 kB / 0.5874 GB, free: 1.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.431, allocations: 19.11 kB / 0.5874 GB, free: 1.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.431, allocations: 12.23 kB / 0.5875 GB, free: 1.574 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.4311, allocations: 316.4 kB / 0.5878 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005846/0.4317, allocations: 83.45 kB / 0.5878 GB, free: 1.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.4323, allocations: 104.7 kB / 0.5879 GB, free: 1.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.4334, allocations: 186.6 kB / 0.5881 GB, free: 1.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4334, allocations: 0 / 0.5881 GB, free: 1.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001252/0.4347, allocations: 225.2 kB / 0.5883 GB, free: 1.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4347, allocations: 6 kB / 0.5883 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4347, allocations: 432 / 0.5883 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4347, allocations: 2.031 kB / 0.5883 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.4351, allocations: 49.72 kB / 0.5884 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.4351, allocations: 1.031 kB / 0.5884 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.4355, allocations: 41 kB / 0.5884 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.4355, allocations: 3.5 kB / 0.5884 GB, free: 1.098 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/0.4356, allocations: 121.4 kB / 0.5885 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.4356, allocations: 5.922 kB / 0.5885 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.4369, allocations: 238.8 kB / 0.5888 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4369, allocations: 0.5 kB / 0.5888 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4369, allocations: 1.312 kB / 0.5888 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4369, allocations: 0.875 kB / 0.5888 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.4384, allocations: 458.5 kB / 0.5892 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4384, allocations: 0 / 0.5892 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.4388, allocations: 49.2 kB / 0.5893 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4388, allocations: 0.9844 kB / 0.5893 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4388, allocations: 1.5 kB / 0.5893 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4388, allocations: 5.859 kB / 0.5893 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4388, allocations: 4 kB / 0.5893 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.44, allocations: 309.2 kB / 0.5896 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.4401, allocations: 82.66 kB / 0.5896 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.4401, allocations: 1.281 kB / 0.5896 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.4405, allocations: 40.08 kB / 0.5897 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.4405, allocations: 6.797 kB / 0.5897 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.4405, allocations: 2.906 kB / 0.5897 GB, free: 300 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.324e-05/0.4405, allocations: 79.28 kB / 0.5898 GB, free: 220 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4405, allocations: 0 / 0.5898 GB, free: 220 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.4408, allocations: 13.7 kB / 0.5898 GB, free: 216 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 (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.0001773/0.441, allocations: 102.6 kB / 0.5899 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.4422, allocations: 181.1 kB / 0.5901 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4422, allocations: 0.6562 kB / 0.5901 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.4428, allocations: 93.75 kB / 0.5901 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.4431, allocations: 1.344 kB / 0.5901 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.4442, allocations: 243.3 kB / 0.5904 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.4444, allocations: 0.6772 MB / 0.591 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.4445, allocations: 15.5 kB / 0.5911 GB, free: 15.23 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4445, allocations: 0 / 0.5911 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Templates: time 0.002956/0.4475, allocations: 1.097 MB / 0.5921 GB, free: 15.16 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++ -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