Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.677/1.677, allocations: 287.5 MB / 302.6 MB, free: 8.234 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.000973/0.0009729, allocations: 187 kB / 371.2 MB, free: 10.85 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.466/1.466, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007807/0.0007807, allocations: 93.03 kB / 0.7432 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003924, allocations: 12.06 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2215, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005502/0.227, allocations: 4.75 MB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6293/0.8564, allocations: 140.2 MB / 1.12 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.8576, allocations: 26.16 kB / 1.12 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005037/0.8627, allocations: 1.48 MB / 1.122 GB, free: 1.234 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.002797/0.8655, allocations: 0.5903 MB / 1.122 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.8685, allocations: 0.6852 MB / 1.123 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003413/0.8719, allocations: 2.084 MB / 1.125 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.8732, allocations: 0.8891 MB / 1.126 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.8746, allocations: 0.6032 MB / 1.126 GB, free: 396 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.8757, allocations: 0.6229 MB / 1.127 GB, free: 236 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.8758, allocations: 35.19 kB / 1.127 GB, free: 236 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004022/0.8799, allocations: 1.763 MB / 1.129 GB, free: 164 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008239/0.8807, allocations: 0.9778 MB / 1.13 GB, free: 96 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.8811, allocations: 291.8 kB / 1.13 GB, free: 16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004102/0.8853, allocations: 2.469 MB / 1.132 GB, free: 15.83 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8853, allocations: 0 / 1.132 GB, free: 15.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8853, allocations: 0 / 1.132 GB, free: 15.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.541e-05/0.8853, allocations: 0 / 1.132 GB, free: 15.83 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.004065/0.8894, allocations: 1.857 MB / 1.134 GB, free: 14.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.8895, allocations: 8.812 kB / 1.134 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.8906, allocations: 268.6 kB / 1.135 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/0.8947, allocations: 2.856 MB / 1.137 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.513e-05/0.8948, allocations: 94.73 kB / 1.137 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.8951, allocations: 128.7 kB / 1.138 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.8975, allocations: 1.24 MB / 1.139 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.8975, allocations: 1.312 kB / 1.139 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.8976, allocations: 58.25 kB / 1.139 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-05/0.8977, allocations: 29.62 kB / 1.139 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.9002, allocations: 1.414 MB / 1.14 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008241/0.9084, allocations: 4.828 MB / 1.145 GB, free: 11.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.9105, allocations: 0.9994 MB / 1.146 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/0.9112, allocations: 405.5 kB / 1.146 GB, free: 11.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.9114, allocations: 34.89 kB / 1.146 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.9124, allocations: 0.5603 MB / 1.147 GB, free: 11.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 3.286e-06/0.9124, allocations: 0 / 1.147 GB, free: 11.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.003956/0.9164, allocations: 1.487 MB / 1.148 GB, free: 10.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.9165, allocations: 191 kB / 1.149 GB, free: 10.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005282/0.9218, allocations: 4.027 MB / 1.152 GB, free: 9.941 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002709/0.9221, allocations: 43.73 kB / 1.152 GB, free: 9.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008172/0.9229, allocations: 0.6216 MB / 1.153 GB, free: 9.598 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000457/0.9234, allocations: 290.8 kB / 1.153 GB, free: 9.391 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.9235, allocations: 24.7 kB / 1.153 GB, free: 9.391 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.9237, allocations: 356.7 kB / 1.154 GB, free: 9.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/0.9262, allocations: 2.163 MB / 1.156 GB, free: 8.902 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/0.9287, allocations: 2.299 MB / 1.158 GB, free: 8.645 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.9318, allocations: 2.683 MB / 1.161 GB, free: 8.387 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.9319, allocations: 0 / 1.161 GB, free: 8.387 MB / 0.698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.005616/0.9375, allocations: 4.809 MB / 1.165 GB, free: 7.719 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.9375, allocations: 10.17 kB / 1.165 GB, free: 7.711 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.9376, allocations: 4 kB / 1.165 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.9381, allocations: 82.25 kB / 1.165 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.9392, allocations: 260 kB / 1.166 GB, free: 7.387 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.9413, allocations: 1.522 MB / 1.167 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.9426, allocations: 126.1 kB / 1.167 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.9427, allocations: 63.41 kB / 1.167 GB, free: 5.688 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.001181/0.9439, allocations: 0.6002 MB / 1.168 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.9443, allocations: 122.4 kB / 1.168 GB, free: 5.109 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/0.9474, allocations: 1.338 MB / 1.169 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.9474, allocations: 12 kB / 1.169 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.9474, allocations: 4 kB / 1.169 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.9474, allocations: 7.969 kB / 1.169 GB, free: 4.098 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004613/0.952, allocations: 2.529 MB / 1.172 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.9521, allocations: 4 kB / 1.172 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/0.9528, allocations: 171.8 kB / 1.172 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/0.9533, allocations: 84.77 kB / 1.172 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/0.9534, allocations: 23.98 kB / 1.172 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.9554, allocations: 1.551 MB / 1.174 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.9554, allocations: 0 / 1.174 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.958, allocations: 1.208 MB / 1.175 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007586/0.9588, allocations: 367 kB / 1.175 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.959, allocations: 17.97 kB / 1.175 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/0.9597, allocations: 71.94 kB / 1.175 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.9599, allocations: 68.91 kB / 1.175 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/0.96, allocations: 39.97 kB / 1.175 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002662/0.9627, allocations: 2.573 MB / 1.178 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9627, allocations: 0 / 1.178 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002745/0.9654, allocations: 0.8682 MB / 1.179 GB, free: 10.48 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 (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.002517/0.968, allocations: 0.9001 MB / 1.18 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003761/0.9717, allocations: 2.887 MB / 1.182 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.9718, allocations: 4 kB / 1.182 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.9729, allocations: 0.6122 MB / 1.183 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.9747, allocations: 292.1 kB / 1.183 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008806/0.9835, allocations: 5.591 MB / 1.189 GB, free: 380 kB / 0.7136 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]