Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.662/2.662, allocations: 287.5 MB / 302.4 MB, free: 8.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001544, allocations: 184.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009007/0.0009008, allocations: 85.33 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.00048, allocations: 13.67 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.207, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007055/0.2141, allocations: 4.777 MB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8637/1.078, allocations: 140.3 MB / 1.12 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/1.08, allocations: 22.25 kB / 1.12 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00931/1.089, allocations: 1.498 MB / 1.122 GB, free: 1.129 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.00399/1.093, allocations: 0.5757 MB / 1.122 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004858/1.098, allocations: 0.7282 MB / 1.123 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005916/1.104, allocations: 2.945 MB / 1.126 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/1.106, allocations: 0.6941 MB / 1.126 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002443/1.108, allocations: 0.9238 MB / 1.127 GB, free: 380 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/1.11, allocations: 0.7751 MB / 1.128 GB, free: 220 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005679/1.111, allocations: 50.78 kB / 1.128 GB, free: 216 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/1.116, allocations: 1.742 MB / 1.13 GB, free: 144 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001878/1.118, allocations: 1.189 MB / 1.131 GB, free: 72 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007018/1.119, allocations: 306 kB / 1.131 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005647/1.124, allocations: 2.677 MB / 1.134 GB, free: 15.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.124, allocations: 0 / 1.134 GB, free: 15.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.346e-06/1.124, allocations: 0 / 1.134 GB, free: 15.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.646e-05/1.125, allocations: 0 / 1.134 GB, free: 15.79 MB / 0.698 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.00669/1.131, allocations: 2.074 MB / 1.136 GB, free: 14.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.131, allocations: 9.531 kB / 1.136 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/1.133, allocations: 260.7 kB / 1.136 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006016/1.139, allocations: 2.901 MB / 1.139 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/1.139, allocations: 104.6 kB / 1.139 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004247/1.14, allocations: 144.5 kB / 1.139 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/1.144, allocations: 1.278 MB / 1.14 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/1.144, allocations: 0 / 1.14 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/1.144, allocations: 48.56 kB / 1.141 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/1.144, allocations: 30.31 kB / 1.141 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004007/1.148, allocations: 1.371 MB / 1.142 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/1.162, allocations: 5.09 MB / 1.147 GB, free: 10.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/1.166, allocations: 1.105 MB / 1.148 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/1.167, allocations: 0.6522 MB / 1.149 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/1.167, allocations: 35.27 kB / 1.149 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00202/1.169, allocations: 0.7103 MB / 1.149 GB, free: 10.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=92): time 4.94e-06/1.17, allocations: 1.062 kB / 1.149 GB, free: 10.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=92): time 0.006204/1.176, allocations: 2.047 MB / 1.151 GB, free: 10.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002951/1.176, allocations: 333 kB / 1.152 GB, free: 9.805 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007203/1.183, allocations: 4.309 MB / 1.156 GB, free: 9.191 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004966/1.184, allocations: 55.64 kB / 1.156 GB, free: 9.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009192/1.185, allocations: 0.6523 MB / 1.157 GB, free: 8.844 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000541/1.185, allocations: 309.1 kB / 1.157 GB, free: 8.621 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/1.186, allocations: 31.78 kB / 1.157 GB, free: 8.621 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002334/1.186, allocations: 383.3 kB / 1.157 GB, free: 8.289 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004014/1.19, allocations: 2.731 MB / 1.16 GB, free: 8.059 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004837/1.195, allocations: 2.942 MB / 1.163 GB, free: 7.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004903/1.2, allocations: 2.997 MB / 1.166 GB, free: 6.996 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/1.2, allocations: 0 / 1.166 GB, free: 6.996 MB / 0.698 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01207/1.212, allocations: 6.216 MB / 1.172 GB, free: 1.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003227/1.212, allocations: 153.6 kB / 1.172 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/1.212, allocations: 4 kB / 1.172 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.956e-05/1.212, allocations: 12 kB / 1.172 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/1.215, allocations: 331.5 kB / 1.172 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-05/1.215, allocations: 8 kB / 1.172 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/1.217, allocations: 186.8 kB / 1.172 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003356/1.217, allocations: 75.97 kB / 1.172 GB, free: 1.082 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 1 * 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.00197/1.219, allocations: 0.8315 MB / 1.173 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/1.22, allocations: 138.2 kB / 1.173 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005863/1.226, allocations: 1.939 MB / 1.175 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/1.226, allocations: 8 kB / 1.175 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/1.226, allocations: 4 kB / 1.175 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/1.226, allocations: 7.984 kB / 1.175 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008698/1.235, allocations: 3.308 MB / 1.179 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.235, allocations: 0 / 1.179 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.236, allocations: 151.8 kB / 1.179 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/1.236, allocations: 3.984 kB / 1.179 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/1.236, allocations: 31.98 kB / 1.179 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/1.236, allocations: 4 kB / 1.179 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.236, allocations: 5.859 kB / 1.179 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005179/1.241, allocations: 1.869 MB / 1.181 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.243, allocations: 414.7 kB / 1.181 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/1.243, allocations: 28 kB / 1.181 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.244, allocations: 67.89 kB / 1.181 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/1.245, allocations: 71.86 kB / 1.181 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.245, allocations: 51.97 kB / 1.181 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004781/1.25, allocations: 2.754 MB / 1.184 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.12e-07/1.25, allocations: 0 / 1.184 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003719/1.253, allocations: 0.9279 MB / 1.185 GB, free: 4.367 MB / 0.7136 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 (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.003659/1.257, allocations: 0.8927 MB / 1.186 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009572/1.267, allocations: 4.891 MB / 1.19 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.267, allocations: 4 kB / 1.19 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00289/1.27, allocations: 1.322 MB / 1.192 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/1.273, allocations: 296.5 kB / 1.192 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/1.286, allocations: 6.064 MB / 1.198 GB, free: 7.078 MB / 0.7292 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]