Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 102 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.001496/0.001496, allocations: 175.8 kB / 16.58 MB, free: 6.094 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.862/1.862, allocations: 205.4 MB / 222.7 MB, free: 5.609 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.838/1.838, allocations: 292.7 MB / 0.5505 GB, free: 14.58 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.0005376/0.0005377, allocations: 13.75 kB / 0.6744 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2998, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0008668/0.3007, allocations: 345.8 kB / 0.7883 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004758/0.3012, allocations: 184.6 kB / 0.7884 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.3013, allocations: 3.938 kB / 0.7884 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.192e-05/0.3014, allocations: 7.938 kB / 0.7885 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.3014, allocations: 3.938 kB / 0.7885 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3017, allocations: 35.95 kB / 0.7885 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3018, allocations: 47.91 kB / 0.7885 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3019, allocations: 4 kB / 0.7885 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.302, allocations: 27.91 kB / 0.7886 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.302, allocations: 23.86 kB / 0.7886 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3021, allocations: 0 / 0.7886 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.3021, allocations: 8 kB / 0.7886 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.3021, allocations: 15.92 kB / 0.7886 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.3022, allocations: 33.64 kB / 0.7886 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.667e-05/0.3023, allocations: 51.89 kB / 0.7887 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3023, allocations: 0 / 0.7887 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.356e-06/0.3023, allocations: 3.984 kB / 0.7887 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3023, allocations: 0 / 0.7887 GB, free: 11.18 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005344/0.3029, allocations: 389.1 kB / 0.7891 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3029, allocations: 8.031 kB / 0.7891 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.303, allocations: 15.89 kB / 0.7891 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.3031, allocations: 179 kB / 0.7893 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3032, allocations: 8 kB / 0.7893 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.3032, allocations: 4 kB / 0.7893 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3034, allocations: 81.59 kB / 0.7894 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3034, allocations: 0 / 0.7894 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3034, allocations: 4 kB / 0.7894 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3034, allocations: 0 / 0.7894 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.618e-05/0.3035, allocations: 43.91 kB / 0.7894 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.3041, allocations: 352.6 kB / 0.7897 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3043, allocations: 114.6 kB / 0.7898 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.229e-05/0.3044, allocations: 64.77 kB / 0.7899 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3044, allocations: 0 / 0.7899 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.3046, allocations: 95.36 kB / 0.79 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3046, allocations: 0 / 0.79 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003116/0.3049, allocations: 153.4 kB / 0.7901 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.305, allocations: 51.41 kB / 0.7902 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3051, allocations: 137.7 kB / 0.7903 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3051, allocations: 25.7 kB / 0.7903 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.3052, allocations: 92.05 kB / 0.7904 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.3052, allocations: 15.91 kB / 0.7905 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-06/0.3052, allocations: 7.938 kB / 0.7905 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3054, allocations: 322.8 kB / 0.7908 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.3054, allocations: 35.97 kB / 0.7908 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/0.3055, allocations: 58.56 kB / 0.7909 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.289e-05/0.3056, allocations: 36.05 kB / 0.7909 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3056, allocations: 0 / 0.7909 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001913/0.3058, allocations: 137.5 kB / 0.791 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3058, allocations: 12.03 kB / 0.791 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3058, allocations: 0 / 0.791 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3058, allocations: 0 / 0.791 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.3059, allocations: 8 kB / 0.791 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3059, allocations: 3.938 kB / 0.791 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.306, allocations: 15.92 kB / 0.7911 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.3061, allocations: 27.91 kB / 0.7911 GB, free: 8.492 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001203/0.3062, allocations: 125.8 kB / 0.7912 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.3062, allocations: 15.89 kB / 0.7912 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.3063, allocations: 8.375 kB / 0.7912 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3063, allocations: 4 kB / 0.7912 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3063, allocations: 0 / 0.7912 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3063, allocations: 0 / 0.7912 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.3068, allocations: 406.4 kB / 0.7916 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3068, allocations: 0 / 0.7916 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.3069, allocations: 7.922 kB / 0.7916 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3069, allocations: 4 kB / 0.7916 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3069, allocations: 8 kB / 0.7916 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3069, allocations: 0 / 0.7916 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3069, allocations: 480 / 0.7916 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.3071, allocations: 231.2 kB / 0.7919 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.3072, allocations: 81.02 kB / 0.7919 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3072, allocations: 8 kB / 0.7919 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.3073, allocations: 0 / 0.7919 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.3073, allocations: 7.984 kB / 0.792 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.3074, allocations: 31.95 kB / 0.792 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.296e-05/0.3075, allocations: 99.22 kB / 0.7921 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3075, allocations: 0 / 0.7921 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002384/0.3077, allocations: 23.92 kB / 0.7921 GB, free: 7.355 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0001213/0.3078, allocations: 99.25 kB / 0.7922 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.308, allocations: 95.88 kB / 0.7923 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.308, allocations: 0 / 0.7923 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.3081, allocations: 51.97 kB / 0.7923 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.3086, allocations: 61.19 kB / 0.7924 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.3091, allocations: 234.8 kB / 0.7926 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3094, allocations: 0.6965 MB / 0.7933 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.3094, allocations: 19.44 kB / 0.7933 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3094, allocations: 0 / 0.7933 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of Templates: time 0.002862/0.3123, allocations: 1.222 MB / 0.7945 GB, free: 4.816 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.OBC.CDL.Conversions.Validation.DayTypeCheckCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheckCalcHelperMain.o] Error 1