Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.4 MB / 303.4 MB, free: 8.039 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.001028/0.001029, allocations: 179.6 kB / 372 MB, free: 10.2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0008816/0.0008815, allocations: 86.36 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004074, allocations: 11.28 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005442/0.2348, allocations: 4.781 MB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7027/0.9376, allocations: 140.3 MB / 1.121 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.9387, allocations: 26.25 kB / 1.121 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004314/0.9431, allocations: 1.494 MB / 1.123 GB, free: 1.816 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.002182/0.9452, allocations: 0.5794 MB / 1.123 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.9477, allocations: 0.7352 MB / 1.124 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003513/0.9512, allocations: 2.936 MB / 1.127 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.9523, allocations: 0.7012 MB / 1.128 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.9541, allocations: 0.9308 MB / 1.129 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.9551, allocations: 0.7721 MB / 1.129 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.9553, allocations: 45.66 kB / 1.129 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.9591, allocations: 1.746 MB / 1.131 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009967/0.9602, allocations: 1.183 MB / 1.132 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004219/0.9606, allocations: 313.3 kB / 1.132 GB, free: 16.65 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003476/0.9641, allocations: 2.675 MB / 1.135 GB, free: 15.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9641, allocations: 5.188 kB / 1.135 GB, free: 15.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9641, allocations: 4 kB / 1.135 GB, free: 15.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.704e-05/0.9641, allocations: 0 / 1.135 GB, free: 15.66 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.00387/0.968, allocations: 2.077 MB / 1.137 GB, free: 14.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.9681, allocations: 9.25 kB / 1.137 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/0.9689, allocations: 259.1 kB / 1.137 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/0.9728, allocations: 2.894 MB / 1.14 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.9729, allocations: 104.9 kB / 1.14 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.9732, allocations: 146.8 kB / 1.14 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.9755, allocations: 1.277 MB / 1.142 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.9755, allocations: 4 kB / 1.142 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.9756, allocations: 49.55 kB / 1.142 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.9757, allocations: 27 kB / 1.142 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.978, allocations: 1.373 MB / 1.143 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008394/0.9864, allocations: 5.095 MB / 1.148 GB, free: 10.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.9883, allocations: 1.112 MB / 1.149 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000961/0.9893, allocations: 0.6403 MB / 1.15 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.231e-05/0.9894, allocations: 35.73 kB / 1.15 GB, free: 10.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001226/0.9906, allocations: 0.7151 MB / 1.151 GB, free: 10.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=92): time 3.446e-06/0.9906, allocations: 0 / 1.151 GB, free: 10.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=92): time 0.003746/0.9944, allocations: 2.049 MB / 1.153 GB, free: 9.945 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002258/0.9946, allocations: 324.7 kB / 1.153 GB, free: 9.672 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005144/0.9998, allocations: 4.306 MB / 1.157 GB, free: 9.062 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002324/1, allocations: 57.52 kB / 1.157 GB, free: 9.031 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/1.001, allocations: 0.6534 MB / 1.158 GB, free: 8.711 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/1.001, allocations: 308.2 kB / 1.158 GB, free: 8.492 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/1.001, allocations: 35.12 kB / 1.158 GB, free: 8.492 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.001, allocations: 379.9 kB / 1.158 GB, free: 8.164 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002771/1.004, allocations: 2.735 MB / 1.161 GB, free: 7.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/1.007, allocations: 2.949 MB / 1.164 GB, free: 7.523 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/1.01, allocations: 2.994 MB / 1.167 GB, free: 6.648 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.01, allocations: 0 / 1.167 GB, free: 6.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007297/1.018, allocations: 6.215 MB / 1.173 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001747/1.018, allocations: 156.3 kB / 1.173 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.018, allocations: 8 kB / 1.173 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.018, allocations: 13.86 kB / 1.173 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/1.019, allocations: 331.5 kB / 1.173 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/1.019, allocations: 8 kB / 1.173 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.02, allocations: 181.1 kB / 1.174 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.021, allocations: 75.97 kB / 1.174 GB, free: 208 kB / 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.001282/1.022, allocations: 0.8386 MB / 1.175 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/1.022, allocations: 138.2 kB / 1.175 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/1.026, allocations: 1.933 MB / 1.177 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.026, allocations: 8 kB / 1.177 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.026, allocations: 4 kB / 1.177 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/1.026, allocations: 3.984 kB / 1.177 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/1.031, allocations: 3.308 MB / 1.18 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.031, allocations: 0 / 1.18 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/1.031, allocations: 155.8 kB / 1.18 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/1.031, allocations: 5.75 kB / 1.18 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/1.031, allocations: 31.98 kB / 1.18 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.031, allocations: 4 kB / 1.18 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.031, allocations: 0 / 1.18 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/1.034, allocations: 1.869 MB / 1.182 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/1.035, allocations: 410.8 kB / 1.182 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/1.035, allocations: 24 kB / 1.182 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007113/1.036, allocations: 71.94 kB / 1.182 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.036, allocations: 68.91 kB / 1.182 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/1.036, allocations: 39.98 kB / 1.182 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002701/1.039, allocations: 2.754 MB / 1.185 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.039, allocations: 0 / 1.185 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002564/1.041, allocations: 0.9285 MB / 1.186 GB, free: 3.508 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.002131/1.043, allocations: 0.8967 MB / 1.187 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005355/1.049, allocations: 4.903 MB / 1.192 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.049, allocations: 0 / 1.192 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/1.05, allocations: 1.313 MB / 1.193 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/1.052, allocations: 289.6 kB / 1.193 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007442/1.059, allocations: 6.065 MB / 1.199 GB, free: 6.195 MB / 0.7292 GB [/var/lib/jenkins/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]