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.006917/0.006917, allocations: 100.1 kB / 15.87 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 193.2 kB / 16.79 MB, free: 6.254 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.765/1.765, allocations: 205.1 MB / 222.6 MB, free: 4.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.77/1.77, allocations: 292.3 MB / 0.5491 GB, free: 13.65 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.001355/0.001355, allocations: 64.59 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3338, allocations: 114.6 MB / 0.7833 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005184/0.3391, allocations: 3.575 MB / 0.7868 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.3437, allocations: 2.43 MB / 0.7892 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003051/0.344, allocations: 15.94 kB / 0.7892 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.3442, allocations: 47.44 kB / 0.7892 GB, free: 7.918 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.001319/0.3456, allocations: 338.2 kB / 0.7896 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.3461, allocations: 283.7 kB / 0.7898 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007082/0.3469, allocations: 0.8199 MB / 0.7906 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.3474, allocations: 357.7 kB / 0.791 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6115/0.9588, allocations: 42.24 MB / 0.8322 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008122/0.9597, allocations: 334.4 kB / 0.8326 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002687/0.9599, allocations: 32 kB / 0.8326 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003771/0.9603, allocations: 55.98 kB / 0.8326 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.9605, allocations: 131.4 kB / 0.8328 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000564/0.9611, allocations: 314.2 kB / 0.8331 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.9621, allocations: 0.6158 MB / 0.8337 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.9621, allocations: 4 kB / 0.8337 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9621, allocations: 4 kB / 0.8337 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.352e-05/0.9622, allocations: 0 / 0.8337 GB, free: 12.52 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.002745/0.965, allocations: 0.9353 MB / 0.8346 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.965, allocations: 8.031 kB / 0.8346 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.9653, allocations: 72.09 kB / 0.8347 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009966/0.9663, allocations: 486.9 kB / 0.8351 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.9663, allocations: 41.69 kB / 0.8352 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.9665, allocations: 64.12 kB / 0.8352 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.9677, allocations: 0.599 MB / 0.8358 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.9678, allocations: 0 / 0.8358 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.9678, allocations: 20 kB / 0.8358 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.9679, allocations: 20 kB / 0.8358 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.9689, allocations: 459.2 kB / 0.8363 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.9722, allocations: 1.69 MB / 0.8379 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.9754, allocations: 0.8546 MB / 0.8388 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000556/0.976, allocations: 295.1 kB / 0.8391 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000512/0.9765, allocations: 421.5 kB / 0.8395 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.9766, allocations: 46.44 kB / 0.8395 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.9766, allocations: 4 kB / 0.8395 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.002032/0.9786, allocations: 0.7172 MB / 0.8402 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.9787, allocations: 140.5 kB / 0.8403 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.9792, allocations: 329.7 kB / 0.8407 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.9792, allocations: 33.7 kB / 0.8407 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.9795, allocations: 252.8 kB / 0.8409 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.9797, allocations: 236.5 kB / 0.8412 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.9799, allocations: 114.2 kB / 0.8413 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.9801, allocations: 354.8 kB / 0.8416 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.9805, allocations: 161.2 kB / 0.8418 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/0.981, allocations: 225.9 kB / 0.842 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008804/0.9819, allocations: 443.4 kB / 0.8424 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.9819, allocations: 4 kB / 0.8424 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001146/0.983, allocations: 0.5357 MB / 0.8429 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.9831, allocations: 7.938 kB / 0.8429 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.9831, allocations: 0 / 0.8429 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.9831, allocations: 4 kB / 0.8429 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.9838, allocations: 139.8 kB / 0.8431 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-05/0.9838, allocations: 11.92 kB / 0.8431 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.9843, allocations: 47.47 kB / 0.8431 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.9843, allocations: 27.97 kB / 0.8431 GB, free: 2.379 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002991/0.9846, allocations: 190.4 kB / 0.8433 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.9848, allocations: 47.44 kB / 0.8434 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.9869, allocations: 0.9296 MB / 0.8443 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.023e-05/0.9869, allocations: 12 kB / 0.8443 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.9869, allocations: 0 / 0.8443 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.987, allocations: 11.97 kB / 0.8443 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.9881, allocations: 0.7112 MB / 0.845 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.9882, allocations: 4 kB / 0.845 GB, free: 424 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/0.9889, allocations: 187.7 kB / 0.8452 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.989, allocations: 4 kB / 0.8452 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.989, allocations: 27.98 kB / 0.8452 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.989, allocations: 8 kB / 0.8452 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9891, allocations: 4 kB / 0.8452 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.991, allocations: 1.065 MB / 0.8463 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.9914, allocations: 224 kB / 0.8465 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.9915, allocations: 20 kB / 0.8465 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.9919, allocations: 20 kB / 0.8465 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.9921, allocations: 63.89 kB / 0.8466 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/0.9921, allocations: 35.98 kB / 0.8466 GB, free: 14.73 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003078/0.9924, allocations: 239.2 kB / 0.8468 GB, free: 14.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9924, allocations: 0 / 0.8468 GB, free: 14.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007251/0.9932, allocations: 151.6 kB / 0.847 GB, free: 14.35 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 (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.0002939/0.9935, allocations: 143 kB / 0.8471 GB, free: 14.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.9947, allocations: 0.5415 MB / 0.8476 GB, free: 13.66 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.9948, allocations: 0 / 0.8476 GB, free: 13.66 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006668/0.9954, allocations: 380.9 kB / 0.848 GB, free: 13.29 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.9961, allocations: 61.44 kB / 0.8481 GB, free: 13.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.9988, allocations: 1.547 MB / 0.8496 GB, free: 11.64 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.9996, allocations: 0.9144 MB / 0.8505 GB, free: 10.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.9999, allocations: 95.38 kB / 0.8506 GB, free: 10.61 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.9999, allocations: 0 / 0.8506 GB, free: 10.61 MB / 0.67 GB Notification: Performance of Templates: time 0.01499/1.015, allocations: 7.177 MB / 0.8576 GB, free: 3.414 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++ -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.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