Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") 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.55 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.001333/0.001333, allocations: 179.4 kB / 325.8 MB, free: 2.824 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.648/2.648, allocations: 205.4 MB / 0.5767 GB, free: 20.75 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.001367/0.001367, allocations: 102.2 kB / 0.6813 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004648, allocations: 11.47 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1987, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008623/0.2074, allocations: 5.868 MB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2299/0.4373, allocations: 141.2 MB / 1.043 GB, free: 13.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.4391, allocations: 35.75 kB / 1.043 GB, free: 13.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.007203/0.4463, allocations: 1.612 MB / 1.044 GB, free: 12.28 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.003631/0.45, allocations: 0.9105 MB / 1.045 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00429/0.4543, allocations: 1.006 MB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00745/0.4617, allocations: 4.628 MB / 1.051 GB, free: 5.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.4641, allocations: 1.042 MB / 1.052 GB, free: 4.652 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003419/0.4675, allocations: 1.3 MB / 1.053 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.47, allocations: 1.152 MB / 1.054 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003813/0.4704, allocations: 64 kB / 1.054 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004912/0.4753, allocations: 1.79 MB / 1.056 GB, free: 344 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.7028/1.178, allocations: 2.645 MB / 1.058 GB, free: 6.684 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/1.18, allocations: 441.1 kB / 1.059 GB, free: 6.652 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/1.19, allocations: 3.617 MB / 1.062 GB, free: 6.508 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.19, allocations: 0 / 1.062 GB, free: 6.508 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.925e-06/1.19, allocations: 0 / 1.062 GB, free: 6.508 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001663/1.19, allocations: 0.7188 kB / 1.062 GB, free: 6.508 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.01142/1.202, allocations: 2.7 MB / 1.065 GB, free: 5.078 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/1.202, allocations: 10.19 kB / 1.065 GB, free: 5.078 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/1.205, allocations: 357.1 kB / 1.065 GB, free: 4.934 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/1.224, allocations: 7.282 MB / 1.073 GB, free: 4.453 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/1.225, allocations: 135 kB / 1.073 GB, free: 4.445 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009822/1.226, allocations: 179 kB / 1.073 GB, free: 4.445 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007776/1.233, allocations: 1.849 MB / 1.075 GB, free: 4.207 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.31e-05/1.234, allocations: 1.75 kB / 1.075 GB, free: 4.207 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003733/1.234, allocations: 59.5 kB / 1.075 GB, free: 4.207 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.826e-05/1.234, allocations: 34.78 kB / 1.075 GB, free: 4.207 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007924/1.242, allocations: 1.901 MB / 1.077 GB, free: 4.188 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/1.266, allocations: 9.838 MB / 1.086 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004056/1.271, allocations: 1.673 MB / 1.088 GB, free: 18.49 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/1.273, allocations: 1.047 MB / 1.089 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/1.273, allocations: 33.17 kB / 1.089 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002196/1.275, allocations: 1.102 MB / 1.09 GB, free: 18.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=105): time 3.727e-06/1.275, allocations: 0 / 1.09 GB, free: 18.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=105): time 0.009284/1.284, allocations: 3.279 MB / 1.093 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002728/1.285, allocations: 346.5 kB / 1.093 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01959/1.304, allocations: 11.5 MB / 1.105 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005911/1.305, allocations: 62.61 kB / 1.105 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/1.306, allocations: 0.926 MB / 1.106 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000618/1.307, allocations: 366.5 kB / 1.106 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/1.307, allocations: 44.5 kB / 1.106 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002873/1.308, allocations: 405.1 kB / 1.106 GB, free: 16.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008405/1.316, allocations: 7.007 MB / 1.113 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009192/1.325, allocations: 7.337 MB / 1.12 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.336, allocations: 7.326 MB / 1.128 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.207e-05/1.336, allocations: 0 / 1.128 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03093/1.367, allocations: 15.45 MB / 1.143 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003597/1.367, allocations: 166.6 kB / 1.143 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/1.367, allocations: 4 kB / 1.143 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/1.368, allocations: 98.73 kB / 1.143 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004063/1.373, allocations: 467.3 kB / 1.143 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/1.376, allocations: 1.54 MB / 1.145 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003146/1.379, allocations: 221.2 kB / 1.145 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007897/1.38, allocations: 114 kB / 1.145 GB, free: 13.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (263): * Single equations (assignments): 261 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003713/1.383, allocations: 1.526 MB / 1.147 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008293/1.384, allocations: 201.4 kB / 1.147 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008655/1.393, allocations: 2.812 MB / 1.15 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/1.393, allocations: 8 kB / 1.15 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.393, allocations: 4 kB / 1.15 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.648e-05/1.393, allocations: 3.984 kB / 1.15 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/1.407, allocations: 4.624 MB / 1.154 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.407, allocations: 0 / 1.154 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.408, allocations: 177.3 kB / 1.154 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009285/1.409, allocations: 91.77 kB / 1.154 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003144/1.41, allocations: 36.91 kB / 1.154 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/1.412, allocations: 1.547 MB / 1.156 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.412, allocations: 2.734 kB / 1.156 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/1.423, allocations: 2.695 MB / 1.159 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002385/1.425, allocations: 0.5268 MB / 1.159 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009874/1.426, allocations: 23.58 kB / 1.159 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/1.429, allocations: 79.38 kB / 1.159 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005911/1.43, allocations: 83.12 kB / 1.159 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002716/1.43, allocations: 50.41 kB / 1.159 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.01396/1.444, allocations: 7.21 MB / 1.166 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.32e-07/1.444, allocations: 4 kB / 1.166 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005141/1.449, allocations: 1.081 MB / 1.167 GB, free: 12.14 MB / 0.7448 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 (104): * Single equations (assignments): 100 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004061/1.453, allocations: 0.8974 MB / 1.168 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01552/1.469, allocations: 9.811 MB / 1.178 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/1.469, allocations: 0.875 kB / 1.178 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004018/1.473, allocations: 1.849 MB / 1.18 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/1.477, allocations: 380.8 kB / 1.18 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0274/1.504, allocations: 12.59 MB / 1.192 GB, free: 7.895 MB / 0.7605 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]