Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008332/0.000833, allocations: 91.77 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.001095/0.001095, allocations: 178.8 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.816/1.816, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.836/1.836, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.000524/0.0005241, allocations: 14.38 kB / 0.675 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3032, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008099/0.3114, allocations: 5.058 MB / 0.7935 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.8173/1.129, allocations: 150.6 MB / 0.9406 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/1.13, allocations: 25.58 kB / 0.9406 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005237/1.135, allocations: 1.613 MB / 0.9422 GB, free: 1.105 MB / 0.7169 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‘. Notification: Performance of NFTyping.typeBindings: time 0.002696/1.138, allocations: 0.6075 MB / 0.9428 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/1.141, allocations: 0.8252 MB / 0.9436 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004917/1.146, allocations: 3.217 MB / 0.9467 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/1.148, allocations: 0.8769 MB / 0.9476 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/1.151, allocations: 0.8627 MB / 0.9484 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/1.153, allocations: 0.7848 MB / 0.9492 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002259/1.153, allocations: 45.53 kB / 0.9492 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/1.158, allocations: 1.885 MB / 0.9511 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001506/1.159, allocations: 1.164 MB / 0.9522 GB, free: 308 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/1.161, allocations: 0.7549 MB / 0.953 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005831/1.166, allocations: 2.691 MB / 0.9556 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.166, allocations: 2.156 kB / 0.9556 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.196e-06/1.166, allocations: 0.9688 kB / 0.9556 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.063e-05/1.167, allocations: 0 / 0.9556 GB, free: 16.07 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005428/1.172, allocations: 2.049 MB / 0.9576 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.172, allocations: 9.031 kB / 0.9576 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000943/1.173, allocations: 266.4 kB / 0.9578 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/1.177, allocations: 2.94 MB / 0.9607 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/1.177, allocations: 102.7 kB / 0.9608 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/1.178, allocations: 152 kB / 0.961 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/1.18, allocations: 1.429 MB / 0.9624 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/1.18, allocations: 0 / 0.9624 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.18, allocations: 49.69 kB / 0.9624 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/1.18, allocations: 26.25 kB / 0.9624 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/1.183, allocations: 1.542 MB / 0.9639 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008812/1.192, allocations: 5.08 MB / 0.9689 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/1.194, allocations: 1.325 MB / 0.9702 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/1.195, allocations: 0.857 MB / 0.971 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.146e-05/1.195, allocations: 33.12 kB / 0.9711 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/1.196, allocations: 0.8528 MB / 0.9719 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=92): time 4.318e-06/1.196, allocations: 6.844 kB / 0.9719 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92): time 0.004138/1.2, allocations: 2.512 MB / 0.9744 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002287/1.2, allocations: 327.3 kB / 0.9747 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005105/1.205, allocations: 4.31 MB / 0.9789 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004038/1.206, allocations: 57.23 kB / 0.9789 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000728/1.207, allocations: 0.6546 MB / 0.9796 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/1.207, allocations: 316.4 kB / 0.9799 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007974/1.208, allocations: 0.8476 MB / 0.9807 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.208, allocations: 301.1 kB / 0.981 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00666/1.215, allocations: 7.008 MB / 0.9878 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007528/1.222, allocations: 7.256 MB / 0.9949 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/1.232, allocations: 8.924 MB / 1.004 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.232, allocations: 0 / 1.004 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01816/1.25, allocations: 15.76 MB / 1.019 GB, free: 9.211 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003061/1.251, allocations: 152.4 kB / 1.019 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.251, allocations: 0 / 1.019 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/1.251, allocations: 8 kB / 1.019 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/1.253, allocations: 307.5 kB / 1.019 GB, free: 8.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/1.253, allocations: 4 kB / 1.019 GB, free: 8.746 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/1.254, allocations: 183.2 kB / 1.02 GB, free: 8.57 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/1.255, allocations: 67.97 kB / 1.02 GB, free: 8.504 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 176 * Array equations: 12 * Algorithm blocks: 1 * 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.001516/1.256, allocations: 0.8289 MB / 1.021 GB, free: 7.664 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003536/1.257, allocations: 143.6 kB / 1.021 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/1.26, allocations: 2.239 MB / 1.023 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/1.26, allocations: 11.94 kB / 1.023 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.26, allocations: 0 / 1.023 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.26, allocations: 3.984 kB / 1.023 GB, free: 5.254 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005495/1.266, allocations: 3.62 MB / 1.026 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/1.266, allocations: 0 / 1.026 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/1.266, allocations: 159.7 kB / 1.027 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/1.266, allocations: 8 kB / 1.027 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/1.267, allocations: 35.33 kB / 1.027 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.267, allocations: 4 kB / 1.027 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.267, allocations: 5.859 kB / 1.027 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/1.27, allocations: 2.177 MB / 1.029 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000646/1.27, allocations: 418.7 kB / 1.029 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/1.271, allocations: 24 kB / 1.029 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/1.271, allocations: 67.94 kB / 1.029 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/1.271, allocations: 64.92 kB / 1.029 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/1.272, allocations: 51.97 kB / 1.029 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002953/1.275, allocations: 2.746 MB / 1.032 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.21e-07/1.275, allocations: 0 / 1.032 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003388/1.278, allocations: 1.001 MB / 1.033 GB, free: 10.8 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.002561/1.28, allocations: 0.9054 MB / 1.034 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.292, allocations: 10.59 MB / 1.044 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.292, allocations: 4 kB / 1.044 GB, free: 15.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001922/1.294, allocations: 1.465 MB / 1.046 GB, free: 14.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/1.296, allocations: 302 kB / 1.046 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008884/1.305, allocations: 6.165 MB / 1.052 GB, free: 7.539 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/1.306, allocations: 1.665 MB / 1.054 GB, free: 5.848 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/1.307, allocations: 147.4 kB / 1.054 GB, free: 5.703 MB / 0.795 GB Notification: Performance of SimCode: time 8.81e-07/1.307, allocations: 0 / 1.054 GB, free: 5.703 MB / 0.795 GB Notification: Performance of Templates: time 0.07365/1.381, allocations: 36.62 MB / 1.089 GB, free: 1.617 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationCalcHelperMain.o OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationCalcHelperMain.o] Error 1