Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008473/0.0008473, allocations: 91.92 kB / 16.02 MB, free: 80 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.00094/0.00094, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.312/1.312, allocations: 223.2 MB / 240.9 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001614/0.001614, allocations: 270.7 kB / 292.3 MB, free: 1.734 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9219/0.9219, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004063, allocations: 14.16 kB / 0.5993 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 88.55 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.001735/0.1747, allocations: 1.132 MB / 0.6869 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009736/0.1757, allocations: 0.5146 MB / 0.6874 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.1757, allocations: 0 / 0.6874 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.894e-05/0.1758, allocations: 3.984 kB / 0.6874 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.1758, allocations: 10.38 kB / 0.6874 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.1765, allocations: 199 kB / 0.6876 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.1767, allocations: 135.7 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.1768, allocations: 4.5 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.1769, allocations: 51.89 kB / 0.6878 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.15e-05/0.177, allocations: 45.58 kB / 0.6878 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.177, allocations: 4 kB / 0.6878 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.1773, allocations: 155.8 kB / 0.688 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.1774, allocations: 37.36 kB / 0.688 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.1775, allocations: 77.42 kB / 0.6881 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.1777, allocations: 163.9 kB / 0.6882 GB, free: 12.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1777, allocations: 0.75 kB / 0.6882 GB, free: 12.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1777, allocations: 0 / 0.6882 GB, free: 12.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1777, allocations: 1.719 kB / 0.6882 GB, free: 12.56 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005582/0.1783, allocations: 419.2 kB / 0.6886 GB, free: 12.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1783, allocations: 8.656 kB / 0.6886 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.1784, allocations: 13.34 kB / 0.6886 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.1786, allocations: 208.1 kB / 0.6888 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.1786, allocations: 11.14 kB / 0.6889 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.1787, allocations: 16.38 kB / 0.6889 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1789, allocations: 79.89 kB / 0.6889 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1789, allocations: 4.188 kB / 0.6889 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1789, allocations: 3.938 kB / 0.689 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1789, allocations: 1.75 kB / 0.689 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-05/0.179, allocations: 39.92 kB / 0.689 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.1793, allocations: 226.5 kB / 0.6892 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1794, allocations: 82.83 kB / 0.6893 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.1795, allocations: 62.38 kB / 0.6893 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.1796, allocations: 5.391 kB / 0.6894 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.1798, allocations: 109.7 kB / 0.6895 GB, free: 11.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.1798, allocations: 4 kB / 0.6895 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003402/0.1801, allocations: 185.9 kB / 0.6896 GB, free: 10.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.1802, allocations: 93.03 kB / 0.6897 GB, free: 10.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1804, allocations: 151.4 kB / 0.6899 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.1804, allocations: 37.69 kB / 0.6899 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.1805, allocations: 96.52 kB / 0.69 GB, free: 10.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.1805, allocations: 39.55 kB / 0.69 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.1806, allocations: 21.7 kB / 0.6901 GB, free: 10.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1807, allocations: 330.8 kB / 0.6904 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/0.1808, allocations: 43.98 kB / 0.6904 GB, free: 10.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.181, allocations: 198.8 kB / 0.6906 GB, free: 9.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1812, allocations: 105.5 kB / 0.6907 GB, free: 9.711 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1812, allocations: 0 / 0.6907 GB, free: 9.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002234/0.1814, allocations: 169.3 kB / 0.6909 GB, free: 9.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1814, allocations: 4 kB / 0.6909 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.1814, allocations: 7.984 kB / 0.6909 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1815, allocations: 0 / 0.6909 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.655e-05/0.1815, allocations: 8 kB / 0.6909 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1816, allocations: 4 kB / 0.6909 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.1819, allocations: 91.75 kB / 0.691 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.1819, allocations: 4 kB / 0.691 GB, free: 9.422 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001142/0.182, allocations: 135.1 kB / 0.6911 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.182, allocations: 15.84 kB / 0.6911 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.776e-05/0.1821, allocations: 12.7 kB / 0.6911 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1821, allocations: 4 kB / 0.6911 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1821, allocations: 4 kB / 0.6911 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1821, allocations: 0 / 0.6911 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.1824, allocations: 189.5 kB / 0.6913 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.1824, allocations: 15.92 kB / 0.6913 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.1824, allocations: 4 kB / 0.6913 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1824, allocations: 0 / 0.6913 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1824, allocations: 4 kB / 0.6913 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1824, allocations: 0 / 0.6913 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1824, allocations: 0 / 0.6913 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1827, allocations: 189.8 kB / 0.6915 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.1828, allocations: 92.89 kB / 0.6916 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.1828, allocations: 7.922 kB / 0.6916 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.496e-05/0.1828, allocations: 8 kB / 0.6916 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.1829, allocations: 4 kB / 0.6916 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1829, allocations: 3.984 kB / 0.6916 GB, free: 8.648 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.973e-05/0.183, allocations: 113.3 kB / 0.6917 GB, free: 8.539 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.183, allocations: 4 kB / 0.6918 GB, free: 8.535 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1833, allocations: 71.98 kB / 0.6918 GB, free: 8.465 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002441/0.1835, allocations: 164.3 kB / 0.692 GB, free: 8.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1838, allocations: 163.3 kB / 0.6921 GB, free: 8.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1838, allocations: 3.938 kB / 0.6921 GB, free: 8.121 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.316e-05/0.1839, allocations: 43.92 kB / 0.6922 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.184, allocations: 7.938 kB / 0.6922 GB, free: 8.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.1846, allocations: 284.2 kB / 0.6925 GB, free: 7.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1849, allocations: 0.7085 MB / 0.6931 GB, free: 7.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.185, allocations: 11.44 kB / 0.6932 GB, free: 7.008 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.185, allocations: 0 / 0.6932 GB, free: 7.008 MB / 494.1 MB Notification: Performance of Templates: time 0.004886/0.1898, allocations: 2.42 MB / 0.6955 GB, free: 4.605 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.makefile make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.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.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o] Error 1