Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.793/1.793, allocations: 288.4 MB / 303.4 MB, free: 8.125 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.001144/0.001143, allocations: 179.2 kB / 372 MB, free: 10.26 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.494/1.494, allocations: 205.4 MB / 0.6307 GB, free: 9.895 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.0008573/0.000857, allocations: 96.88 kB / 0.7441 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004196, allocations: 20.14 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2378, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005465/0.2434, allocations: 4.758 MB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7194/0.9628, allocations: 140.2 MB / 1.121 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.964, allocations: 21.38 kB / 1.121 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004303/0.9683, allocations: 1.487 MB / 1.123 GB, free: 1.832 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.002203/0.9705, allocations: 0.5853 MB / 1.123 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.9731, allocations: 0.6932 MB / 1.124 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002564/0.9757, allocations: 2.041 MB / 1.126 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.9769, allocations: 0.7223 MB / 1.127 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.9782, allocations: 0.5993 MB / 1.127 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008852/0.9791, allocations: 0.6205 MB / 1.128 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.9792, allocations: 35.44 kB / 1.128 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/0.983, allocations: 1.77 MB / 1.13 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000864/0.9839, allocations: 0.9716 MB / 1.13 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004305/0.9844, allocations: 290 kB / 1.131 GB, free: 16.69 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003859/0.9882, allocations: 2.473 MB / 1.133 GB, free: 16.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.9882, allocations: 6.656 kB / 1.133 GB, free: 16.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9882, allocations: 0 / 1.133 GB, free: 16.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.312e-05/0.9883, allocations: 0 / 1.133 GB, free: 16.18 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.004143/0.9924, allocations: 1.866 MB / 1.135 GB, free: 14.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.9925, allocations: 8.75 kB / 1.135 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.9935, allocations: 266.3 kB / 1.135 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003787/0.9973, allocations: 2.808 MB / 1.138 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.99e-05/0.9975, allocations: 96.42 kB / 1.138 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.9976, allocations: 125.2 kB / 1.138 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/1, allocations: 1.247 MB / 1.139 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/1, allocations: 5.125 kB / 1.139 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/1, allocations: 51.03 kB / 1.139 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/1, allocations: 28.47 kB / 1.139 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/1.003, allocations: 1.413 MB / 1.141 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007744/1.011, allocations: 4.829 MB / 1.146 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/1.013, allocations: 0.9899 MB / 1.147 GB, free: 11.33 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/1.013, allocations: 405.7 kB / 1.147 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.772e-05/1.014, allocations: 35.45 kB / 1.147 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009869/1.015, allocations: 0.5617 MB / 1.148 GB, free: 11.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 2.895e-06/1.015, allocations: 0 / 1.148 GB, free: 11.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.003695/1.018, allocations: 1.484 MB / 1.149 GB, free: 10.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.018, allocations: 195 kB / 1.149 GB, free: 10.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004743/1.023, allocations: 4.023 MB / 1.153 GB, free: 9.879 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002335/1.023, allocations: 48.83 kB / 1.153 GB, free: 9.848 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005051/1.024, allocations: 0.6134 MB / 1.154 GB, free: 9.539 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/1.024, allocations: 298.1 kB / 1.154 GB, free: 9.328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/1.024, allocations: 24.62 kB / 1.154 GB, free: 9.328 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.024, allocations: 350.2 kB / 1.154 GB, free: 9.012 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/1.026, allocations: 2.164 MB / 1.156 GB, free: 8.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/1.028, allocations: 2.307 MB / 1.159 GB, free: 8.574 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/1.03, allocations: 2.233 MB / 1.161 GB, free: 8.422 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.03, allocations: 0 / 1.161 GB, free: 8.422 MB / 0.698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.005017/1.035, allocations: 4.805 MB / 1.166 GB, free: 7.828 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.036, allocations: 8 kB / 1.166 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/1.036, allocations: 0 / 1.166 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/1.036, allocations: 91.23 kB / 1.166 GB, free: 7.734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.037, allocations: 251.2 kB / 1.166 GB, free: 7.496 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/1.039, allocations: 1.531 MB / 1.167 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.041, allocations: 119.5 kB / 1.168 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.041, allocations: 61.77 kB / 1.168 GB, free: 5.797 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.001116/1.042, allocations: 0.599 MB / 1.168 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003974/1.042, allocations: 126.3 kB / 1.168 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/1.045, allocations: 1.349 MB / 1.17 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.045, allocations: 8 kB / 1.17 GB, free: 4.203 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.045, allocations: 8 kB / 1.17 GB, free: 4.195 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.045, allocations: 7.938 kB / 1.17 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/1.051, allocations: 2.527 MB / 1.172 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/1.051, allocations: 0 / 1.172 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/1.052, allocations: 179.7 kB / 1.172 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005496/1.052, allocations: 80.78 kB / 1.172 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.049e-05/1.052, allocations: 27.98 kB / 1.172 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/1.054, allocations: 1.544 MB / 1.174 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.054, allocations: 0 / 1.174 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/1.057, allocations: 1.196 MB / 1.175 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007681/1.058, allocations: 379 kB / 1.175 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/1.058, allocations: 24 kB / 1.175 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008354/1.059, allocations: 61.17 kB / 1.176 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/1.059, allocations: 76.89 kB / 1.176 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/1.059, allocations: 43.94 kB / 1.176 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003062/1.062, allocations: 2.579 MB / 1.178 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.02e-07/1.062, allocations: 0 / 1.178 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00305/1.065, allocations: 0.8643 MB / 1.179 GB, free: 10.42 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.003245/1.069, allocations: 0.8953 MB / 1.18 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00429/1.073, allocations: 2.885 MB / 1.183 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.073, allocations: 1.859 kB / 1.183 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/1.074, allocations: 0.6126 MB / 1.183 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/1.076, allocations: 299.2 kB / 1.184 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/1.086, allocations: 5.581 MB / 1.189 GB, free: 308 kB / 0.7136 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]