Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, 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.001175/0.001175, allocations: 174.5 kB / 16.58 MB, free: 6.398 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.909/1.909, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.811/1.811, 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.0008395/0.0008396, allocations: 15.62 kB / 0.6743 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3079, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004442/0.3124, allocations: 3.009 MB / 0.7909 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005256/0.3177, allocations: 2.306 MB / 0.7931 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009095/0.3186, allocations: 15.94 kB / 0.7931 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.3189, allocations: 43.5 kB / 0.7932 GB, free: 6.543 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 0.001781/0.3207, allocations: 333 kB / 0.7935 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.3213, allocations: 231.6 kB / 0.7937 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007648/0.322, allocations: 0.7731 MB / 0.7945 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004371/0.3225, allocations: 260.7 kB / 0.7947 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0615/0.384, allocations: 39.2 MB / 0.833 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006981/0.3848, allocations: 270.6 kB / 0.8332 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.3849, allocations: 16 kB / 0.8333 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.3851, allocations: 31.98 kB / 0.8333 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.3852, allocations: 95.52 kB / 0.8334 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.3854, allocations: 129.4 kB / 0.8335 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.3865, allocations: 0.5999 MB / 0.8341 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.3865, allocations: 7.938 kB / 0.8341 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.817e-06/0.3865, allocations: 4 kB / 0.8341 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.3865, allocations: 0 / 0.8341 GB, free: 12.56 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001677/0.3882, allocations: 0.8105 MB / 0.8349 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.3883, allocations: 8.031 kB / 0.8349 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.3885, allocations: 83.06 kB / 0.835 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/0.3893, allocations: 458 kB / 0.8354 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.3893, allocations: 45.31 kB / 0.8355 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.628e-05/0.3894, allocations: 63.88 kB / 0.8355 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.3906, allocations: 0.5952 MB / 0.8361 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.3906, allocations: 8 kB / 0.8361 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/0.3907, allocations: 24 kB / 0.8361 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3907, allocations: 16 kB / 0.8361 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009659/0.3917, allocations: 443.2 kB / 0.8366 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.3944, allocations: 1.697 MB / 0.8382 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/0.3973, allocations: 0.834 MB / 0.839 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.3978, allocations: 287.2 kB / 0.8393 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/0.3984, allocations: 433.4 kB / 0.8397 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.3984, allocations: 50.5 kB / 0.8398 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.856e-06/0.3984, allocations: 0 / 0.8398 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001519/0.4, allocations: 0.713 MB / 0.8405 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.4001, allocations: 132.5 kB / 0.8406 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.4004, allocations: 329.7 kB / 0.8409 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.4005, allocations: 41.7 kB / 0.841 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.4008, allocations: 244.9 kB / 0.8412 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/0.4011, allocations: 236.4 kB / 0.8414 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.4012, allocations: 12 kB / 0.8414 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0004424/0.4016, allocations: 354.8 kB / 0.8418 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.402, allocations: 161.2 kB / 0.8419 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.4025, allocations: 225.9 kB / 0.8421 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.4029, allocations: 201.9 kB / 0.8423 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.4029, allocations: 3.953 kB / 0.8423 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009595/0.4039, allocations: 0.5231 MB / 0.8428 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4039, allocations: 8 kB / 0.8428 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.4039, allocations: 0 / 0.8428 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4039, allocations: 4 kB / 0.8429 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.4046, allocations: 143.8 kB / 0.843 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4046, allocations: 4 kB / 0.843 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.4049, allocations: 43.44 kB / 0.843 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.4049, allocations: 31.97 kB / 0.8431 GB, free: 2.977 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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.00026/0.4052, allocations: 186.4 kB / 0.8432 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.4053, allocations: 51.39 kB / 0.8433 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.4072, allocations: 0.941 MB / 0.8442 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.4072, allocations: 12 kB / 0.8442 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.4073, allocations: 0 / 0.8442 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.4073, allocations: 7.969 kB / 0.8442 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009976/0.4083, allocations: 0.7114 MB / 0.8449 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4083, allocations: 0 / 0.8449 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.409, allocations: 195.7 kB / 0.8451 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.409, allocations: 4 kB / 0.8451 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.4091, allocations: 27.98 kB / 0.8451 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.4091, allocations: 4 kB / 0.8451 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4091, allocations: 3.984 kB / 0.8451 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.4106, allocations: 1.058 MB / 0.8462 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.4109, allocations: 223.8 kB / 0.8464 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.778e-05/0.411, allocations: 27.95 kB / 0.8464 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.4113, allocations: 16 kB / 0.8464 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.4114, allocations: 63.91 kB / 0.8465 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.4115, allocations: 35.98 kB / 0.8465 GB, free: 15.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002519/0.4118, allocations: 235.2 kB / 0.8468 GB, free: 15.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4118, allocations: 0 / 0.8468 GB, free: 15.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006373/0.4124, allocations: 147.7 kB / 0.8469 GB, free: 14.95 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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 Backend phase and start with SimCode phase: time 0.0002791/0.4127, allocations: 143 kB / 0.847 GB, free: 14.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.4137, allocations: 0.5364 MB / 0.8476 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4138, allocations: 0 / 0.8476 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.4143, allocations: 376.9 kB / 0.8479 GB, free: 13.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.4149, allocations: 60 kB / 0.848 GB, free: 13.85 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.4174, allocations: 1.506 MB / 0.8494 GB, free: 12.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.4179, allocations: 0.9221 MB / 0.8503 GB, free: 11.35 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.4182, allocations: 91.38 kB / 0.8504 GB, free: 11.26 MB / 0.67 GB Notification: Performance of SimCode: time 3.71e-07/0.4182, allocations: 0 / 0.8504 GB, free: 11.26 MB / 0.67 GB Notification: Performance of Templates: time 0.01226/0.4304, allocations: 7.117 MB / 0.8574 GB, free: 4.145 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLengthCalcHelperMain.o OMCppBuildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLengthCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLengthCalcHelperMain.o] Error 1