Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.01207/0.01207, allocations: 100.7 kB / 15.87 MB, free: 5.867 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.002205/0.002205, allocations: 192.4 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.829/2.829, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003844/0.003844, allocations: 302.5 kB / 290.9 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.823/1.823, allocations: 169.2 MB / 0.4983 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003363/0.003363, allocations: 92.2 kB / 0.5951 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3944, allocations: 86.99 MB / 0.6801 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.007983/0.4025, allocations: 1.574 MB / 0.6816 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009517/0.4036, allocations: 113.2 kB / 0.6817 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.53e-05/0.4037, allocations: 0 / 0.6817 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.404, allocations: 12.5 kB / 0.6817 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.4041, allocations: 4.812 kB / 0.6817 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.4045, allocations: 27.95 kB / 0.6818 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.4048, allocations: 52.38 kB / 0.6818 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.405, allocations: 30.03 kB / 0.6819 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.4052, allocations: 23.86 kB / 0.6819 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.4056, allocations: 31.84 kB / 0.6819 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.4056, allocations: 4 kB / 0.6819 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.4058, allocations: 8 kB / 0.6819 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.725e-05/0.4059, allocations: 11.98 kB / 0.6819 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.645e-05/0.406, allocations: 31.78 kB / 0.682 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.4062, allocations: 40.17 kB / 0.682 GB, free: 15.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4063, allocations: 0 / 0.682 GB, free: 15.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4063, allocations: 0 / 0.682 GB, free: 15.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.4063, allocations: 0 / 0.682 GB, free: 15.26 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001153/0.4075, allocations: 383.3 kB / 0.6824 GB, free: 14.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.219e-05/0.4076, allocations: 8.031 kB / 0.6824 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.4077, allocations: 12.84 kB / 0.6824 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.4081, allocations: 180.4 kB / 0.6826 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4081, allocations: 384 / 0.6826 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.4082, allocations: 4.375 kB / 0.6826 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.4087, allocations: 90.14 kB / 0.6826 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.4087, allocations: 12.11 kB / 0.6827 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.4088, allocations: 3.938 kB / 0.6827 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.4088, allocations: 0 / 0.6827 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.4094, allocations: 79.91 kB / 0.6827 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.4107, allocations: 336.5 kB / 0.6831 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008099/0.4115, allocations: 58.53 kB / 0.6831 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.4117, allocations: 40.92 kB / 0.6832 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.646e-05/0.4118, allocations: 11.98 kB / 0.6832 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.4119, allocations: 30.56 kB / 0.6832 GB, free: 13.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.4119, allocations: 0 / 0.6832 GB, free: 13.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001189/0.4131, allocations: 141.5 kB / 0.6833 GB, free: 13.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4132, allocations: 51.41 kB / 0.6834 GB, free: 13.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.4135, allocations: 117.8 kB / 0.6835 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.4135, allocations: 25.7 kB / 0.6835 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.4139, allocations: 92.03 kB / 0.6836 GB, free: 13.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.414, allocations: 11.91 kB / 0.6836 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.4141, allocations: 13.72 kB / 0.6836 GB, free: 13.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004393/0.4146, allocations: 326.7 kB / 0.6839 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.4149, allocations: 35.97 kB / 0.684 GB, free: 13.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.4153, allocations: 31.95 kB / 0.684 GB, free: 12.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.4159, allocations: 76.72 kB / 0.6841 GB, free: 12.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.4159, allocations: 4 kB / 0.6841 GB, free: 12.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006045/0.4165, allocations: 97.61 kB / 0.6842 GB, free: 12.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.4166, allocations: 8 kB / 0.6842 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.4166, allocations: 0 / 0.6842 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.4166, allocations: 0 / 0.6842 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.4169, allocations: 19.98 kB / 0.6842 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.4169, allocations: 0 / 0.6842 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.4171, allocations: 15.89 kB / 0.6842 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.4171, allocations: 4 kB / 0.6842 GB, free: 12.75 MB / 494.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 0.0002535/0.4174, allocations: 122.4 kB / 0.6843 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.4174, allocations: 0 / 0.6843 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008443/0.4183, allocations: 121.4 kB / 0.6845 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.4183, allocations: 0 / 0.6845 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.4183, allocations: 0 / 0.6845 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4184, allocations: 3.984 kB / 0.6845 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.419, allocations: 181.5 kB / 0.6846 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.419, allocations: 4.359 kB / 0.6846 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.4192, allocations: 11.98 kB / 0.6846 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4192, allocations: 0 / 0.6846 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.4192, allocations: 4 kB / 0.6846 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4192, allocations: 0 / 0.6846 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4193, allocations: 4 kB / 0.6847 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.4202, allocations: 215.8 kB / 0.6849 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.4204, allocations: 77.11 kB / 0.6849 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.4204, allocations: 4 kB / 0.6849 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.4206, allocations: 15.98 kB / 0.6849 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.4207, allocations: 7.984 kB / 0.685 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4208, allocations: 0 / 0.685 GB, free: 11.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.4209, allocations: 91.7 kB / 0.685 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.421, allocations: 0 / 0.685 GB, free: 11.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004862/0.4215, allocations: 11.91 kB / 0.6851 GB, free: 11.79 MB / 494.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.0004047/0.4219, allocations: 103.2 kB / 0.6852 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007016/0.4226, allocations: 83.91 kB / 0.6852 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4226, allocations: 0 / 0.6852 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.4229, allocations: 39.91 kB / 0.6853 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.4236, allocations: 12.25 kB / 0.6853 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.4248, allocations: 192.9 kB / 0.6855 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.4259, allocations: 0.6926 MB / 0.6861 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.426, allocations: 11.44 kB / 0.6862 GB, free: 10.6 MB / 494.1 MB Notification: Performance of SimCode: time 8.81e-07/0.426, allocations: 0 / 0.6862 GB, free: 10.6 MB / 494.1 MB Notification: Performance of Templates: time 0.006399/0.4324, allocations: 0.9154 MB / 0.687 GB, free: 9.691 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.AverageCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.AverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.AverageCalcHelperMain.o] Error 1