Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.381/2.381, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001321/0.001321, allocations: 183 kB / 325.8 MB, free: 2.793 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.48/2.48, allocations: 205.4 MB / 0.5767 GB, free: 21.12 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.0008933/0.000893, allocations: 80.12 kB / 0.6812 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000682/0.0006821, allocations: 13.69 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2012, allocations: 106.3 MB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.00712/0.2084, allocations: 4.761 MB / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.3109/0.5194, allocations: 140.2 MB / 1.041 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.521, allocations: 27.88 kB / 1.041 GB, free: 464 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.009722/0.5308, allocations: 1.483 MB / 1.042 GB, free: 14.96 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.004632/0.5355, allocations: 0.5936 MB / 1.043 GB, free: 14.37 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00531/0.5409, allocations: 0.6902 MB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005669/0.5466, allocations: 2.08 MB / 1.045 GB, free: 11.6 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002972/0.5496, allocations: 0.8317 MB / 1.046 GB, free: 10.74 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.5519, allocations: 0.6027 MB / 1.047 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.5542, allocations: 0.6181 MB / 1.047 GB, free: 9.516 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005094/0.5548, allocations: 36 kB / 1.047 GB, free: 9.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00717/0.562, allocations: 1.771 MB / 1.049 GB, free: 7.707 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.5644, allocations: 0.9747 MB / 1.05 GB, free: 6.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008171/0.5653, allocations: 288.8 kB / 1.05 GB, free: 6.441 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007777/0.5731, allocations: 2.471 MB / 1.053 GB, free: 3.965 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.5732, allocations: 0 / 1.053 GB, free: 3.965 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.256e-06/0.5732, allocations: 0 / 1.053 GB, free: 3.965 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.628e-05/0.5733, allocations: 0 / 1.053 GB, free: 3.965 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.008355/0.5817, allocations: 1.877 MB / 1.055 GB, free: 2.031 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.5817, allocations: 8.031 kB / 1.055 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/0.5846, allocations: 262.5 kB / 1.055 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8122/1.397, allocations: 2.802 MB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/1.397, allocations: 99.3 kB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/1.397, allocations: 122.8 kB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003388/1.401, allocations: 1.248 MB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/1.401, allocations: 0 / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/1.401, allocations: 48.41 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/1.401, allocations: 31.16 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004257/1.405, allocations: 1.416 MB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01292/1.418, allocations: 4.813 MB / 1.065 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/1.422, allocations: 0.9958 MB / 1.066 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/1.424, allocations: 413.3 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/1.424, allocations: 35.72 kB / 1.067 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002785/1.427, allocations: 0.5618 MB / 1.067 GB, free: 154.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 7.384e-06/1.427, allocations: 0 / 1.067 GB, free: 154.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.00983/1.437, allocations: 1.486 MB / 1.069 GB, free: 154 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.437, allocations: 190.6 kB / 1.069 GB, free: 153.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/1.449, allocations: 4.031 MB / 1.073 GB, free: 153.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003835/1.45, allocations: 46.58 kB / 1.073 GB, free: 153.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/1.451, allocations: 0.6229 MB / 1.073 GB, free: 153.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006391/1.452, allocations: 296 kB / 1.074 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/1.452, allocations: 19.97 kB / 1.074 GB, free: 152.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.452, allocations: 359.5 kB / 1.074 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005208/1.457, allocations: 2.16 MB / 1.076 GB, free: 152 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/1.463, allocations: 2.299 MB / 1.078 GB, free: 151.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006041/1.469, allocations: 2.235 MB / 1.081 GB, free: 150.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/1.469, allocations: 0 / 1.081 GB, free: 150.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007839/1.477, allocations: 4.799 MB / 1.085 GB, free: 146.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/1.477, allocations: 4 kB / 1.085 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.477, allocations: 8.094 kB / 1.085 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009649/1.478, allocations: 84.77 kB / 1.085 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/1.48, allocations: 260.7 kB / 1.086 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/1.483, allocations: 1.517 MB / 1.087 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/1.485, allocations: 132.5 kB / 1.087 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/1.485, allocations: 53.53 kB / 1.087 GB, free: 144.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (143): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * 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.001214/1.486, allocations: 0.598 MB / 1.088 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004215/1.487, allocations: 134.2 kB / 1.088 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/1.491, allocations: 1.347 MB / 1.089 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/1.491, allocations: 12 kB / 1.089 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.491, allocations: 0 / 1.089 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/1.491, allocations: 3.984 kB / 1.089 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00709/1.498, allocations: 2.534 MB / 1.092 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.498, allocations: 7.938 kB / 1.092 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.5, allocations: 167.8 kB / 1.092 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008951/1.501, allocations: 91.77 kB / 1.092 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/1.501, allocations: 23.98 kB / 1.092 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/1.504, allocations: 1.545 MB / 1.094 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.504, allocations: 3.984 kB / 1.094 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004701/1.508, allocations: 1.2 MB / 1.095 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.51, allocations: 367 kB / 1.095 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003893/1.51, allocations: 16 kB / 1.095 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.512, allocations: 75.88 kB / 1.095 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/1.512, allocations: 72.89 kB / 1.095 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.512, allocations: 43.83 kB / 1.095 GB, free: 135.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003305/1.515, allocations: 2.577 MB / 1.098 GB, free: 133.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.042e-06/1.515, allocations: 0 / 1.098 GB, free: 133.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004021/1.519, allocations: 0.8655 MB / 1.099 GB, free: 132.3 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 (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * 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.003592/1.523, allocations: 0.8931 MB / 1.1 GB, free: 131.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00508/1.528, allocations: 2.883 MB / 1.102 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.528, allocations: 4 kB / 1.102 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/1.53, allocations: 0.6102 MB / 1.103 GB, free: 128.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004416/1.535, allocations: 291.1 kB / 1.103 GB, free: 127.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/1.553, allocations: 5.594 MB / 1.109 GB, free: 122.3 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]