Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007571/0.0007572, allocations: 98.48 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.0008745/0.0008745, allocations: 187.2 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.281/1.281, allocations: 223.2 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7227/0.7227, allocations: 132.3 MB / 424.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 8 kB / 0.5046 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3965, allocations: 81.57 MB / 0.5843 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.001645/0.3982, allocations: 1.25 MB / 0.5855 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003812/0.3986, allocations: 115.6 kB / 0.5856 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.046e-05/0.3986, allocations: 12.59 kB / 0.5856 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.3988, allocations: 7.375 kB / 0.5856 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.287e-05/0.3988, allocations: 5.75 kB / 0.5856 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3991, allocations: 21.17 kB / 0.5857 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3992, allocations: 47.7 kB / 0.5857 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3993, allocations: 30.5 kB / 0.5857 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.3994, allocations: 15.94 kB / 0.5857 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.3995, allocations: 26.55 kB / 0.5858 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3995, allocations: 1.844 kB / 0.5858 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.3995, allocations: 14.45 kB / 0.5858 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.3996, allocations: 10.97 kB / 0.5858 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.3997, allocations: 48.61 kB / 0.5858 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3998, allocations: 41.88 kB / 0.5859 GB, free: 2.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3998, allocations: 0 / 0.5859 GB, free: 2.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3998, allocations: 0 / 0.5859 GB, free: 2.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3998, allocations: 4 kB / 0.5859 GB, free: 2.906 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005031/0.4003, allocations: 381.4 kB / 0.5863 GB, free: 2.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.4004, allocations: 10.48 kB / 0.5863 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.4004, allocations: 8.5 kB / 0.5863 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.4006, allocations: 182.7 kB / 0.5864 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4006, allocations: 6.906 kB / 0.5865 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4006, allocations: 6.781 kB / 0.5865 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.401, allocations: 99.41 kB / 0.5866 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.401, allocations: 1.094 kB / 0.5866 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.401, allocations: 7.938 kB / 0.5866 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.401, allocations: 6.828 kB / 0.5866 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.4014, allocations: 98.19 kB / 0.5867 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.402, allocations: 339.1 kB / 0.587 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.4022, allocations: 68.44 kB / 0.587 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.4024, allocations: 55.67 kB / 0.5871 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.4025, allocations: 3.922 kB / 0.5871 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.4025, allocations: 35.36 kB / 0.5871 GB, free: 1.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.4025, allocations: 0 / 0.5871 GB, free: 1.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006254/0.4031, allocations: 175.8 kB / 0.5873 GB, free: 1.797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.4032, allocations: 52.19 kB / 0.5874 GB, free: 1.734 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.4033, allocations: 116.6 kB / 0.5875 GB, free: 1.629 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.4033, allocations: 29.64 kB / 0.5875 GB, free: 1.594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.4033, allocations: 98.03 kB / 0.5876 GB, free: 1.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.4033, allocations: 13.8 kB / 0.5876 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.4034, allocations: 14.75 kB / 0.5876 GB, free: 1.469 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.02e-05/0.4034, allocations: 323.4 kB / 0.5879 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.4036, allocations: 41.77 kB / 0.588 GB, free: 1.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.4038, allocations: 46.52 kB / 0.588 GB, free: 1.137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.4041, allocations: 94.36 kB / 0.5881 GB, free: 1.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4041, allocations: 4.656 kB / 0.5881 GB, free: 1.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004453/0.4046, allocations: 126.4 kB / 0.5882 GB, free: 1.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.4046, allocations: 5.062 kB / 0.5882 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4046, allocations: 4.641 kB / 0.5882 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.4047, allocations: 1 kB / 0.5882 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.4048, allocations: 28.19 kB / 0.5883 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.4048, allocations: 1.656 kB / 0.5883 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.845e-05/0.405, allocations: 15.67 kB / 0.5883 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.405, allocations: 2.266 kB / 0.5883 GB, free: 1.055 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 9.222e-05/0.4051, allocations: 123.2 kB / 0.5884 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.4051, allocations: 6.25 kB / 0.5884 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.4056, allocations: 138.4 kB / 0.5885 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4056, allocations: 0 / 0.5885 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.4057, allocations: 4.969 kB / 0.5885 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4057, allocations: 0.75 kB / 0.5885 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.4059, allocations: 178.3 kB / 0.5887 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4059, allocations: 0 / 0.5887 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.406, allocations: 21.05 kB / 0.5887 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4061, allocations: 0 / 0.5887 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.4061, allocations: 6 kB / 0.5887 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4061, allocations: 0 / 0.5887 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4061, allocations: 1.562 kB / 0.5887 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.4066, allocations: 229.5 kB / 0.589 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.4067, allocations: 83.78 kB / 0.589 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.4067, allocations: 4.516 kB / 0.589 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.4068, allocations: 21.55 kB / 0.5891 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.4069, allocations: 7.375 kB / 0.5891 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.4069, allocations: 1.25 kB / 0.5891 GB, free: 404 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.614e-05/0.407, allocations: 94.05 kB / 0.5892 GB, free: 324 kB / 430.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.407, allocations: 0 / 0.5892 GB, free: 324 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.4072, allocations: 9.875 kB / 0.5892 GB, free: 324 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 (3): * Single equations (assignments): 3 * 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.0001863/0.4074, allocations: 100 kB / 0.5893 GB, free: 228 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004761/0.4079, allocations: 100.6 kB / 0.5894 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4079, allocations: 5.281 kB / 0.5894 GB, free: 208 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.4081, allocations: 54.06 kB / 0.5894 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.4085, allocations: 10.56 kB / 0.5894 GB, free: 192 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.4089, allocations: 202.9 kB / 0.5896 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.4093, allocations: 0.6881 MB / 0.5903 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.4094, allocations: 10.19 kB / 0.5903 GB, free: 15.3 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4094, allocations: 0 / 0.5903 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Templates: time 0.003593/0.413, allocations: 0.9112 MB / 0.5912 GB, free: 15.24 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.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.AverageCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.AverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.AverageCalcHelperMain.o] Error 1