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.001247/0.001248, 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.001887/0.001887, allocations: 177.1 kB / 16.58 MB, free: 6.859 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.427/1.427, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 270.3 kB / 292 MB, free: 1.984 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8633/0.8633, allocations: 144.7 MB / 487.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004296, allocations: 16.88 kB / 0.5691 GB, free: 38.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1725, allocations: 83.09 MB / 0.6502 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.001776/0.1743, allocations: 1.229 MB / 0.6514 GB, free: 2.359 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003107/0.1746, allocations: 109.2 kB / 0.6515 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.1747, allocations: 3.938 kB / 0.6515 GB, free: 2.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1748, allocations: 7.938 kB / 0.6516 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.637e-05/0.1748, allocations: 9.234 kB / 0.6516 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.1751, allocations: 23.92 kB / 0.6516 GB, free: 2.211 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.275e-05/0.1752, allocations: 51.83 kB / 0.6516 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1753, allocations: 25.59 kB / 0.6517 GB, free: 2.137 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.962e-05/0.1753, allocations: 22.7 kB / 0.6517 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/0.1754, allocations: 23.91 kB / 0.6517 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1754, allocations: 0 / 0.6517 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.933e-05/0.1755, allocations: 4 kB / 0.6517 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.1755, allocations: 15.92 kB / 0.6517 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.1756, allocations: 33.7 kB / 0.6518 GB, free: 2.035 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.239e-05/0.1757, allocations: 35.92 kB / 0.6518 GB, free: 2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1757, allocations: 0.5 kB / 0.6518 GB, free: 2 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1757, allocations: 4.547 kB / 0.6518 GB, free: 1.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1757, allocations: 0 / 0.6518 GB, free: 1.996 MB / 446.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.0005104/0.1762, allocations: 383.2 kB / 0.6522 GB, free: 1.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1763, allocations: 8.031 kB / 0.6522 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1763, allocations: 7.906 kB / 0.6522 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.1765, allocations: 194.8 kB / 0.6524 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1765, allocations: 4.75 kB / 0.6524 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1765, allocations: 0 / 0.6524 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1768, allocations: 96.39 kB / 0.6525 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.1768, allocations: 0 / 0.6525 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1769, allocations: 0.6875 kB / 0.6525 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1769, allocations: 7.984 kB / 0.6525 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.1772, allocations: 107.9 kB / 0.6526 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.1777, allocations: 336.7 kB / 0.6529 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1779, allocations: 77.22 kB / 0.653 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1781, allocations: 52.42 kB / 0.653 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.1781, allocations: 3.984 kB / 0.653 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1782, allocations: 35.19 kB / 0.653 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1782, allocations: 0 / 0.653 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000529/0.1787, allocations: 163.5 kB / 0.6532 GB, free: 416 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1788, allocations: 57.48 kB / 0.6533 GB, free: 348 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.1789, allocations: 121.8 kB / 0.6534 GB, free: 216 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1789, allocations: 25.7 kB / 0.6534 GB, free: 184 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.1789, allocations: 92.03 kB / 0.6535 GB, free: 88 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.179, allocations: 16.56 kB / 0.6535 GB, free: 72 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.179, allocations: 0 / 0.6535 GB, free: 72 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1791, allocations: 316.5 kB / 0.6538 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.1793, allocations: 48.61 kB / 0.6539 GB, free: 15.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.1794, allocations: 51.95 kB / 0.6539 GB, free: 15.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.1796, allocations: 43.97 kB / 0.6539 GB, free: 15.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1796, allocations: 0 / 0.6539 GB, free: 15.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003117/0.1799, allocations: 125.5 kB / 0.6541 GB, free: 15.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1799, allocations: 8 kB / 0.6541 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1799, allocations: 3.938 kB / 0.6541 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.18, allocations: 0 / 0.6541 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1801, allocations: 23.98 kB / 0.6541 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1801, allocations: 0 / 0.6541 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.1802, allocations: 23.92 kB / 0.6541 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.1802, allocations: 0 / 0.6541 GB, free: 15.43 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.419e-05/0.1803, allocations: 117.8 kB / 0.6542 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.1803, allocations: 7.906 kB / 0.6542 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.1807, allocations: 133.5 kB / 0.6544 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1807, allocations: 4 kB / 0.6544 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1807, allocations: 0 / 0.6544 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1807, allocations: 0 / 0.6544 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.1809, allocations: 189.6 kB / 0.6546 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1809, allocations: 4 kB / 0.6546 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.181, allocations: 19.98 kB / 0.6546 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.181, allocations: 0 / 0.6546 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.181, allocations: 0 / 0.6546 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1811, allocations: 4 kB / 0.6546 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1811, allocations: 0 / 0.6546 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.1814, allocations: 227.7 kB / 0.6548 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.1815, allocations: 85.05 kB / 0.6549 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1815, allocations: 0 / 0.6549 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1816, allocations: 23.91 kB / 0.6549 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.1817, allocations: 8 kB / 0.6549 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.1817, allocations: 4 kB / 0.6549 GB, free: 14.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.666e-05/0.1817, allocations: 91.27 kB / 0.655 GB, free: 14.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1817, allocations: 0 / 0.655 GB, free: 14.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.182, allocations: 12 kB / 0.655 GB, free: 14.41 MB / 462.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 (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.0001405/0.1821, allocations: 99.23 kB / 0.6551 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.1825, allocations: 99.86 kB / 0.6552 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1825, allocations: 0 / 0.6552 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.1826, allocations: 55.95 kB / 0.6553 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1829, allocations: 13.58 kB / 0.6553 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.1833, allocations: 190.5 kB / 0.6554 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1835, allocations: 0.6887 MB / 0.6561 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.1836, allocations: 15.44 kB / 0.6561 GB, free: 13.19 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1836, allocations: 0 / 0.6561 GB, free: 13.19 MB / 462.1 MB Notification: Performance of Templates: time 0.00256/0.1862, allocations: 0.9205 MB / 0.657 GB, free: 12.27 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.makefile make -j1 -f BuildingSystems_BuildingSystems.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 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