Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009696/0.0009694, allocations: 99.34 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.001153/0.001153, allocations: 181 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.879/1.879, allocations: 292.7 MB / 0.5509 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006015/0.0006015, allocations: 13.75 kB / 0.675 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3251, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002034/0.3272, allocations: 1.257 MB / 0.7898 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004436/0.3276, allocations: 105.7 kB / 0.7899 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.3277, allocations: 7.875 kB / 0.7899 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.3278, allocations: 3.984 kB / 0.7899 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.3279, allocations: 7.938 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.3282, allocations: 35.83 kB / 0.7899 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3283, allocations: 47.91 kB / 0.79 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.3285, allocations: 24 kB / 0.79 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.3286, allocations: 19.91 kB / 0.79 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.3287, allocations: 23.86 kB / 0.79 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3287, allocations: 4 kB / 0.79 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.3288, allocations: 11.94 kB / 0.79 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.3288, allocations: 11.98 kB / 0.7901 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.3289, allocations: 53.48 kB / 0.7901 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.329, allocations: 35.94 kB / 0.7901 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.329, allocations: 4 kB / 0.7901 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.329, allocations: 0 / 0.7901 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.329, allocations: 0 / 0.7901 GB, free: 9.93 MB / 0.6075 GB 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.0006569/0.3297, allocations: 379.6 kB / 0.7905 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3298, allocations: 12.03 kB / 0.7905 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.3298, allocations: 8.844 kB / 0.7905 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.33, allocations: 184.2 kB / 0.7907 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.33, allocations: 384 / 0.7907 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.3301, allocations: 4.375 kB / 0.7907 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.3304, allocations: 106.1 kB / 0.7908 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3304, allocations: 192 / 0.7908 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.3304, allocations: 11.92 kB / 0.7908 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3304, allocations: 7.938 kB / 0.7908 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.3308, allocations: 95.92 kB / 0.7909 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.3314, allocations: 344.7 kB / 0.7912 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.3317, allocations: 62.55 kB / 0.7913 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.3319, allocations: 60.91 kB / 0.7914 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.3319, allocations: 4 kB / 0.7914 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3319, allocations: 30.56 kB / 0.7914 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 4.178e-06/0.3319, allocations: 4 kB / 0.7914 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006153/0.3326, allocations: 169.5 kB / 0.7916 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.3326, allocations: 51.41 kB / 0.7916 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3327, allocations: 121.8 kB / 0.7917 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3328, allocations: 29.64 kB / 0.7918 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.3328, allocations: 104 kB / 0.7919 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.3329, allocations: 7.891 kB / 0.7919 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.3329, allocations: 9.719 kB / 0.7919 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3331, allocations: 322.8 kB / 0.7922 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.3332, allocations: 43.95 kB / 0.7922 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.3334, allocations: 43.97 kB / 0.7923 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.3337, allocations: 92.78 kB / 0.7924 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3337, allocations: 0 / 0.7924 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003547/0.3341, allocations: 133.5 kB / 0.7925 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3341, allocations: 4 kB / 0.7925 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3341, allocations: 0 / 0.7925 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3342, allocations: 4 kB / 0.7925 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3343, allocations: 27.97 kB / 0.7925 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3343, allocations: 0 / 0.7925 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.341e-05/0.3344, allocations: 15.98 kB / 0.7925 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.3345, allocations: 4 kB / 0.7925 GB, free: 7.254 MB / 0.6075 GB 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.0001273/0.3346, allocations: 121.8 kB / 0.7926 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.3346, allocations: 0 / 0.7926 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.3351, allocations: 141.4 kB / 0.7928 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.3351, allocations: 0 / 0.7928 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3351, allocations: 3.938 kB / 0.7928 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3351, allocations: 0 / 0.7928 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.3353, allocations: 177.6 kB / 0.793 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3354, allocations: 0 / 0.793 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.701e-05/0.3355, allocations: 23.98 kB / 0.793 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3355, allocations: 384 / 0.793 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3355, allocations: 0 / 0.793 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3355, allocations: 7.984 kB / 0.793 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3355, allocations: 0 / 0.793 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.3359, allocations: 231.2 kB / 0.7932 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.336, allocations: 85.03 kB / 0.7933 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.336, allocations: 4 kB / 0.7933 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3361, allocations: 19.98 kB / 0.7933 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.3362, allocations: 4 kB / 0.7933 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3362, allocations: 3.984 kB / 0.7933 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.641e-05/0.3363, allocations: 87.28 kB / 0.7934 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3363, allocations: 0 / 0.7934 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002226/0.3365, allocations: 11.91 kB / 0.7934 GB, free: 6.242 MB / 0.6075 GB 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.0001876/0.3367, allocations: 111.2 kB / 0.7935 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.3371, allocations: 95.92 kB / 0.7936 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3371, allocations: 4 kB / 0.7936 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3373, allocations: 55.83 kB / 0.7937 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.3376, allocations: 8.766 kB / 0.7937 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.338, allocations: 194.3 kB / 0.7939 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3384, allocations: 0.6887 MB / 0.7945 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.3385, allocations: 11.44 kB / 0.7945 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.3385, allocations: 0 / 0.7945 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.002609/0.3411, allocations: 0.9244 MB / 0.7954 GB, free: 4.098 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Average.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Utilities.Math.Examples.AverageCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.AverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.AverageCalcHelperMain.o] Error 1