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.0063/0.0063, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 191.3 kB / 16.79 MB, free: 6.254 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7175/0.7175, allocations: 132.2 MB / 422.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 58.77 kB / 0.5017 GB, free: 4.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4571, allocations: 80.21 MB / 0.58 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002895/0.4601, allocations: 1.641 MB / 0.5816 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.461, allocations: 0.5364 MB / 0.5822 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.4611, allocations: 0.7812 kB / 0.5822 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.166e-05/0.4611, allocations: 6.391 kB / 0.5822 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.4613, allocations: 10.55 kB / 0.5822 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.4615, allocations: 42.2 kB / 0.5822 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.4617, allocations: 97.16 kB / 0.5823 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.4618, allocations: 10.89 kB / 0.5823 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.195e-05/0.4619, allocations: 37.03 kB / 0.5824 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.462, allocations: 44.17 kB / 0.5824 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.462, allocations: 4.125 kB / 0.5824 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.012e-05/0.462, allocations: 5.375 kB / 0.5824 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.4621, allocations: 16.3 kB / 0.5824 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.4622, allocations: 33.88 kB / 0.5825 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.4623, allocations: 50.14 kB / 0.5825 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4623, allocations: 0.7969 kB / 0.5825 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4623, allocations: 1.281 kB / 0.5825 GB, free: 2.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.4623, allocations: 7.875 kB / 0.5825 GB, free: 2.863 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.0007824/0.4631, allocations: 467 kB / 0.583 GB, free: 2.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4632, allocations: 10.16 kB / 0.583 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.4632, allocations: 10.61 kB / 0.583 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.4634, allocations: 187.5 kB / 0.5832 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.753e-05/0.4635, allocations: 38.41 kB / 0.5832 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.4636, allocations: 9.766 kB / 0.5832 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.4639, allocations: 102.3 kB / 0.5833 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4639, allocations: 0 / 0.5833 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4639, allocations: 5.5 kB / 0.5833 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4639, allocations: 2.062 kB / 0.5833 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.4643, allocations: 67.3 kB / 0.5834 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.4648, allocations: 347.1 kB / 0.5837 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.4652, allocations: 92.2 kB / 0.5838 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.4654, allocations: 48.41 kB / 0.5838 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4654, allocations: 2.203 kB / 0.5838 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.4658, allocations: 125.3 kB / 0.584 GB, free: 1.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4658, allocations: 0 / 0.584 GB, free: 1.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006075/0.4664, allocations: 174.6 kB / 0.5841 GB, free: 1.594 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.4665, allocations: 54.05 kB / 0.5842 GB, free: 1.531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.4666, allocations: 129.5 kB / 0.5843 GB, free: 1.422 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4666, allocations: 31.36 kB / 0.5843 GB, free: 1.387 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.4666, allocations: 89.56 kB / 0.5844 GB, free: 1.301 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.4667, allocations: 30.2 kB / 0.5844 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.4667, allocations: 34.53 kB / 0.5845 GB, free: 1.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.4668, allocations: 328.5 kB / 0.5848 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.467, allocations: 51.28 kB / 0.5848 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.4672, allocations: 67.23 kB / 0.5849 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.4675, allocations: 166.7 kB / 0.5851 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4675, allocations: 0 / 0.5851 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004571/0.468, allocations: 225.8 kB / 0.5853 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.468, allocations: 59.08 kB / 0.5853 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.468, allocations: 4.875 kB / 0.5853 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.468, allocations: 1.719 kB / 0.5853 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.4682, allocations: 26.25 kB / 0.5854 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4682, allocations: 1.406 kB / 0.5854 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.4683, allocations: 31.11 kB / 0.5854 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.4684, allocations: 7.219 kB / 0.5854 GB, free: 0.5508 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,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.456e-05/0.4684, allocations: 117.4 kB / 0.5855 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.4685, allocations: 11.52 kB / 0.5855 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.4685, allocations: 19.92 kB / 0.5855 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4685, allocations: 0.8125 kB / 0.5855 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.4685, allocations: 0.9375 kB / 0.5855 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4685, allocations: 0.7031 kB / 0.5855 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.4687, allocations: 196.4 kB / 0.5857 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4687, allocations: 1.156 kB / 0.5857 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.4688, allocations: 26.84 kB / 0.5858 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4688, allocations: 0 / 0.5858 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.4689, allocations: 3.203 kB / 0.5858 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4689, allocations: 4.844 kB / 0.5858 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4689, allocations: 0 / 0.5858 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.4695, allocations: 221.3 kB / 0.586 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.4696, allocations: 88.56 kB / 0.5861 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.4696, allocations: 2.5 kB / 0.5861 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.4697, allocations: 12.48 kB / 0.5861 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.4698, allocations: 17.19 kB / 0.5861 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.4698, allocations: 4.016 kB / 0.5861 GB, free: 15.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.212e-05/0.4699, allocations: 104.8 kB / 0.5862 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4699, allocations: 0 / 0.5862 GB, free: 15.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002032/0.4701, allocations: 19.48 kB / 0.5862 GB, free: 15.88 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.0001365/0.4703, allocations: 109.1 kB / 0.5863 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.4708, allocations: 225.8 kB / 0.5865 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4708, allocations: 1.094 kB / 0.5865 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.471, allocations: 55.23 kB / 0.5866 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.4712, allocations: 26.05 kB / 0.5866 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/0.4719, allocations: 284.3 kB / 0.5869 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.4722, allocations: 0.6971 MB / 0.5876 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.4722, allocations: 17.72 kB / 0.5876 GB, free: 14.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4722, allocations: 0 / 0.5876 GB, free: 14.68 MB / 446.1 MB Notification: Performance of Templates: time 0.003446/0.4757, allocations: 1.416 MB / 0.589 GB, free: 14.57 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