Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.268/2.268, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 190.7 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.284/2.284, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009132/0.0009129, allocations: 91.28 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004766, allocations: 11.12 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2016, allocations: 106.3 MB / 0.899 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007189/0.2089, allocations: 4.789 MB / 0.9037 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2111/0.42, allocations: 140.3 MB / 1.041 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.4212, allocations: 19.88 kB / 1.041 GB, free: 15.83 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005926/0.4272, allocations: 1.499 MB / 1.042 GB, free: 14.33 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.002759/0.4299, allocations: 0.5747 MB / 1.043 GB, free: 13.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.4331, allocations: 0.7281 MB / 1.044 GB, free: 13.03 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004622/0.4378, allocations: 2.971 MB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.4396, allocations: 0.828 MB / 1.047 GB, free: 9.199 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.4419, allocations: 0.9262 MB / 1.048 GB, free: 8.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.4438, allocations: 0.7703 MB / 1.049 GB, free: 7.496 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003934/0.4442, allocations: 48 kB / 1.049 GB, free: 7.449 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004632/0.4488, allocations: 1.747 MB / 1.051 GB, free: 5.699 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001892/0.4508, allocations: 1.178 MB / 1.052 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006633/0.4515, allocations: 320.7 kB / 1.052 GB, free: 4.199 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005568/0.457, allocations: 2.67 MB / 1.055 GB, free: 1.523 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4571, allocations: 0 / 1.055 GB, free: 1.523 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.156e-06/0.4571, allocations: 3.938 kB / 1.055 GB, free: 1.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.624e-05/0.4572, allocations: 4 kB / 1.055 GB, free: 1.516 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.5748/1.032, allocations: 2.059 MB / 1.057 GB, free: 155.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.032, allocations: 10.69 kB / 1.057 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/1.034, allocations: 263.9 kB / 1.057 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005139/1.039, allocations: 2.909 MB / 1.06 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/1.039, allocations: 100.2 kB / 1.06 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/1.039, allocations: 143.2 kB / 1.06 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/1.042, allocations: 1.424 MB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/1.043, allocations: 0 / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/1.043, allocations: 51.84 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/1.043, allocations: 29.48 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/1.047, allocations: 1.524 MB / 1.063 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/1.061, allocations: 5.07 MB / 1.068 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/1.065, allocations: 1.323 MB / 1.069 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/1.067, allocations: 0.8486 MB / 1.07 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/1.067, allocations: 32.41 kB / 1.07 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002165/1.069, allocations: 0.8636 MB / 1.071 GB, free: 153.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=92): time 4.469e-06/1.069, allocations: 0 / 1.071 GB, free: 153.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=92): time 0.00682/1.076, allocations: 2.492 MB / 1.073 GB, free: 153.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002669/1.076, allocations: 332 kB / 1.074 GB, free: 153.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007841/1.084, allocations: 4.302 MB / 1.078 GB, free: 152.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004232/1.085, allocations: 59.61 kB / 1.078 GB, free: 152 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009116/1.086, allocations: 0.6611 MB / 1.079 GB, free: 151.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/1.086, allocations: 307.7 kB / 1.079 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/1.086, allocations: 32.5 kB / 1.079 GB, free: 151.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.086, allocations: 376.6 kB / 1.079 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004286/1.091, allocations: 2.886 MB / 1.082 GB, free: 148.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004318/1.095, allocations: 3.1 MB / 1.085 GB, free: 145.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004388/1.1, allocations: 3.153 MB / 1.088 GB, free: 142.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/1.1, allocations: 3.938 kB / 1.088 GB, free: 142.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.009788/1.109, allocations: 6.524 MB / 1.095 GB, free: 136.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002497/1.11, allocations: 155.2 kB / 1.095 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.11, allocations: 4 kB / 1.095 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.919e-05/1.11, allocations: 15.98 kB / 1.095 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/1.112, allocations: 329 kB / 1.095 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/1.112, allocations: 12 kB / 1.095 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.114, allocations: 179.5 kB / 1.095 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/1.115, allocations: 85.36 kB / 1.095 GB, free: 135.3 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.001533/1.116, allocations: 0.8218 MB / 1.096 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/1.117, allocations: 146.1 kB / 1.096 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/1.122, allocations: 2.245 MB / 1.098 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/1.122, allocations: 19.97 kB / 1.099 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.122, allocations: 0 / 1.099 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/1.122, allocations: 3.984 kB / 1.099 GB, free: 132.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00842/1.13, allocations: 3.613 MB / 1.102 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.13, allocations: 0 / 1.102 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.132, allocations: 155.7 kB / 1.102 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/1.132, allocations: 4 kB / 1.102 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/1.132, allocations: 31.98 kB / 1.102 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/1.132, allocations: 4 kB / 1.102 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.132, allocations: 0 / 1.102 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004786/1.137, allocations: 2.176 MB / 1.104 GB, free: 126 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000998/1.138, allocations: 418.7 kB / 1.105 GB, free: 125.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/1.138, allocations: 20 kB / 1.105 GB, free: 125.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/1.14, allocations: 76.75 kB / 1.105 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/1.14, allocations: 65.61 kB / 1.105 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/1.14, allocations: 47.97 kB / 1.105 GB, free: 125.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003315/1.143, allocations: 2.742 MB / 1.108 GB, free: 122.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/1.143, allocations: 4 kB / 1.108 GB, free: 122.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002841/1.146, allocations: 0.9262 MB / 1.109 GB, free: 121.8 MB / 0.698 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.003056/1.149, allocations: 0.8943 MB / 1.109 GB, free: 121.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007426/1.157, allocations: 5.2 MB / 1.114 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.157, allocations: 1.25 kB / 1.114 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002359/1.159, allocations: 1.462 MB / 1.116 GB, free: 114.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/1.162, allocations: 309.3 kB / 1.116 GB, free: 114.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.172, allocations: 6.221 MB / 1.122 GB, free: 107.9 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:762:5-762:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]