Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_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.0008109/0.0008108, allocations: 99.05 kB / 15.71 MB, free: 452 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.001138/0.001138, allocations: 176.8 kB / 16.58 MB, free: 6.422 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.502/1.502, allocations: 223.3 MB / 240.6 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.932/2.932, allocations: 436.7 MB / 0.7113 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004387, allocations: 8 kB / 0.8717 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8777/0.8782, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001606/0.8798, allocations: 1.125 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.8807, allocations: 466.7 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.8807, allocations: 0 / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.766e-05/0.8808, allocations: 3.938 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.8809, allocations: 11.92 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.8815, allocations: 182.6 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.8818, allocations: 127.7 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.696e-05/0.8819, allocations: 11.97 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.8819, allocations: 51.91 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.8821, allocations: 39.83 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.8821, allocations: 8 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.8824, allocations: 151.8 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.8825, allocations: 31.89 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/0.8826, allocations: 49.7 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.8829, allocations: 153.9 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.8829, allocations: 4 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.286e-06/0.8829, allocations: 0 / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.8829, allocations: 0 / 1.024 GB, free: 14.72 MB / 0.7794 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.0007348/0.8837, allocations: 440.5 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.8837, allocations: 11.98 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.8838, allocations: 19.81 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.8841, allocations: 194.9 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.8841, allocations: 11.95 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.8842, allocations: 12 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.8844, allocations: 79.38 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.8844, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.8844, allocations: 4 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8844, allocations: 3.938 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.033e-05/0.8845, allocations: 35.98 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.8849, allocations: 230.5 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.8851, allocations: 85.14 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.917e-05/0.8852, allocations: 49.81 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.8852, allocations: 7.984 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.8855, allocations: 105.1 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.8855, allocations: 0 / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003943/0.8859, allocations: 197.8 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.886, allocations: 85.11 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.8861, allocations: 151.5 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.8862, allocations: 33.7 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.8863, allocations: 108.5 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.8864, allocations: 39.53 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.8864, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.8865, allocations: 326.8 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.8866, allocations: 36.17 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.8869, allocations: 199.8 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.887, allocations: 71.91 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.887, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002344/0.8872, allocations: 165.3 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.8873, allocations: 4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.8873, allocations: 4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.8873, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.8874, allocations: 11.98 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.8874, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.8877, allocations: 104.9 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.8877, allocations: 8 kB / 1.027 GB, free: 11.63 MB / 0.7794 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.8879, allocations: 141.8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.8879, allocations: 11.91 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.8879, allocations: 8.719 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.8879, allocations: 4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8879, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8879, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.8882, allocations: 193.6 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.8882, allocations: 7.953 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.8882, allocations: 8 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8882, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.8882, allocations: 7.984 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8883, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.8883, allocations: 7.875 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.8886, allocations: 181.8 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.8886, allocations: 84.97 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.8887, allocations: 8 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.283e-05/0.8887, allocations: 8 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.8888, allocations: 3.984 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.8888, allocations: 4 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.776e-05/0.8888, allocations: 113 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8889, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002993/0.8892, allocations: 79.92 kB / 1.028 GB, free: 10.68 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000246/0.8894, allocations: 171.1 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.8897, allocations: 151.4 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8897, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/0.8898, allocations: 43.92 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.8899, allocations: 15.94 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.8904, allocations: 272.2 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.8907, allocations: 0.7082 MB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.8908, allocations: 11.44 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8908, allocations: 0 / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of Templates: time 0.004348/0.8951, allocations: 2.419 MB / 1.031 GB, free: 6.832 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o] Error 1