Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.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.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007508/0.0007508, allocations: 97.78 kB / 16.02 MB, free: 76 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.0008554/0.0008554, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.306/1.306, allocations: 223.3 MB / 241 MB, free: 5.332 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.0003021/0.0003021, allocations: 8 kB / 0.5046 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3807, allocations: 81.58 MB / 0.5843 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.001634/0.3823, allocations: 1.294 MB / 0.5856 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.3831, allocations: 0.53 MB / 0.5861 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.3832, allocations: 1.031 kB / 0.5861 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.3832, allocations: 4.547 kB / 0.5861 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.422e-05/0.3833, allocations: 6.766 kB / 0.5861 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.3835, allocations: 48.47 kB / 0.5861 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.3837, allocations: 96.88 kB / 0.5862 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.3838, allocations: 12.59 kB / 0.5862 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.3839, allocations: 32.72 kB / 0.5863 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/0.384, allocations: 41.41 kB / 0.5863 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.384, allocations: 4.688 kB / 0.5863 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.384, allocations: 4.188 kB / 0.5863 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.384, allocations: 12.3 kB / 0.5863 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.3841, allocations: 60.66 kB / 0.5864 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.3842, allocations: 54.77 kB / 0.5864 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3842, allocations: 0 / 0.5864 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3842, allocations: 0 / 0.5864 GB, free: 2.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.3842, allocations: 0.9688 kB / 0.5864 GB, free: 2.551 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006315/0.3849, allocations: 458.9 kB / 0.5869 GB, free: 2.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3849, allocations: 9.25 kB / 0.5869 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.385, allocations: 10.44 kB / 0.5869 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.3851, allocations: 192 kB / 0.5871 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.468e-05/0.3852, allocations: 35.7 kB / 0.5871 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.3853, allocations: 13.44 kB / 0.5871 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.3856, allocations: 106.5 kB / 0.5872 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3856, allocations: 4 kB / 0.5872 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.3856, allocations: 1.531 kB / 0.5872 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3856, allocations: 4.938 kB / 0.5872 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.386, allocations: 91.56 kB / 0.5873 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.3866, allocations: 354 kB / 0.5877 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.387, allocations: 112 kB / 0.5878 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.3872, allocations: 56.67 kB / 0.5878 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.3872, allocations: 1.797 kB / 0.5878 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003428/0.3876, allocations: 132.9 kB / 0.5879 GB, free: 1.336 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3876, allocations: 1.469 kB / 0.5879 GB, free: 1.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000685/0.3883, allocations: 205.2 kB / 0.5881 GB, free: 1.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.3883, allocations: 54.11 kB / 0.5882 GB, free: 1.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.3884, allocations: 121.6 kB / 0.5883 GB, free: 1.098 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3884, allocations: 31.88 kB / 0.5883 GB, free: 1.062 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.3885, allocations: 92.3 kB / 0.5884 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3885, allocations: 31.73 kB / 0.5885 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.3886, allocations: 19.3 kB / 0.5885 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.669e-05/0.3886, allocations: 324.3 kB / 0.5888 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.3888, allocations: 63.02 kB / 0.5888 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.389, allocations: 83.14 kB / 0.5889 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.3894, allocations: 179.6 kB / 0.5891 GB, free: 464 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3894, allocations: 1.312 kB / 0.5891 GB, free: 464 kB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004987/0.3899, allocations: 237.5 kB / 0.5893 GB, free: 328 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.39, allocations: 59.08 kB / 0.5894 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.39, allocations: 1.984 kB / 0.5894 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.39, allocations: 5.219 kB / 0.5894 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.3901, allocations: 30.28 kB / 0.5894 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3901, allocations: 1.281 kB / 0.5894 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.3903, allocations: 30.22 kB / 0.5894 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3903, allocations: 8.125 kB / 0.5895 GB, free: 240 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,step.count,$PRE.step.count,step.T_start,$PRE.step.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.16e-05/0.3904, allocations: 124 kB / 0.5896 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.3904, allocations: 7.984 kB / 0.5896 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3905, allocations: 12.02 kB / 0.5896 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.3905, allocations: 1.125 kB / 0.5896 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3905, allocations: 0 / 0.5896 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3905, allocations: 1.984 kB / 0.5896 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3907, allocations: 203.4 kB / 0.5898 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3907, allocations: 1.344 kB / 0.5898 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.3909, allocations: 22.27 kB / 0.5898 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3909, allocations: 1.312 kB / 0.5898 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.3909, allocations: 2.438 kB / 0.5898 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3909, allocations: 4.562 kB / 0.5898 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3909, allocations: 0 / 0.5898 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.3916, allocations: 253.8 kB / 0.5901 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.05e-05/0.3917, allocations: 84.5 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.3917, allocations: 1.797 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.3919, allocations: 25.2 kB / 0.5902 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.392, allocations: 13.67 kB / 0.5902 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.392, allocations: 8.062 kB / 0.5902 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.154e-05/0.3921, allocations: 107.6 kB / 0.5903 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3921, allocations: 0.5938 kB / 0.5903 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.3923, allocations: 23.52 kB / 0.5903 GB, free: 15.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (movingAverage.iDelay,movingAverage.iStop,firstOrder.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,step.T_start,step.count) * Number of discrete states: 1 (step.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001675/0.3924, allocations: 97.39 kB / 0.5904 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005796/0.393, allocations: 244.7 kB / 0.5906 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.393, allocations: 0.75 kB / 0.5906 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.3933, allocations: 75.97 kB / 0.5907 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.3936, allocations: 17.75 kB / 0.5907 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.3943, allocations: 301.5 kB / 0.591 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3946, allocations: 0.6933 MB / 0.5917 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.3947, allocations: 13.41 kB / 0.5917 GB, free: 14.36 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3947, allocations: 0 / 0.5917 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Templates: time 0.004422/0.3991, allocations: 1.407 MB / 0.5931 GB, free: 14.26 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.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.MovingAverageCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.MovingAverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.MovingAverageCalcHelperMain.o] Error 1