Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.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.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009405/0.0009405, allocations: 92.16 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.00135/0.00135, allocations: 173 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001815, allocations: 255.1 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9649/0.9649, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004282, allocations: 10.84 kB / 0.5993 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1723, allocations: 88.55 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.001413/0.1737, allocations: 1.064 MB / 0.6868 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001254/0.1738, allocations: 37.06 kB / 0.6868 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.1739, allocations: 0 / 0.6868 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.174, allocations: 15.94 kB / 0.6869 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.315e-05/0.1741, allocations: 9.656 kB / 0.6869 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.535e-06/0.1741, allocations: 0 / 0.6869 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.577e-05/0.1742, allocations: 19.92 kB / 0.6869 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.1743, allocations: 0 / 0.6869 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.1743, allocations: 4 kB / 0.6869 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.1743, allocations: 16.91 kB / 0.6869 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1744, allocations: 0 / 0.6869 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.364e-05/0.1744, allocations: 8 kB / 0.6869 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.1745, allocations: 13.94 kB / 0.6869 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.1745, allocations: 29.64 kB / 0.687 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.054e-05/0.1746, allocations: 23.97 kB / 0.687 GB, free: 13.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1746, allocations: 0 / 0.687 GB, free: 13.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1746, allocations: 0 / 0.687 GB, free: 13.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1746, allocations: 2.375 kB / 0.687 GB, free: 13.85 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002995/0.1749, allocations: 327.7 kB / 0.6873 GB, free: 13.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1749, allocations: 8.031 kB / 0.6873 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.175, allocations: 4.938 kB / 0.6873 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.1751, allocations: 176.3 kB / 0.6875 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.1752, allocations: 5.562 kB / 0.6875 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1752, allocations: 4.375 kB / 0.6875 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.1e-05/0.1753, allocations: 30.25 kB / 0.6875 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.1753, allocations: 1.594 kB / 0.6875 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1753, allocations: 3.938 kB / 0.6875 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.1753, allocations: 4 kB / 0.6875 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.1753, allocations: 4.688 kB / 0.6875 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.1755, allocations: 156.5 kB / 0.6877 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.537e-05/0.1755, allocations: 22.55 kB / 0.6877 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.1755, allocations: 4.859 kB / 0.6877 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1756, allocations: 0 / 0.6877 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.1756, allocations: 34.56 kB / 0.6877 GB, free: 12.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1756, allocations: 5.75 kB / 0.6877 GB, free: 12.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.1757, allocations: 41.56 kB / 0.6878 GB, free: 12.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.1758, allocations: 51.41 kB / 0.6878 GB, free: 12.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1759, allocations: 120.1 kB / 0.6879 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1759, allocations: 25.7 kB / 0.688 GB, free: 12.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.1759, allocations: 80.14 kB / 0.688 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.1759, allocations: 0 / 0.688 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.176, allocations: 13.72 kB / 0.6881 GB, free: 12.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1761, allocations: 315.7 kB / 0.6884 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.1761, allocations: 4.703 kB / 0.6884 GB, free: 12.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.1761, allocations: 1.438 kB / 0.6884 GB, free: 12.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.089e-05/0.1761, allocations: 8.859 kB / 0.6884 GB, free: 12.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1761, allocations: 0 / 0.6884 GB, free: 12.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.513e-05/0.1762, allocations: 46.17 kB / 0.6884 GB, free: 12.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1762, allocations: 6.5 kB / 0.6884 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1762, allocations: 3.938 kB / 0.6884 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.1762, allocations: 8.219 kB / 0.6884 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.1763, allocations: 3.984 kB / 0.6884 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1763, allocations: 0 / 0.6884 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.1763, allocations: 0 / 0.6884 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1763, allocations: 320 / 0.6884 GB, free: 12.15 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 (1): * Single equations (assignments): 1 * 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 7.043e-05/0.1764, allocations: 111.2 kB / 0.6885 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.1764, allocations: 0 / 0.6885 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/0.1765, allocations: 53.09 kB / 0.6886 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1765, allocations: 0 / 0.6886 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1765, allocations: 7.969 kB / 0.6886 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1765, allocations: 0 / 0.6886 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.893e-05/0.1766, allocations: 153.7 kB / 0.6887 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1766, allocations: 0 / 0.6887 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-05/0.1767, allocations: 4 kB / 0.6888 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1767, allocations: 0 / 0.6888 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1767, allocations: 3.938 kB / 0.6888 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1767, allocations: 3.938 kB / 0.6888 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1767, allocations: 0 / 0.6888 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.875e-05/0.1768, allocations: 65.03 kB / 0.6888 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.1768, allocations: 85.11 kB / 0.6889 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.1768, allocations: 3.938 kB / 0.6889 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.1769, allocations: 0 / 0.6889 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.1769, allocations: 15.91 kB / 0.6889 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.1769, allocations: 0 / 0.6889 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.949e-05/0.1769, allocations: 95.27 kB / 0.689 GB, free: 11.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1769, allocations: 0 / 0.689 GB, free: 11.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001757/0.1771, allocations: 32 / 0.689 GB, free: 11.46 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 (1): * Single equations (assignments): 1 * 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.0001902/0.1773, allocations: 126.3 kB / 0.6891 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.099e-05/0.1774, allocations: 4 kB / 0.6891 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1774, allocations: 0 / 0.6891 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.1774, allocations: 8.062 kB / 0.6891 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1776, allocations: 4 kB / 0.6891 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.1778, allocations: 142.3 kB / 0.6893 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1781, allocations: 0.6809 MB / 0.6899 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.1781, allocations: 7.438 kB / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1781, allocations: 4 kB / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of Templates: time 0.002083/0.1802, allocations: 0.7244 MB / 0.6907 GB, free: 9.703 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklyScheduleCalcHelperMain.o] Error 1