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.001009/0.001009, allocations: 99.58 kB / 16.02 MB, free: 76 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.001687/0.001687, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.868/1.868, allocations: 205.4 MB / 223.1 MB, free: 5.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.956/1.956, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0005624/0.0005624, allocations: 20.73 kB / 0.675 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3245, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001179/0.3257, allocations: 0.6217 MB / 0.7892 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003475/0.3292, allocations: 2.535 MB / 0.7916 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.3293, allocations: 3.938 kB / 0.7916 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.3294, allocations: 11.92 kB / 0.7916 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.3297, allocations: 47.67 kB / 0.7917 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3308, allocations: 418.8 kB / 0.7921 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.3311, allocations: 303.1 kB / 0.7924 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.971e-05/0.3312, allocations: 13.95 kB / 0.7924 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.3314, allocations: 131.6 kB / 0.7925 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.3316, allocations: 151.5 kB / 0.7927 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.3317, allocations: 12 kB / 0.7927 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.3323, allocations: 299.7 kB / 0.793 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.3324, allocations: 59.78 kB / 0.793 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.3325, allocations: 137.2 kB / 0.7931 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.3331, allocations: 403 kB / 0.7935 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3331, allocations: 7.938 kB / 0.7935 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.896e-06/0.3331, allocations: 0 / 0.7935 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3331, allocations: 0 / 0.7935 GB, free: 6.434 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.001425/0.3346, allocations: 0.6256 MB / 0.7942 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.3346, allocations: 8.031 kB / 0.7942 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.3347, allocations: 20.75 kB / 0.7942 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.3349, allocations: 196.7 kB / 0.7944 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.3351, allocations: 131.3 kB / 0.7945 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.3351, allocations: 20.38 kB / 0.7945 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.3355, allocations: 247.9 kB / 0.7947 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3355, allocations: 0 / 0.7947 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3355, allocations: 8 kB / 0.7948 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3356, allocations: 8 kB / 0.7948 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.3358, allocations: 115.7 kB / 0.7949 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.3363, allocations: 395.2 kB / 0.7953 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.3378, allocations: 491.3 kB / 0.7957 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.338, allocations: 162.2 kB / 0.7959 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.674e-05/0.3381, allocations: 11.98 kB / 0.7959 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005296/0.3386, allocations: 311.5 kB / 0.7962 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.3386, allocations: 4 kB / 0.7962 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0009164/0.3395, allocations: 417 kB / 0.7966 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002226/0.3398, allocations: 354.1 kB / 0.7969 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.3399, allocations: 167.2 kB / 0.7971 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.34, allocations: 49.69 kB / 0.7971 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.3401, allocations: 93.14 kB / 0.7972 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.3402, allocations: 102.9 kB / 0.7973 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.3403, allocations: 53.69 kB / 0.7974 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3405, allocations: 338.8 kB / 0.7977 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.3408, allocations: 109.1 kB / 0.7978 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.3411, allocations: 169 kB / 0.798 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.3417, allocations: 273.6 kB / 0.7982 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3417, allocations: 0 / 0.7982 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007711/0.3425, allocations: 379.6 kB / 0.7986 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3426, allocations: 4 kB / 0.7986 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3426, allocations: 0 / 0.7986 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3426, allocations: 4 kB / 0.7986 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.343, allocations: 83.81 kB / 0.7987 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.343, allocations: 0 / 0.7987 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.3433, allocations: 63.59 kB / 0.7987 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.3434, allocations: 19.98 kB / 0.7987 GB, free: 0.5195 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.0001752/0.3436, allocations: 154.4 kB / 0.7989 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.3436, allocations: 27.66 kB / 0.7989 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/0.3444, allocations: 367.9 kB / 0.7993 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.3444, allocations: 12.19 kB / 0.7993 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3444, allocations: 4 kB / 0.7993 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.3444, allocations: 11.97 kB / 0.7993 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3448, allocations: 349.1 kB / 0.7996 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3449, allocations: 3.938 kB / 0.7996 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.3451, allocations: 79.83 kB / 0.7997 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.3452, allocations: 4 kB / 0.7997 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.3452, allocations: 16 kB / 0.7997 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-05/0.3452, allocations: 15.92 kB / 0.7997 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3452, allocations: 0 / 0.7997 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/0.3461, allocations: 497.8 kB / 0.8002 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.3463, allocations: 156.6 kB / 0.8004 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.3463, allocations: 12 kB / 0.8004 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.3466, allocations: 39.97 kB / 0.8004 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.3467, allocations: 55.81 kB / 0.8005 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.3468, allocations: 23.98 kB / 0.8005 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001174/0.3469, allocations: 132.5 kB / 0.8006 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3469, allocations: 0 / 0.8006 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006866/0.3476, allocations: 219.7 kB / 0.8008 GB, free: 14.25 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 (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.0005713/0.3482, allocations: 318.6 kB / 0.8011 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006914/0.3489, allocations: 335.6 kB / 0.8015 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3489, allocations: 0 / 0.8015 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.3492, allocations: 188 kB / 0.8016 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3495, allocations: 31.98 kB / 0.8017 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.3506, allocations: 0.6768 MB / 0.8023 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.351, allocations: 0.7614 MB / 0.8031 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.3512, allocations: 47.41 kB / 0.8031 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.3512, allocations: 0 / 0.8031 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of Templates: time 0.008701/0.3599, allocations: 5.194 MB / 0.8082 GB, free: 6.621 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