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.0008162/0.0008162, 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.001057/0.001058, allocations: 174.2 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.42/1.42, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7701/0.7701, allocations: 132.3 MB / 424 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004528, allocations: 11.94 kB / 0.504 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5516, allocations: 81.58 MB / 0.5837 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002237/0.5539, allocations: 1.28 MB / 0.5849 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.5549, allocations: 0.5008 MB / 0.5854 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.5549, allocations: 0.7188 kB / 0.5854 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.555, allocations: 0.75 kB / 0.5854 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.5551, allocations: 14.78 kB / 0.5854 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.5553, allocations: 47.08 kB / 0.5855 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.5555, allocations: 87.97 kB / 0.5856 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.5556, allocations: 14.2 kB / 0.5856 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.733e-05/0.5557, allocations: 33.08 kB / 0.5856 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.465e-05/0.5558, allocations: 42 kB / 0.5856 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.5559, allocations: 4.438 kB / 0.5857 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.5559, allocations: 4.188 kB / 0.5857 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.5559, allocations: 13.31 kB / 0.5857 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.556, allocations: 38.45 kB / 0.5857 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.5561, allocations: 58.72 kB / 0.5858 GB, free: 2.785 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.5561, allocations: 0.9688 kB / 0.5858 GB, free: 2.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5561, allocations: 0 / 0.5858 GB, free: 2.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.5561, allocations: 0 / 0.5858 GB, free: 2.785 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.0006649/0.5568, allocations: 452 kB / 0.5862 GB, free: 2.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5568, allocations: 8.938 kB / 0.5862 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.5569, allocations: 10.27 kB / 0.5862 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.5571, allocations: 193.8 kB / 0.5864 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.97e-05/0.5572, allocations: 40.11 kB / 0.5864 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.5572, allocations: 4.344 kB / 0.5864 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.5575, allocations: 102.5 kB / 0.5865 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5576, allocations: 0 / 0.5865 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.5576, allocations: 5.344 kB / 0.5865 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.5576, allocations: 1.938 kB / 0.5865 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.5579, allocations: 92.52 kB / 0.5866 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.5585, allocations: 347.4 kB / 0.587 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.5589, allocations: 113.5 kB / 0.5871 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.5591, allocations: 55.8 kB / 0.5871 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.5591, allocations: 5.141 kB / 0.5871 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.5595, allocations: 128.8 kB / 0.5873 GB, free: 1.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.5595, allocations: 0 / 0.5873 GB, free: 1.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006524/0.5602, allocations: 207.2 kB / 0.5874 GB, free: 1.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.5602, allocations: 52.59 kB / 0.5875 GB, free: 1.453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5603, allocations: 128.6 kB / 0.5876 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.5604, allocations: 30.8 kB / 0.5877 GB, free: 1.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.5604, allocations: 93.91 kB / 0.5877 GB, free: 1.219 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.5604, allocations: 30.17 kB / 0.5878 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.5605, allocations: 5.25 kB / 0.5878 GB, free: 1.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.5605, allocations: 323.2 kB / 0.5881 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.5607, allocations: 59 kB / 0.5881 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.5609, allocations: 85.33 kB / 0.5882 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.5612, allocations: 108.1 kB / 0.5883 GB, free: 0.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5612, allocations: 0.7031 kB / 0.5883 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004903/0.5617, allocations: 240.9 kB / 0.5886 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.5617, allocations: 63.19 kB / 0.5886 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5617, allocations: 1.156 kB / 0.5886 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5618, allocations: 5.609 kB / 0.5886 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.5619, allocations: 30.44 kB / 0.5886 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5619, allocations: 0.5625 kB / 0.5887 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.5621, allocations: 27.89 kB / 0.5887 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.5621, allocations: 3.062 kB / 0.5887 GB, free: 0.5312 MB / 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,$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 9.191e-05/0.5622, allocations: 124.5 kB / 0.5888 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.5622, allocations: 4.469 kB / 0.5888 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.5623, allocations: 14.98 kB / 0.5888 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5623, allocations: 6.734 kB / 0.5888 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5623, allocations: 7.953 kB / 0.5888 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.5623, allocations: 0.75 kB / 0.5888 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.5625, allocations: 201 kB / 0.589 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5625, allocations: 0 / 0.589 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.5626, allocations: 26.69 kB / 0.589 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5626, allocations: 0.9375 kB / 0.589 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5627, allocations: 5.906 kB / 0.5891 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5627, allocations: 1.844 kB / 0.5891 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5627, allocations: 0 / 0.5891 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.5633, allocations: 248 kB / 0.5893 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.5634, allocations: 85.08 kB / 0.5894 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.5634, allocations: 6.125 kB / 0.5894 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.5636, allocations: 17.7 kB / 0.5894 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.5636, allocations: 21.56 kB / 0.5894 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.5637, allocations: 8.078 kB / 0.5894 GB, free: 15.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.97e-05/0.5637, allocations: 105.1 kB / 0.5895 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5638, allocations: 0 / 0.5895 GB, free: 15.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.564, allocations: 17.72 kB / 0.5895 GB, free: 15.84 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 (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.000163/0.5641, allocations: 109.8 kB / 0.5896 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005171/0.5647, allocations: 244.7 kB / 0.5899 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5647, allocations: 0 / 0.5899 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.5649, allocations: 59.08 kB / 0.5899 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.5652, allocations: 18.59 kB / 0.59 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007255/0.5659, allocations: 295.9 kB / 0.5902 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.5662, allocations: 0.6979 MB / 0.5909 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.5663, allocations: 13.33 kB / 0.5909 GB, free: 14.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5663, allocations: 0 / 0.5909 GB, free: 14.66 MB / 446.1 MB Notification: Performance of Templates: time 0.004194/0.5705, allocations: 1.392 MB / 0.5923 GB, free: 14.56 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++ 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.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