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 2.523/2.523, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001394/0.001393, allocations: 189.9 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0008915/0.000891, allocations: 86.36 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007026/0.0007029, allocations: 11.88 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2673, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006882/0.2743, allocations: 4.742 MB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8799/1.154, allocations: 140.2 MB / 1.12 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/1.156, allocations: 25.44 kB / 1.12 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006565/1.162, allocations: 1.493 MB / 1.121 GB, free: 1.184 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.003095/1.165, allocations: 0.5829 MB / 1.122 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/1.169, allocations: 0.6932 MB / 1.123 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00368/1.173, allocations: 2.046 MB / 1.125 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/1.174, allocations: 0.7171 MB / 1.125 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/1.176, allocations: 0.598 MB / 1.126 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/1.178, allocations: 0.6244 MB / 1.127 GB, free: 284 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004354/1.178, allocations: 33.28 kB / 1.127 GB, free: 284 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005247/1.184, allocations: 1.769 MB / 1.128 GB, free: 212 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001812/1.185, allocations: 0.976 MB / 1.129 GB, free: 144 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008944/1.186, allocations: 284.5 kB / 1.13 GB, free: 16.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006342/1.193, allocations: 2.474 MB / 1.132 GB, free: 15.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/1.193, allocations: 5.25 kB / 1.132 GB, free: 15.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.887e-06/1.193, allocations: 0 / 1.132 GB, free: 15.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001124/1.193, allocations: 0 / 1.132 GB, free: 15.87 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.006784/1.2, allocations: 1.867 MB / 1.134 GB, free: 14.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.2, allocations: 9.562 kB / 1.134 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/1.202, allocations: 266.5 kB / 1.134 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005606/1.208, allocations: 2.814 MB / 1.137 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/1.208, allocations: 98.72 kB / 1.137 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006612/1.208, allocations: 120.4 kB / 1.137 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007453/1.216, allocations: 1.242 MB / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.459e-05/1.216, allocations: 2.062 kB / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003958/1.216, allocations: 51.27 kB / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.85e-05/1.217, allocations: 28.97 kB / 1.138 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007418/1.224, allocations: 1.417 MB / 1.14 GB, free: 13.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02001/1.244, allocations: 4.833 MB / 1.144 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005313/1.249, allocations: 1.005 MB / 1.145 GB, free: 11.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/1.252, allocations: 403.7 kB / 1.146 GB, free: 11.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/1.252, allocations: 36 kB / 1.146 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002525/1.254, allocations: 0.5572 MB / 1.146 GB, free: 11.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 6.402e-06/1.254, allocations: 1.281 kB / 1.146 GB, free: 11.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.009762/1.264, allocations: 1.481 MB / 1.148 GB, free: 10.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001862/1.264, allocations: 193.8 kB / 1.148 GB, free: 10.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01112/1.276, allocations: 4.02 MB / 1.152 GB, free: 10.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000427/1.276, allocations: 49.48 kB / 1.152 GB, free: 9.984 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/1.277, allocations: 0.6227 MB / 1.153 GB, free: 9.668 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006967/1.278, allocations: 292.7 kB / 1.153 GB, free: 9.461 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/1.278, allocations: 21.5 kB / 1.153 GB, free: 9.461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000282/1.279, allocations: 356.5 kB / 1.153 GB, free: 9.141 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004738/1.283, allocations: 2.158 MB / 1.155 GB, free: 8.977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005346/1.289, allocations: 2.305 MB / 1.158 GB, free: 8.711 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005151/1.294, allocations: 2.231 MB / 1.16 GB, free: 8.559 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.294, allocations: 0 / 1.16 GB, free: 8.559 MB / 0.698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01345/1.308, allocations: 4.803 MB / 1.164 GB, free: 8.062 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/1.308, allocations: 7.531 kB / 1.164 GB, free: 8.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/1.308, allocations: 0 / 1.164 GB, free: 8.062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/1.309, allocations: 91.27 kB / 1.164 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/1.311, allocations: 260.3 kB / 1.165 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/1.315, allocations: 1.521 MB / 1.166 GB, free: 6.301 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/1.317, allocations: 124 kB / 1.166 GB, free: 6.195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/1.317, allocations: 54.03 kB / 1.166 GB, free: 6.152 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.001536/1.318, allocations: 0.6025 MB / 1.167 GB, free: 5.695 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004425/1.319, allocations: 134.3 kB / 1.167 GB, free: 5.562 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/1.324, allocations: 1.353 MB / 1.168 GB, free: 4.555 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/1.324, allocations: 8 kB / 1.168 GB, free: 4.547 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.324, allocations: 3.953 kB / 1.168 GB, free: 4.543 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.324, allocations: 3.984 kB / 1.168 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007437/1.331, allocations: 2.537 MB / 1.171 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.331, allocations: 0 / 1.171 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/1.333, allocations: 175.8 kB / 1.171 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000915/1.334, allocations: 84.77 kB / 1.171 GB, free: 2.215 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/1.334, allocations: 27.98 kB / 1.171 GB, free: 2.188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/1.337, allocations: 1.548 MB / 1.173 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.337, allocations: 0 / 1.173 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/1.341, allocations: 1.192 MB / 1.174 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.342, allocations: 367 kB / 1.174 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/1.343, allocations: 23.94 kB / 1.174 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.344, allocations: 71.94 kB / 1.174 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/1.344, allocations: 68.86 kB / 1.174 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.344, allocations: 43.97 kB / 1.174 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004427/1.349, allocations: 2.583 MB / 1.177 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.52e-07/1.349, allocations: 4 kB / 1.177 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003498/1.352, allocations: 0.8564 MB / 1.178 GB, free: 11.27 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.003775/1.356, allocations: 0.8929 MB / 1.179 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006177/1.362, allocations: 2.893 MB / 1.181 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.362, allocations: 1.859 kB / 1.181 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/1.364, allocations: 0.6123 MB / 1.182 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/1.367, allocations: 304.1 kB / 1.182 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/1.381, allocations: 5.579 MB / 1.188 GB, free: 1.156 MB / 0.7136 GB [/var/lib/jenkins1/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]