Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 252 MB / 0.5102 GB, free: 4.805 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005403/0.0005404, allocations: 16 kB / 0.6243 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5246, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006072/0.5307, allocations: 4.769 MB / 0.7328 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.6926, allocations: 140.2 MB / 0.8697 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.6937, allocations: 23.88 kB / 0.8697 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.6977, allocations: 1.483 MB / 0.8712 GB, free: 8.52 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/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.001922/0.6997, allocations: 0.5864 MB / 0.8717 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.7017, allocations: 0.6832 MB / 0.8724 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002347/0.704, allocations: 2.049 MB / 0.8744 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.7051, allocations: 0.7146 MB / 0.8751 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.7061, allocations: 0.6027 MB / 0.8757 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009097/0.707, allocations: 0.6259 MB / 0.8763 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.7072, allocations: 36 kB / 0.8763 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.7104, allocations: 1.763 MB / 0.8781 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009482/0.7113, allocations: 0.9747 MB / 0.879 GB, free: 464 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.7117, allocations: 284.8 kB / 0.8793 GB, free: 172 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003278/0.715, allocations: 2.479 MB / 0.8817 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.715, allocations: 0 / 0.8817 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.104e-06/0.715, allocations: 0 / 0.8817 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.725e-05/0.715, allocations: 0 / 0.8817 GB, free: 13.68 MB / 0.7012 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.003611/0.7186, allocations: 1.873 MB / 0.8835 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.7187, allocations: 8.031 kB / 0.8836 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009594/0.7197, allocations: 265.5 kB / 0.8838 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.723, allocations: 2.799 MB / 0.8865 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/0.7231, allocations: 102.3 kB / 0.8866 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.7233, allocations: 120 kB / 0.8867 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.7254, allocations: 1.244 MB / 0.888 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.7255, allocations: 4 kB / 0.888 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.571e-05/0.7256, allocations: 48 kB / 0.888 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.7256, allocations: 32 kB / 0.888 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.7277, allocations: 1.414 MB / 0.8894 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007042/0.7348, allocations: 4.822 MB / 0.8941 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.7366, allocations: 0.994 MB / 0.8951 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006332/0.7372, allocations: 410.5 kB / 0.8955 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.345e-05/0.7373, allocations: 41 kB / 0.8955 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009124/0.7383, allocations: 0.5592 MB / 0.8961 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=88): time 2.224e-06/0.7383, allocations: 4 kB / 0.8961 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88): time 0.00328/0.7416, allocations: 1.477 MB / 0.8975 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.7417, allocations: 192.9 kB / 0.8977 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004747/0.7464, allocations: 4.023 MB / 0.9016 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.7466, allocations: 49.7 kB / 0.9017 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/0.7472, allocations: 0.6135 MB / 0.9023 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.7475, allocations: 295.7 kB / 0.9026 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.7476, allocations: 28 kB / 0.9026 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7477, allocations: 349.9 kB / 0.9029 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.7499, allocations: 2.166 MB / 0.905 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.752, allocations: 2.305 MB / 0.9073 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.7541, allocations: 2.225 MB / 0.9095 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7541, allocations: 4 kB / 0.9095 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.4612/1.215, allocations: 4.795 MB / 0.9142 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/1.215, allocations: 6.156 kB / 0.9142 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.215, allocations: 4.672 kB / 0.9142 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/1.216, allocations: 87.47 kB / 0.9142 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.217, allocations: 253.9 kB / 0.9145 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/1.219, allocations: 1.521 MB / 0.916 GB, free: 177 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/1.221, allocations: 124.5 kB / 0.9161 GB, free: 177 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/1.221, allocations: 56.97 kB / 0.9161 GB, free: 177 MB / 0.7169 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.001222/1.222, allocations: 0.6045 MB / 0.9167 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/1.222, allocations: 131 kB / 0.9169 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/1.226, allocations: 1.343 MB / 0.9182 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/1.226, allocations: 14.38 kB / 0.9182 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.226, allocations: 0 / 0.9182 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/1.226, allocations: 10.03 kB / 0.9182 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004973/1.231, allocations: 2.535 MB / 0.9207 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.231, allocations: 1.797 kB / 0.9207 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/1.231, allocations: 173.5 kB / 0.9208 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/1.232, allocations: 87.83 kB / 0.9209 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/1.232, allocations: 30.64 kB / 0.921 GB, free: 175 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/1.234, allocations: 1.54 MB / 0.9225 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.234, allocations: 3.281 kB / 0.9225 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/1.236, allocations: 1.204 MB / 0.9236 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006009/1.237, allocations: 365.6 kB / 0.924 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/1.237, allocations: 19.88 kB / 0.924 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005979/1.238, allocations: 73.58 kB / 0.9241 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/1.238, allocations: 70.89 kB / 0.9241 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.6e-05/1.238, allocations: 50.17 kB / 0.9242 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002351/1.24, allocations: 2.568 MB / 0.9267 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.24, allocations: 0 / 0.9267 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002275/1.242, allocations: 0.8629 MB / 0.9275 GB, free: 172 MB / 0.7169 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.001971/1.244, allocations: 0.8993 MB / 0.9284 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002838/1.247, allocations: 2.894 MB / 0.9312 GB, free: 169 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.247, allocations: 0 / 0.9312 GB, free: 169 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008691/1.248, allocations: 0.6061 MB / 0.9318 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.249, allocations: 299.4 kB / 0.9321 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006946/1.256, allocations: 5.582 MB / 0.9376 GB, free: 162.8 MB / 0.7169 GB [/var/lib/jenkins/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]