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.001376/0.001376, allocations: 100.1 kB / 15.88 MB, free: 8 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.00159/0.00159, allocations: 196.9 kB / 16.79 MB, free: 6.828 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.63/1.63, allocations: 222.9 MB / 240.4 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004024/0.004023, allocations: 290.7 kB / 290.9 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.493/1.493, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002631, allocations: 93.17 kB / 0.5951 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3851, allocations: 86.99 MB / 0.6801 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.006684/0.3919, allocations: 1.401 MB / 0.6814 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.3923, allocations: 40.94 kB / 0.6815 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.3923, allocations: 3.938 kB / 0.6815 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.3926, allocations: 8 kB / 0.6815 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.3929, allocations: 16.48 kB / 0.6815 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.159e-06/0.3929, allocations: 0.7188 kB / 0.6815 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.547e-05/0.393, allocations: 11.92 kB / 0.6815 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.012e-05/0.3931, allocations: 5.969 kB / 0.6815 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.3932, allocations: 15.92 kB / 0.6815 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.3933, allocations: 4 kB / 0.6815 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.3933, allocations: 0 / 0.6815 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.3934, allocations: 4 kB / 0.6816 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.3935, allocations: 12.56 kB / 0.6816 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.3935, allocations: 7.922 kB / 0.6816 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.3937, allocations: 19.98 kB / 0.6816 GB, free: 15.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.3937, allocations: 3.984 kB / 0.6816 GB, free: 15.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3937, allocations: 0 / 0.6816 GB, free: 15.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.3937, allocations: 0 / 0.6816 GB, free: 15.64 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.0005948/0.3943, allocations: 331.7 kB / 0.6819 GB, free: 15.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.171e-05/0.3944, allocations: 8.031 kB / 0.6819 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.3945, allocations: 4.938 kB / 0.6819 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.3948, allocations: 180.2 kB / 0.6821 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3948, allocations: 384 / 0.6821 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3948, allocations: 384 / 0.6821 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.395, allocations: 34.27 kB / 0.6821 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.395, allocations: 192 / 0.6821 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.395, allocations: 3.938 kB / 0.6821 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-05/0.3951, allocations: 0 / 0.6821 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.393e-05/0.3951, allocations: 7.938 kB / 0.6821 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.3954, allocations: 153.7 kB / 0.6823 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.3955, allocations: 18.52 kB / 0.6823 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.3956, allocations: 16.91 kB / 0.6823 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.3956, allocations: 3.984 kB / 0.6823 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/0.3957, allocations: 34.55 kB / 0.6824 GB, free: 14.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/0.3957, allocations: 0 / 0.6824 GB, free: 14.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002293/0.3959, allocations: 41.64 kB / 0.6824 GB, free: 14.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.396, allocations: 51.41 kB / 0.6824 GB, free: 14.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.3962, allocations: 113.8 kB / 0.6826 GB, free: 14.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3962, allocations: 29.83 kB / 0.6826 GB, free: 14.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.3963, allocations: 92.08 kB / 0.6827 GB, free: 14.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.3964, allocations: 3.906 kB / 0.6827 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.3964, allocations: 13.7 kB / 0.6827 GB, free: 14.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3966, allocations: 318.8 kB / 0.683 GB, free: 14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.3966, allocations: 0 / 0.683 GB, free: 14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.141e-05/0.3966, allocations: 0 / 0.683 GB, free: 14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.3967, allocations: 8.922 kB / 0.683 GB, free: 13.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3967, allocations: 4 kB / 0.683 GB, free: 13.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.683e-05/0.3968, allocations: 37.69 kB / 0.683 GB, free: 13.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3968, allocations: 4 kB / 0.683 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3969, allocations: 3.938 kB / 0.683 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.3969, allocations: 4 kB / 0.683 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.397, allocations: 7.938 kB / 0.6831 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.397, allocations: 0 / 0.6831 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.397, allocations: 4 kB / 0.6831 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3971, allocations: 0 / 0.6831 GB, free: 13.91 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 0.0001315/0.3972, allocations: 115.2 kB / 0.6832 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.3972, allocations: 7.891 kB / 0.6832 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.3974, allocations: 45.17 kB / 0.6832 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3974, allocations: 0 / 0.6832 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3974, allocations: 0 / 0.6832 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3974, allocations: 0 / 0.6832 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3976, allocations: 149.7 kB / 0.6834 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.3976, allocations: 3.984 kB / 0.6834 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.3977, allocations: 4 kB / 0.6834 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3977, allocations: 7.969 kB / 0.6834 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.3977, allocations: 3.938 kB / 0.6834 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3977, allocations: 3.938 kB / 0.6834 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3977, allocations: 0 / 0.6834 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.3979, allocations: 57.14 kB / 0.6834 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.3979, allocations: 85.09 kB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.398, allocations: 3.938 kB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.398, allocations: 4.031 kB / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.398, allocations: 0 / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.398, allocations: 0 / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.7e-05/0.3981, allocations: 95.27 kB / 0.6836 GB, free: 13.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3982, allocations: 0 / 0.6836 GB, free: 13.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003472/0.3985, allocations: 7.938 kB / 0.6836 GB, free: 13.23 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.0003708/0.3989, allocations: 113.8 kB / 0.6837 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.399, allocations: 11.92 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.399, allocations: 0 / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.3991, allocations: 4 kB / 0.6838 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.3993, allocations: 1.891 kB / 0.6838 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.3998, allocations: 145 kB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.4002, allocations: 0.677 MB / 0.6846 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.4003, allocations: 11.44 kB / 0.6846 GB, free: 12.21 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.4003, allocations: 0 / 0.6846 GB, free: 12.21 MB / 494.1 MB Notification: Performance of Templates: time 0.00348/0.4038, allocations: 0.7331 MB / 0.6853 GB, free: 11.48 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