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.0009259/0.000926, allocations: 102.8 kB / 15.71 MB, free: 460 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.001266/0.001266, allocations: 172.4 kB / 16.58 MB, free: 6.402 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.735/1.735, allocations: 205.4 MB / 222.7 MB, free: 5.637 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.775/1.775, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0005325/0.0005325, allocations: 19.81 kB / 0.6744 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3095, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002232/0.3118, allocations: 1.132 MB / 0.789 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3129, allocations: 467.9 kB / 0.7895 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.313, allocations: 0 / 0.7895 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.3131, allocations: 11.92 kB / 0.7895 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.249e-05/0.3132, allocations: 7.938 kB / 0.7895 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009765/0.3142, allocations: 194.9 kB / 0.7897 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.3144, allocations: 119.8 kB / 0.7898 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.668e-05/0.3145, allocations: 7.984 kB / 0.7898 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.809e-05/0.3146, allocations: 55.83 kB / 0.7898 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.3148, allocations: 43.83 kB / 0.7899 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.3149, allocations: 4 kB / 0.7899 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.3152, allocations: 151.8 kB / 0.79 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.76e-05/0.3154, allocations: 35.89 kB / 0.7901 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.3155, allocations: 45.64 kB / 0.7901 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.3158, allocations: 164 kB / 0.7903 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3158, allocations: 0 / 0.7903 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3158, allocations: 0 / 0.7903 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.3158, allocations: 0 / 0.7903 GB, free: 9.539 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.0008646/0.3167, allocations: 418.9 kB / 0.7907 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.3168, allocations: 8.031 kB / 0.7907 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.336e-05/0.3169, allocations: 19.81 kB / 0.7907 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.3172, allocations: 202.9 kB / 0.7909 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.3173, allocations: 12 kB / 0.7909 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.3173, allocations: 8 kB / 0.7909 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.3176, allocations: 83.33 kB / 0.791 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3176, allocations: 0 / 0.791 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3176, allocations: 0 / 0.791 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3176, allocations: 0 / 0.791 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3177, allocations: 39.97 kB / 0.791 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.3182, allocations: 254.3 kB / 0.7913 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.3183, allocations: 81.19 kB / 0.7913 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.3184, allocations: 53.81 kB / 0.7914 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.3184, allocations: 0 / 0.7914 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.3186, allocations: 117 kB / 0.7915 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.3186, allocations: 0 / 0.7915 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004008/0.3191, allocations: 185.4 kB / 0.7917 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.974e-05/0.3191, allocations: 89.08 kB / 0.7918 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.3193, allocations: 152.3 kB / 0.7919 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.3194, allocations: 33.7 kB / 0.7919 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3195, allocations: 104.5 kB / 0.792 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.3195, allocations: 35.55 kB / 0.7921 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.3196, allocations: 4 kB / 0.7921 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3197, allocations: 322.8 kB / 0.7924 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.3198, allocations: 48.16 kB / 0.7924 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.3201, allocations: 202.1 kB / 0.7926 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.871e-05/0.3202, allocations: 48 kB / 0.7927 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3202, allocations: 4 kB / 0.7927 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002364/0.3205, allocations: 165.3 kB / 0.7928 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3205, allocations: 8 kB / 0.7928 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.3205, allocations: 0 / 0.7928 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3205, allocations: 7.938 kB / 0.7929 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.3206, allocations: 11.94 kB / 0.7929 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3206, allocations: 4 kB / 0.7929 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.3209, allocations: 83.83 kB / 0.793 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3209, allocations: 12 kB / 0.793 GB, free: 6.469 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 ($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.0001491/0.3211, allocations: 141.8 kB / 0.7931 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.3211, allocations: 11.81 kB / 0.7931 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.3212, allocations: 16.7 kB / 0.7931 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3212, allocations: 0 / 0.7931 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3212, allocations: 0 / 0.7931 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3212, allocations: 4 kB / 0.7931 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.3214, allocations: 193.6 kB / 0.7933 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3214, allocations: 0 / 0.7933 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.3214, allocations: 15.94 kB / 0.7933 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3215, allocations: 4 kB / 0.7933 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3215, allocations: 0 / 0.7933 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3215, allocations: 0 / 0.7933 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3215, allocations: 4 kB / 0.7933 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.3218, allocations: 185.7 kB / 0.7935 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.3218, allocations: 92.94 kB / 0.7936 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.3218, allocations: 4 kB / 0.7936 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.3219, allocations: 4 kB / 0.7936 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.322, allocations: 11.98 kB / 0.7936 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.322, allocations: 4 kB / 0.7936 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.746e-05/0.3221, allocations: 111.2 kB / 0.7937 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3221, allocations: 0 / 0.7937 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003051/0.3224, allocations: 72 kB / 0.7938 GB, free: 5.508 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 (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.000284/0.3227, allocations: 159.2 kB / 0.794 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.323, allocations: 175.2 kB / 0.7941 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.323, allocations: 0 / 0.7941 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.756e-05/0.3231, allocations: 39.98 kB / 0.7942 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.3233, allocations: 10.53 kB / 0.7942 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.3238, allocations: 276.2 kB / 0.7944 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3242, allocations: 0.7043 MB / 0.7951 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.3242, allocations: 15.44 kB / 0.7951 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3242, allocations: 0 / 0.7951 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of Templates: time 0.004889/0.3291, allocations: 2.427 MB / 0.7975 GB, free: 1.645 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++ 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_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