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.0009402/0.0009401, allocations: 92.78 kB / 16.02 MB, free: 80 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.001313/0.001313, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.9/1.9, allocations: 205.4 MB / 223.1 MB, free: 5.773 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.923/1.923, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0005746/0.0005747, allocations: 16.22 kB / 0.675 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3287, allocations: 116.3 MB / 0.7885 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004621/0.3334, allocations: 3.174 MB / 0.7916 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004318/0.3378, allocations: 2.399 MB / 0.794 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.3381, allocations: 19.94 kB / 0.794 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.3382, allocations: 43.5 kB / 0.794 GB, free: 5.945 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.001141/0.3394, allocations: 325.7 kB / 0.7943 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.3399, allocations: 283.7 kB / 0.7946 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007505/0.3407, allocations: 0.816 MB / 0.7954 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004936/0.3412, allocations: 345.7 kB / 0.7957 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6323/0.9735, allocations: 42.22 MB / 0.837 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.9747, allocations: 278.5 kB / 0.8372 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.975, allocations: 15.94 kB / 0.8373 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.9753, allocations: 35.98 kB / 0.8373 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.9754, allocations: 91.53 kB / 0.8374 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005072/0.9759, allocations: 303.9 kB / 0.8377 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009479/0.9769, allocations: 0.6039 MB / 0.8383 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9769, allocations: 0 / 0.8383 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9769, allocations: 0 / 0.8383 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.251e-05/0.977, allocations: 0 / 0.8383 GB, free: 10.76 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.002103/0.9791, allocations: 0.8068 MB / 0.839 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.9792, allocations: 11.97 kB / 0.8391 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.9795, allocations: 76 kB / 0.8391 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009422/0.9804, allocations: 475 kB / 0.8396 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.9805, allocations: 41.69 kB / 0.8396 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.9806, allocations: 64.12 kB / 0.8397 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.982, allocations: 0.6029 MB / 0.8403 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.982, allocations: 0 / 0.8403 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.9821, allocations: 28 kB / 0.8403 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.9821, allocations: 12 kB / 0.8403 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.9832, allocations: 455.2 kB / 0.8407 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.9864, allocations: 1.694 MB / 0.8424 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.9896, allocations: 0.8544 MB / 0.8432 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.9906, allocations: 287.2 kB / 0.8435 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005456/0.9911, allocations: 433.5 kB / 0.8439 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.9912, allocations: 46.41 kB / 0.844 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 3.296e-06/0.9912, allocations: 0 / 0.844 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001719/0.9929, allocations: 0.7175 MB / 0.8447 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/0.993, allocations: 140.5 kB / 0.8448 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.9935, allocations: 333.7 kB / 0.8451 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.9936, allocations: 37.7 kB / 0.8451 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.9938, allocations: 240.9 kB / 0.8454 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.9941, allocations: 236.5 kB / 0.8456 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.9942, allocations: 53.69 kB / 0.8457 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.9944, allocations: 350.8 kB / 0.846 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.9948, allocations: 165.2 kB / 0.8461 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.9952, allocations: 229.9 kB / 0.8464 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008477/0.9961, allocations: 439.1 kB / 0.8468 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.9961, allocations: 0 / 0.8468 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001105/0.9972, allocations: 0.5396 MB / 0.8473 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.9972, allocations: 12 kB / 0.8473 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.9972, allocations: 3.938 kB / 0.8473 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.9973, allocations: 4 kB / 0.8473 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.9979, allocations: 131.8 kB / 0.8475 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.9979, allocations: 7.984 kB / 0.8475 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.9984, allocations: 39.53 kB / 0.8475 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.9985, allocations: 31.97 kB / 0.8475 GB, free: 0.8164 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.0003346/0.9988, allocations: 190.3 kB / 0.8477 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.999, allocations: 51.44 kB / 0.8478 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/1.001, allocations: 0.9258 MB / 0.8487 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/1.001, allocations: 12 kB / 0.8487 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.001, allocations: 0 / 0.8487 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/1.001, allocations: 3.984 kB / 0.8487 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/1.002, allocations: 0.7151 MB / 0.8494 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/1.002, allocations: 4 kB / 0.8494 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007514/1.003, allocations: 191.7 kB / 0.8496 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.472e-05/1.003, allocations: 8 kB / 0.8496 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-05/1.003, allocations: 23.98 kB / 0.8496 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/1.003, allocations: 7.984 kB / 0.8496 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.003, allocations: 3.938 kB / 0.8496 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/1.005, allocations: 1.069 MB / 0.8507 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/1.005, allocations: 216 kB / 0.8509 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/1.005, allocations: 23.98 kB / 0.8509 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004598/1.006, allocations: 24 kB / 0.8509 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.006, allocations: 63.91 kB / 0.851 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/1.006, allocations: 31.98 kB / 0.851 GB, free: 13.17 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003181/1.006, allocations: 243.2 kB / 0.8512 GB, free: 12.93 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/1.006, allocations: 3.938 kB / 0.8512 GB, free: 12.93 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007886/1.007, allocations: 155.6 kB / 0.8514 GB, free: 12.78 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.0003071/1.008, allocations: 139 kB / 0.8515 GB, free: 12.63 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001206/1.009, allocations: 0.5337 MB / 0.852 GB, free: 12.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.009, allocations: 0 / 0.852 GB, free: 12.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006564/1.009, allocations: 392.9 kB / 0.8524 GB, free: 11.72 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007105/1.01, allocations: 63.94 kB / 0.8525 GB, free: 11.66 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/1.013, allocations: 1.543 MB / 0.854 GB, free: 10.07 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/1.014, allocations: 0.9144 MB / 0.8549 GB, free: 9.125 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/1.014, allocations: 91.38 kB / 0.855 GB, free: 9.035 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/1.014, allocations: 3.938 kB / 0.855 GB, free: 9.031 MB / 0.67 GB Notification: Performance of Templates: time 0.01582/1.03, allocations: 7.099 MB / 0.8619 GB, free: 1.914 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