Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001446/0.001446, allocations: 96.14 kB / 15.87 MB, free: 16 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.00172/0.00172, allocations: 191.2 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.021/2.021, allocations: 292.3 MB / 0.5491 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001716, allocations: 71.41 kB / 0.6715 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3947, allocations: 114.5 MB / 0.7833 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.004936/0.3998, allocations: 1.478 MB / 0.7848 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.4012, allocations: 0.5228 MB / 0.7853 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.4012, allocations: 0 / 0.7853 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.4014, allocations: 7.984 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.518e-05/0.4015, allocations: 7.875 kB / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.4023, allocations: 192.6 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.4026, allocations: 135.8 kB / 0.7856 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.608e-05/0.4027, allocations: 8 kB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.4029, allocations: 51.89 kB / 0.7857 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.403, allocations: 43.83 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.403, allocations: 8 kB / 0.7857 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.4034, allocations: 159.8 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-05/0.4035, allocations: 31.89 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.862e-05/0.4036, allocations: 55.72 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.4039, allocations: 168 kB / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4039, allocations: 0 / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4039, allocations: 0 / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.4039, allocations: 0 / 0.7861 GB, free: 11.14 MB / 0.6075 GB 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.0008285/0.4047, allocations: 447 kB / 0.7865 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.623e-05/0.4048, allocations: 12.03 kB / 0.7865 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.4049, allocations: 20.83 kB / 0.7866 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.4052, allocations: 200.1 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.4052, allocations: 12.38 kB / 0.7868 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.4053, allocations: 12.36 kB / 0.7868 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.4055, allocations: 87.83 kB / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.4055, allocations: 192 / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.4055, allocations: 3.938 kB / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.4055, allocations: 4 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.4057, allocations: 35.97 kB / 0.7869 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.4061, allocations: 238.5 kB / 0.7871 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.4062, allocations: 77.19 kB / 0.7872 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.009e-05/0.4063, allocations: 53.81 kB / 0.7873 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.4064, allocations: 3.938 kB / 0.7873 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.4067, allocations: 120.9 kB / 0.7874 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.4067, allocations: 0 / 0.7874 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004255/0.4071, allocations: 193.4 kB / 0.7876 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.4072, allocations: 81.11 kB / 0.7876 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.4074, allocations: 152.7 kB / 0.7878 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.4074, allocations: 37.7 kB / 0.7878 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.4075, allocations: 100.5 kB / 0.7879 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.4076, allocations: 35.55 kB / 0.7879 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4077, allocations: 57.69 kB / 0.788 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4079, allocations: 322.8 kB / 0.7883 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.408, allocations: 39.98 kB / 0.7883 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.4083, allocations: 201.3 kB / 0.7885 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.4085, allocations: 93.64 kB / 0.7886 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4085, allocations: 0 / 0.7886 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002635/0.4087, allocations: 165.4 kB / 0.7888 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.4088, allocations: 7.984 kB / 0.7888 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.4088, allocations: 4 kB / 0.7888 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4088, allocations: 0 / 0.7888 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.409, allocations: 16 kB / 0.7888 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.409, allocations: 0.625 kB / 0.7888 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.4093, allocations: 75.25 kB / 0.7889 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.4093, allocations: 8 kB / 0.7889 GB, free: 7.961 MB / 0.6075 GB 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.0001638/0.4095, allocations: 141.7 kB / 0.789 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.4095, allocations: 11.84 kB / 0.789 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.4095, allocations: 20.7 kB / 0.7891 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4095, allocations: 0 / 0.7891 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4096, allocations: 0 / 0.7891 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4096, allocations: 4.078 kB / 0.7891 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.4098, allocations: 197.5 kB / 0.7893 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4098, allocations: 7.938 kB / 0.7893 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.4098, allocations: 7.938 kB / 0.7893 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4099, allocations: 4 kB / 0.7893 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4099, allocations: 0 / 0.7893 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4099, allocations: 0 / 0.7893 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4099, allocations: 0 / 0.7893 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.4102, allocations: 181.8 kB / 0.7894 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.4103, allocations: 96.8 kB / 0.7895 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.4103, allocations: 11.98 kB / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.023e-05/0.4104, allocations: 4 kB / 0.7896 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.4104, allocations: 4 kB / 0.7896 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.4104, allocations: 3.984 kB / 0.7896 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.089e-05/0.4105, allocations: 119.2 kB / 0.7897 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4106, allocations: 0 / 0.7897 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000323/0.4109, allocations: 72 kB / 0.7897 GB, free: 6.988 MB / 0.6075 GB 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.0003285/0.4112, allocations: 166 kB / 0.7899 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.4116, allocations: 167.3 kB / 0.7901 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4116, allocations: 0 / 0.7901 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.4117, allocations: 47.92 kB / 0.7901 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.4119, allocations: 14.34 kB / 0.7901 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.4126, allocations: 278.8 kB / 0.7904 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.4132, allocations: 0.7004 MB / 0.7911 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.4132, allocations: 11.44 kB / 0.7911 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.4132, allocations: 4 kB / 0.7911 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of Templates: time 0.005502/0.4187, allocations: 2.436 MB / 0.7935 GB, free: 3.121 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o] Error 1