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.000873/0.0008731, allocations: 99.19 kB / 16.02 MB, free: 76 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.001043/0.001043, allocations: 186.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.4 MB / 223.1 MB, free: 5.539 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 1.888/1.888, allocations: 292.7 MB / 0.5509 GB, free: 14.5 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.0005849/0.000585, allocations: 10.81 kB / 0.675 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3224, allocations: 116.3 MB / 0.7885 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00182/0.3243, allocations: 1.147 MB / 0.7896 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3254, allocations: 0.5073 MB / 0.7901 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.3254, allocations: 4 kB / 0.7901 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.833e-05/0.3255, allocations: 11.92 kB / 0.7902 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.3256, allocations: 7.875 kB / 0.7902 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.3263, allocations: 198 kB / 0.7903 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.3267, allocations: 127.8 kB / 0.7905 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.3268, allocations: 4 kB / 0.7905 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.279e-05/0.3268, allocations: 59.83 kB / 0.7905 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/0.3269, allocations: 43.83 kB / 0.7906 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.327, allocations: 8 kB / 0.7906 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.3272, allocations: 159.8 kB / 0.7907 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.3273, allocations: 35.89 kB / 0.7908 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3274, allocations: 77.42 kB / 0.7908 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.3277, allocations: 160 kB / 0.791 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3277, allocations: 0 / 0.791 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3277, allocations: 0 / 0.791 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3277, allocations: 0 / 0.791 GB, free: 9.066 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.0006138/0.3283, allocations: 427.1 kB / 0.7914 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.3284, allocations: 12.03 kB / 0.7914 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.3284, allocations: 12.75 kB / 0.7914 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.3287, allocations: 212.1 kB / 0.7916 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.3287, allocations: 8.312 kB / 0.7916 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.3288, allocations: 16.36 kB / 0.7917 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.329, allocations: 83.95 kB / 0.7917 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.329, allocations: 192 / 0.7917 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.329, allocations: 3.938 kB / 0.7917 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.329, allocations: 0 / 0.7917 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.458e-05/0.3291, allocations: 39.92 kB / 0.7918 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.3295, allocations: 238.4 kB / 0.792 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.3297, allocations: 81.2 kB / 0.7921 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.3298, allocations: 61.78 kB / 0.7921 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.3298, allocations: 0 / 0.7921 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.3301, allocations: 101.1 kB / 0.7922 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.3301, allocations: 0 / 0.7922 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004153/0.3305, allocations: 193.5 kB / 0.7924 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.3306, allocations: 93.11 kB / 0.7925 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3308, allocations: 152.5 kB / 0.7927 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.3308, allocations: 33.7 kB / 0.7927 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.3309, allocations: 104.5 kB / 0.7928 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.3309, allocations: 35.45 kB / 0.7928 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.331, allocations: 29.7 kB / 0.7928 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3312, allocations: 326.8 kB / 0.7932 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.3312, allocations: 39.98 kB / 0.7932 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.3315, allocations: 200.9 kB / 0.7934 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3316, allocations: 101.6 kB / 0.7935 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3316, allocations: 0 / 0.7935 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002603/0.3319, allocations: 161.4 kB / 0.7936 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3319, allocations: 8 kB / 0.7936 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.332, allocations: 3.984 kB / 0.7936 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.332, allocations: 4 kB / 0.7937 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/0.3321, allocations: 7.938 kB / 0.7937 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3321, allocations: 4 kB / 0.7937 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.3325, allocations: 91.75 kB / 0.7938 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.3325, allocations: 4 kB / 0.7938 GB, free: 5.918 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.0001883/0.3327, allocations: 138.4 kB / 0.7939 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3327, allocations: 19.75 kB / 0.7939 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.3328, allocations: 16.7 kB / 0.7939 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3328, allocations: 0 / 0.7939 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3328, allocations: 0 / 0.7939 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3328, allocations: 4 kB / 0.7939 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.3332, allocations: 181.6 kB / 0.7941 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.3332, allocations: 7.938 kB / 0.7941 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.3332, allocations: 19.86 kB / 0.7941 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3332, allocations: 3.938 kB / 0.7941 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3333, allocations: 0 / 0.7941 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3333, allocations: 0 / 0.7941 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3333, allocations: 4.625 kB / 0.7941 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.3336, allocations: 177 kB / 0.7943 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.3337, allocations: 100.8 kB / 0.7944 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.3337, allocations: 8 kB / 0.7944 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.359e-05/0.3338, allocations: 3.984 kB / 0.7944 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.3338, allocations: 7.938 kB / 0.7944 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.3339, allocations: 4 kB / 0.7944 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001095/0.334, allocations: 115.2 kB / 0.7945 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.334, allocations: 0 / 0.7945 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003525/0.3343, allocations: 71.98 kB / 0.7946 GB, free: 4.953 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.000335/0.3347, allocations: 163.2 kB / 0.7948 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.335, allocations: 167.3 kB / 0.7949 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.3351, allocations: 0 / 0.7949 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.3351, allocations: 43.98 kB / 0.795 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.3354, allocations: 15.94 kB / 0.795 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.336, allocations: 284.2 kB / 0.7952 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.3365, allocations: 0.7004 MB / 0.7959 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.3365, allocations: 15.44 kB / 0.7959 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3365, allocations: 0 / 0.7959 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of Templates: time 0.00502/0.3416, allocations: 2.422 MB / 0.7983 GB, free: 1.082 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