Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, 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.002538/0.002538, allocations: 199.7 kB / 16.79 MB, free: 6.828 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.826/1.826, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.9/1.9, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001388/0.001388, allocations: 63.36 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.389, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002684/0.3917, allocations: 0.9683 MB / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.3953, allocations: 2.566 MB / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3955, allocations: 3.938 kB / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.431e-05/0.3956, allocations: 3.938 kB / 0.7868 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.3959, allocations: 43.67 kB / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3972, allocations: 425.7 kB / 0.7872 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.3975, allocations: 299.1 kB / 0.7875 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.554e-05/0.3976, allocations: 17.94 kB / 0.7875 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.3979, allocations: 131.6 kB / 0.7877 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.3981, allocations: 147.5 kB / 0.7878 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.3982, allocations: 16 kB / 0.7878 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006169/0.3988, allocations: 299.7 kB / 0.7881 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.3989, allocations: 59.78 kB / 0.7882 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.399, allocations: 115.5 kB / 0.7883 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.3996, allocations: 415 kB / 0.7887 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3996, allocations: 4 kB / 0.7887 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3996, allocations: 0 / 0.7887 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3996, allocations: 0 / 0.7887 GB, free: 8.52 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001535/0.4011, allocations: 0.649 MB / 0.7893 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.4012, allocations: 8.031 kB / 0.7893 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.4013, allocations: 28.59 kB / 0.7893 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.4015, allocations: 193.9 kB / 0.7895 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.4017, allocations: 131.4 kB / 0.7897 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.4017, allocations: 20.38 kB / 0.7897 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.4021, allocations: 243.9 kB / 0.7899 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4022, allocations: 4 kB / 0.7899 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.4022, allocations: 4 kB / 0.7899 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4022, allocations: 4 kB / 0.7899 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.4025, allocations: 119.7 kB / 0.79 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.403, allocations: 391.1 kB / 0.7904 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.4045, allocations: 495.3 kB / 0.7909 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.4048, allocations: 162.3 kB / 0.791 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.4048, allocations: 7.984 kB / 0.791 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006119/0.4054, allocations: 323.4 kB / 0.7914 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.364e-06/0.4055, allocations: 0 / 0.7914 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.001002/0.4065, allocations: 402.6 kB / 0.7917 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003074/0.4068, allocations: 354.6 kB / 0.7921 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.407, allocations: 175.2 kB / 0.7922 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.4071, allocations: 37.7 kB / 0.7923 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4072, allocations: 101 kB / 0.7924 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.4073, allocations: 110.5 kB / 0.7925 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.4075, allocations: 98.22 kB / 0.7926 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4077, allocations: 326.8 kB / 0.7929 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.408, allocations: 121 kB / 0.793 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.4084, allocations: 165 kB / 0.7932 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006237/0.409, allocations: 266.7 kB / 0.7934 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.409, allocations: 0 / 0.7934 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008142/0.4098, allocations: 381 kB / 0.7938 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.4099, allocations: 8 kB / 0.7938 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4099, allocations: 8 kB / 0.7938 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4099, allocations: 4 kB / 0.7938 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.4104, allocations: 79.81 kB / 0.7939 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.4104, allocations: 4 kB / 0.7939 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.4107, allocations: 47.66 kB / 0.7939 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.4108, allocations: 23.98 kB / 0.7939 GB, free: 2.551 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000223/0.411, allocations: 158.4 kB / 0.7941 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.4111, allocations: 31.59 kB / 0.7941 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007918/0.4119, allocations: 358 kB / 0.7945 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.4119, allocations: 12 kB / 0.7945 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/0.4119, allocations: 4 kB / 0.7945 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.412, allocations: 7.984 kB / 0.7945 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.4125, allocations: 349.1 kB / 0.7948 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4125, allocations: 7.938 kB / 0.7948 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.4128, allocations: 71.84 kB / 0.7949 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.4128, allocations: 7.938 kB / 0.7949 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.4129, allocations: 19.98 kB / 0.7949 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.4129, allocations: 4 kB / 0.7949 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.4129, allocations: 4.25 kB / 0.7949 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008747/0.4138, allocations: 0.4939 MB / 0.7954 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.414, allocations: 148.6 kB / 0.7956 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.4141, allocations: 19.94 kB / 0.7956 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.4144, allocations: 31.97 kB / 0.7956 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.4145, allocations: 55.81 kB / 0.7957 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.4146, allocations: 23.98 kB / 0.7957 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000152/0.4147, allocations: 132.5 kB / 0.7958 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4147, allocations: 0 / 0.7958 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000737/0.4155, allocations: 215.7 kB / 0.796 GB, free: 300 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006629/0.4161, allocations: 325.1 kB / 0.7963 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008077/0.417, allocations: 327.5 kB / 0.7966 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.417, allocations: 4 kB / 0.7966 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.4173, allocations: 187.7 kB / 0.7968 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.4177, allocations: 28 kB / 0.7968 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.4189, allocations: 0.6739 MB / 0.7975 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.4193, allocations: 0.7614 MB / 0.7982 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.4195, allocations: 47.41 kB / 0.7983 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of SimCode: time 3.076e-06/0.4195, allocations: 0 / 0.7983 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of Templates: time 0.009259/0.4288, allocations: 5.213 MB / 0.8034 GB, free: 8.648 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.OBC.CDL.Utilities.Validation.SunRiseSetCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetCalcHelperMain.o] Error 1