Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.000961, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001286/0.001287, allocations: 168.7 kB / 15.95 MB, free: 204 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.512/1.512, allocations: 205.4 MB / 222.1 MB, free: 5.871 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.63/1.63, allocations: 252 MB / 0.5102 GB, free: 4.789 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.0005019/0.0005022, allocations: 20 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4928, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006255/0.4991, allocations: 4.788 MB / 0.7328 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.6568, allocations: 140.3 MB / 0.8699 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.6578, allocations: 23.88 kB / 0.8699 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.6617, allocations: 1.495 MB / 0.8713 GB, free: 8.312 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.001822/0.6635, allocations: 0.575 MB / 0.8719 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.6655, allocations: 0.7324 MB / 0.8726 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002831/0.6684, allocations: 2.946 MB / 0.8755 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009579/0.6693, allocations: 0.6915 MB / 0.8762 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.6708, allocations: 0.93 MB / 0.8771 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.6718, allocations: 0.7703 MB / 0.8778 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.672, allocations: 48 kB / 0.8779 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.675, allocations: 1.74 MB / 0.8796 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.676, allocations: 1.193 MB / 0.8807 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.6763, allocations: 308.7 kB / 0.881 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.6796, allocations: 2.678 MB / 0.8837 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6797, allocations: 3.938 kB / 0.8837 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6797, allocations: 0 / 0.8837 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.391e-05/0.6797, allocations: 4 kB / 0.8837 GB, free: 11.66 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003627/0.6833, allocations: 2.058 MB / 0.8857 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.6834, allocations: 8.031 kB / 0.8857 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009111/0.6843, allocations: 265.5 kB / 0.8859 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/0.6884, allocations: 2.899 MB / 0.8888 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.6885, allocations: 106.2 kB / 0.8889 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.6887, allocations: 140 kB / 0.889 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.6912, allocations: 1.277 MB / 0.8902 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.6912, allocations: 3.938 kB / 0.8902 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.6913, allocations: 52 kB / 0.8903 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.6913, allocations: 24 kB / 0.8903 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.6935, allocations: 1.382 MB / 0.8917 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007557/0.7011, allocations: 5.07 MB / 0.8966 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.7027, allocations: 1.114 MB / 0.8977 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008802/0.7036, allocations: 0.6477 MB / 0.8983 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.198e-05/0.7037, allocations: 32.77 kB / 0.8984 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.7048, allocations: 0.7091 MB / 0.8991 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=92): time 3.216e-06/0.7049, allocations: 3.938 kB / 0.8991 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=92): time 0.003557/0.7084, allocations: 2.053 MB / 0.9011 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002057/0.7086, allocations: 330.2 kB / 0.9014 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005026/0.7137, allocations: 4.303 MB / 0.9056 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.7139, allocations: 57.7 kB / 0.9056 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000638/0.7146, allocations: 0.6573 MB / 0.9063 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.7149, allocations: 311.6 kB / 0.9066 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.715, allocations: 32 kB / 0.9066 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.7152, allocations: 377.9 kB / 0.907 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002784/0.718, allocations: 2.726 MB / 0.9096 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4032/1.121, allocations: 2.947 MB / 0.9125 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004081/1.125, allocations: 2.999 MB / 0.9154 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/1.125, allocations: 1.094 kB / 0.9154 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007788/1.133, allocations: 6.214 MB / 0.9215 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/1.133, allocations: 152 kB / 0.9217 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.133, allocations: 3.75 kB / 0.9217 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.133, allocations: 15.17 kB / 0.9217 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/1.134, allocations: 333.3 kB / 0.922 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/1.134, allocations: 11.33 kB / 0.922 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008884/1.135, allocations: 183.2 kB / 0.9222 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.136, allocations: 74.95 kB / 0.9223 GB, free: 175.7 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009651/1.136, allocations: 0.828 MB / 0.9231 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/1.137, allocations: 141 kB / 0.9232 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/1.14, allocations: 1.936 MB / 0.9251 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.14, allocations: 13.31 kB / 0.9251 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/1.14, allocations: 4.547 kB / 0.9251 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.14, allocations: 4.031 kB / 0.9251 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003941/1.144, allocations: 3.304 MB / 0.9283 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/1.144, allocations: 0 / 0.9283 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/1.144, allocations: 156.7 kB / 0.9285 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.144, allocations: 4 kB / 0.9285 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/1.144, allocations: 32.59 kB / 0.9285 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.144, allocations: 4 kB / 0.9285 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.144, allocations: 2.438 kB / 0.9285 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/1.146, allocations: 1.869 MB / 0.9303 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/1.147, allocations: 414.7 kB / 0.9307 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/1.147, allocations: 24 kB / 0.9308 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/1.148, allocations: 70.88 kB / 0.9308 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.148, allocations: 68.75 kB / 0.9309 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/1.148, allocations: 47.2 kB / 0.9309 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001879/1.15, allocations: 2.749 MB / 0.9336 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.15, allocations: 0 / 0.9336 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001837/1.152, allocations: 0.9343 MB / 0.9345 GB, free: 165.5 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001917/1.154, allocations: 0.8911 MB / 0.9354 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003842/1.157, allocations: 4.895 MB / 0.9402 GB, free: 160 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.157, allocations: 0 / 0.9402 GB, free: 160 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/1.159, allocations: 1.318 MB / 0.9415 GB, free: 158.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/1.16, allocations: 292.7 kB / 0.9418 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005825/1.166, allocations: 6.066 MB / 0.9477 GB, free: 152.3 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]