Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007947/0.0007947, allocations: 100.5 kB / 15.71 MB, free: 452 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.0009323/0.0009324, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.446/1.446, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9861/0.9861, allocations: 135.3 MB / 427 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004126, allocations: 13.34 kB / 0.5076 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2228, allocations: 82.31 MB / 0.588 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.00199/0.2248, allocations: 1.274 MB / 0.5892 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.2258, allocations: 495.2 kB / 0.5897 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.2259, allocations: 0 / 0.5897 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.719e-05/0.2259, allocations: 11.92 kB / 0.5897 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.226, allocations: 19.86 kB / 0.5897 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2263, allocations: 43.88 kB / 0.5898 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.2265, allocations: 87.7 kB / 0.5899 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2266, allocations: 12.17 kB / 0.5899 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.577e-05/0.2267, allocations: 35.84 kB / 0.5899 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.2268, allocations: 39.88 kB / 0.5899 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.2268, allocations: 11.94 kB / 0.5899 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.2269, allocations: 4 kB / 0.59 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.2269, allocations: 11.98 kB / 0.59 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.227, allocations: 33.64 kB / 0.59 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.2271, allocations: 60.11 kB / 0.5901 GB, free: 0.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2271, allocations: 0 / 0.5901 GB, free: 0.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2271, allocations: 0 / 0.5901 GB, free: 0.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2271, allocations: 0 / 0.5901 GB, free: 0.957 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000765/0.2279, allocations: 454.5 kB / 0.5905 GB, free: 464 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.228, allocations: 12.03 kB / 0.5905 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.228, allocations: 7.906 kB / 0.5905 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.2283, allocations: 194.8 kB / 0.5907 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.566e-05/0.2285, allocations: 33.7 kB / 0.5907 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.2285, allocations: 12 kB / 0.5907 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.2288, allocations: 105.6 kB / 0.5908 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2288, allocations: 0 / 0.5908 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2288, allocations: 7.984 kB / 0.5908 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2288, allocations: 4 kB / 0.5908 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.2292, allocations: 87.94 kB / 0.5909 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.2298, allocations: 344.7 kB / 0.5913 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.2303, allocations: 106.6 kB / 0.5914 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.2304, allocations: 56.81 kB / 0.5914 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.2305, allocations: 0 / 0.5914 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003635/0.2308, allocations: 139.2 kB / 0.5915 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.2308, allocations: 0 / 0.5915 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006068/0.2315, allocations: 205.5 kB / 0.5917 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.2315, allocations: 59.36 kB / 0.5918 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.2317, allocations: 126 kB / 0.5919 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.2317, allocations: 25.7 kB / 0.5919 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.2318, allocations: 104 kB / 0.592 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.2318, allocations: 31.61 kB / 0.5921 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.2319, allocations: 0 / 0.5921 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2321, allocations: 318.8 kB / 0.5924 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.2322, allocations: 63.95 kB / 0.5924 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.2325, allocations: 73.67 kB / 0.5925 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.2327, allocations: 118.6 kB / 0.5926 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2327, allocations: 0 / 0.5926 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005065/0.2332, allocations: 240.9 kB / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.2333, allocations: 63.39 kB / 0.5929 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2333, allocations: 0 / 0.5929 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.2333, allocations: 0 / 0.5929 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2335, allocations: 35.95 kB / 0.5929 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2335, allocations: 4 kB / 0.593 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2336, allocations: 27.86 kB / 0.593 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.2337, allocations: 4 kB / 0.593 GB, free: 13.68 MB / 0.4981 GB 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,$whenCondition1,$PRE.step.T_start,step.T_start,$PRE.step.count,step.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.2338, allocations: 117.8 kB / 0.5931 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.2339, allocations: 7.906 kB / 0.5931 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.926e-05/0.2339, allocations: 16.38 kB / 0.5931 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.234, allocations: 0 / 0.5931 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.234, allocations: 0 / 0.5931 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.234, allocations: 3.984 kB / 0.5931 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.2343, allocations: 197.5 kB / 0.5933 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2343, allocations: 0 / 0.5933 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.2344, allocations: 27.97 kB / 0.5933 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2345, allocations: 0 / 0.5933 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.2345, allocations: 7.938 kB / 0.5933 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2345, allocations: 4 kB / 0.5933 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2345, allocations: 0 / 0.5933 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.2352, allocations: 253.2 kB / 0.5936 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.2353, allocations: 88.95 kB / 0.5937 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.2353, allocations: 0 / 0.5937 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.2354, allocations: 23.98 kB / 0.5937 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.2355, allocations: 15.97 kB / 0.5937 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.2355, allocations: 7.938 kB / 0.5937 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.028e-05/0.2356, allocations: 95.27 kB / 0.5938 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2356, allocations: 0 / 0.5938 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002239/0.2359, allocations: 27.98 kB / 0.5938 GB, free: 12.7 MB / 0.4981 GB 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 (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.0002046/0.2361, allocations: 95.25 kB / 0.5939 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005358/0.2366, allocations: 246.7 kB / 0.5942 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2366, allocations: 4.062 kB / 0.5942 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.2368, allocations: 63.91 kB / 0.5942 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.2372, allocations: 28 kB / 0.5943 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/0.2381, allocations: 292.6 kB / 0.5945 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.2385, allocations: 0.6965 MB / 0.5952 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.2385, allocations: 15.44 kB / 0.5952 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of SimCode: time 6.92e-07/0.2385, allocations: 4 kB / 0.5952 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.004192/0.2427, allocations: 1.417 MB / 0.5966 GB, free: 9.773 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.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_dev_IDEAS.Utilities.Math.Examples.MovingAverageCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverageCalcHelperMain.o] Error 1