Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|average.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|average.y",fileNamePrefix="Buildings_latest_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.001077/0.001077, allocations: 102.6 kB / 15.71 MB, free: 460 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.001313/0.001314, allocations: 179.6 kB / 16.58 MB, free: 6.129 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.409/1.409, allocations: 223.3 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005375/0.0005376, allocations: 12 kB / 0.8717 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9205/0.9211, allocations: 153.7 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001891/0.9231, allocations: 1.242 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003274/0.9234, allocations: 108.5 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.9235, allocations: 0 / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.9236, allocations: 7.922 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.475e-05/0.9236, allocations: 7.938 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.9238, allocations: 23.97 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.924, allocations: 47.84 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.9241, allocations: 23.92 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.036e-05/0.9242, allocations: 19.92 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.9242, allocations: 23.91 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.9243, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.029e-05/0.9243, allocations: 12 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.9244, allocations: 11.92 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.9244, allocations: 29.7 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.9245, allocations: 43.91 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.9245, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.058e-06/0.9246, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.9246, allocations: 3.938 kB / 1.023 GB, free: 15.48 MB / 0.7794 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.0005377/0.9251, allocations: 385.1 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.9252, allocations: 15.98 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.9252, allocations: 3.906 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.9254, allocations: 179 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.9254, allocations: 11.95 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.9254, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.9257, allocations: 97.64 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9258, allocations: 7.922 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.9258, allocations: 4 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9258, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.9261, allocations: 103.9 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.9266, allocations: 340.6 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.9268, allocations: 74.53 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.927, allocations: 52.86 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.9271, allocations: 15.97 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.9271, allocations: 30.56 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.9271, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000563/0.9277, allocations: 173.5 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.9277, allocations: 51.41 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.9278, allocations: 125.8 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.9278, allocations: 25.7 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.9279, allocations: 92.12 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.9279, allocations: 11.75 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.9279, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.9281, allocations: 322.8 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.9282, allocations: 43.97 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.9284, allocations: 47.95 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.9285, allocations: 43.97 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9285, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003102/0.9288, allocations: 129.5 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.9289, allocations: 8 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9289, allocations: 0 / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.9289, allocations: 0 / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.929, allocations: 23.98 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.929, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.9291, allocations: 23.91 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.9291, allocations: 0 / 1.026 GB, free: 12.87 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.729e-05/0.9292, allocations: 117.8 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.9293, allocations: 11.91 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/0.9297, allocations: 133.5 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.9297, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9297, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.9297, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.9299, allocations: 185.5 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9299, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.615e-05/0.93, allocations: 23.98 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.93, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.93, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9301, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9301, allocations: 384 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.9304, allocations: 231.3 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.9305, allocations: 77.11 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.9305, allocations: 7.984 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.9306, allocations: 15.98 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.9307, allocations: 4 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.9307, allocations: 3.938 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.9307, allocations: 91.27 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9307, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002331/0.931, allocations: 12 kB / 1.027 GB, free: 11.86 MB / 0.7794 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 (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.000159/0.9311, allocations: 107.2 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.9315, allocations: 95.92 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.9315, allocations: 4 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.9317, allocations: 47.95 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.932, allocations: 13.83 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.9324, allocations: 190.4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.9327, allocations: 0.6926 MB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.9327, allocations: 11.44 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.9327, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.00248/0.9352, allocations: 0.9219 MB / 1.029 GB, free: 9.723 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.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 OMCppBuildings_latest_Buildings.Utilities.Math.Examples.AverageCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.AverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.AverageCalcHelperMain.o] Error 1