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.0008275/0.0008275, allocations: 102.4 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.00112/0.00112, allocations: 180.1 kB / 16.58 MB, free: 6.137 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.705/1.705, allocations: 205.4 MB / 222.8 MB, free: 5.602 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.837/1.837, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005639/0.000564, allocations: 15.97 kB / 0.6744 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2945, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001114/0.2957, allocations: 0.5949 MB / 0.7885 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003157/0.2989, allocations: 2.404 MB / 0.7909 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-05/0.299, allocations: 4 kB / 0.7909 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.299, allocations: 7.875 kB / 0.7909 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.2993, allocations: 39.69 kB / 0.7909 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009767/0.3003, allocations: 406.8 kB / 0.7913 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.3006, allocations: 275.1 kB / 0.7916 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.832e-05/0.3006, allocations: 17.95 kB / 0.7916 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.3009, allocations: 131.6 kB / 0.7917 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.3011, allocations: 143.5 kB / 0.7918 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.3011, allocations: 12 kB / 0.7919 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/0.3017, allocations: 283.8 kB / 0.7921 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.3018, allocations: 55.8 kB / 0.7922 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.873e-05/0.3018, allocations: 61.64 kB / 0.7922 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.3024, allocations: 414.9 kB / 0.7926 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.3024, allocations: 0 / 0.7926 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.218e-06/0.3024, allocations: 0 / 0.7926 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.3024, allocations: 0 / 0.7926 GB, free: 7.078 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.001371/0.3038, allocations: 0.6216 MB / 0.7932 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3038, allocations: 12.03 kB / 0.7933 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.3039, allocations: 19.81 kB / 0.7933 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.3041, allocations: 199.4 kB / 0.7935 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.3043, allocations: 122.8 kB / 0.7936 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.3044, allocations: 28 kB / 0.7936 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.3047, allocations: 231.7 kB / 0.7938 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3048, allocations: 7.938 kB / 0.7938 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.3048, allocations: 8 kB / 0.7938 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3048, allocations: 4 kB / 0.7938 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.3051, allocations: 107.8 kB / 0.7939 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.3056, allocations: 415 kB / 0.7943 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.3069, allocations: 499.2 kB / 0.7948 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.3072, allocations: 150.3 kB / 0.795 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.3072, allocations: 7.938 kB / 0.795 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004715/0.3077, allocations: 311.5 kB / 0.7953 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.3077, allocations: 4 kB / 0.7953 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008326/0.3086, allocations: 413.7 kB / 0.7957 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.3087, allocations: 350.1 kB / 0.796 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3089, allocations: 171.2 kB / 0.7962 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.3089, allocations: 42.2 kB / 0.7962 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.309, allocations: 93.14 kB / 0.7963 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.3091, allocations: 114.4 kB / 0.7964 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.3092, allocations: 12 kB / 0.7964 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3093, allocations: 330.8 kB / 0.7967 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.3096, allocations: 117 kB / 0.7968 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.3099, allocations: 169 kB / 0.797 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.3102, allocations: 122.7 kB / 0.7971 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3102, allocations: 0 / 0.7971 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007412/0.3109, allocations: 368.7 kB / 0.7975 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.311, allocations: 4 kB / 0.7975 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.311, allocations: 4 kB / 0.7975 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.311, allocations: 0 / 0.7975 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.3114, allocations: 83.81 kB / 0.7976 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.3114, allocations: 0 / 0.7976 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.3117, allocations: 67.56 kB / 0.7976 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.3118, allocations: 19.98 kB / 0.7976 GB, free: 1.379 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.312, allocations: 163.1 kB / 0.7978 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.3121, allocations: 23.8 kB / 0.7978 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007102/0.3128, allocations: 361.9 kB / 0.7982 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3128, allocations: 8 kB / 0.7982 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.3128, allocations: 4 kB / 0.7982 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.3129, allocations: 11.98 kB / 0.7982 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.3133, allocations: 353 kB / 0.7985 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3133, allocations: 4 kB / 0.7985 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.3136, allocations: 68.34 kB / 0.7986 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.3136, allocations: 11.92 kB / 0.7986 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.3137, allocations: 16 kB / 0.7986 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.3137, allocations: 11.94 kB / 0.7986 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3137, allocations: 4 kB / 0.7986 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.3144, allocations: 0.4939 MB / 0.7991 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.3146, allocations: 144.6 kB / 0.7993 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.3147, allocations: 19.98 kB / 0.7993 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.3149, allocations: 39.97 kB / 0.7993 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.315, allocations: 55.83 kB / 0.7994 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.3151, allocations: 20 kB / 0.7994 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001066/0.3152, allocations: 132.5 kB / 0.7995 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3152, allocations: 0 / 0.7995 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006343/0.3158, allocations: 215.7 kB / 0.7997 GB, free: 15.12 MB / 0.6231 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 (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.0005662/0.3164, allocations: 319.8 kB / 0.8 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006252/0.317, allocations: 327.8 kB / 0.8003 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.317, allocations: 0 / 0.8003 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.3173, allocations: 187.7 kB / 0.8005 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3176, allocations: 32.17 kB / 0.8005 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3187, allocations: 0.6699 MB / 0.8012 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.319, allocations: 0.7652 MB / 0.8019 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3191, allocations: 43.41 kB / 0.802 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.3191, allocations: 0 / 0.802 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of Templates: time 0.008095/0.3272, allocations: 5.186 MB / 0.807 GB, free: 7.508 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++ 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.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