Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007482/0.0007483, allocations: 86.64 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.0007617/0.0007617, 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.318/1.318, allocations: 205.4 MB / 222.1 MB, free: 5.359 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.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.0005028/0.0005029, allocations: 17.19 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1979, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005587/0.2036, allocations: 4.778 MB / 0.792 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5826/0.7862, allocations: 140.3 MB / 0.929 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.787, allocations: 21.16 kB / 0.929 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003712/0.7908, allocations: 1.49 MB / 0.9305 GB, free: 3.09 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001699/0.7925, allocations: 0.5829 MB / 0.931 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.7946, allocations: 0.7334 MB / 0.9318 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003423/0.7981, allocations: 2.94 MB / 0.9346 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.7992, allocations: 0.7003 MB / 0.9353 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.801, allocations: 0.9274 MB / 0.9362 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.8022, allocations: 0.776 MB / 0.937 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.8024, allocations: 45.31 kB / 0.937 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003927/0.8064, allocations: 1.743 MB / 0.9387 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.8077, allocations: 1.188 MB / 0.9399 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006966/0.8084, allocations: 312 kB / 0.9402 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.8128, allocations: 2.671 MB / 0.9428 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.8128, allocations: 4 kB / 0.9428 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8128, allocations: 1.031 kB / 0.9428 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.328e-05/0.8128, allocations: 0 / 0.9428 GB, free: 17.73 MB / 0.7325 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.003769/0.8166, allocations: 2.067 MB / 0.9448 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8167, allocations: 9.812 kB / 0.9448 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007271/0.8174, allocations: 260.8 kB / 0.9451 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.8207, allocations: 2.896 MB / 0.9479 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.071e-05/0.8208, allocations: 105.4 kB / 0.948 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.821, allocations: 146.5 kB / 0.9481 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.8231, allocations: 1.277 MB / 0.9494 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.8231, allocations: 5.438 kB / 0.9494 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.44e-05/0.8232, allocations: 49.41 kB / 0.9494 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.8232, allocations: 31.02 kB / 0.9495 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.8253, allocations: 1.372 MB / 0.9508 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006821/0.8321, allocations: 5.086 MB / 0.9558 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.8336, allocations: 1.116 MB / 0.9569 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007587/0.8344, allocations: 0.6433 MB / 0.9575 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-05/0.8345, allocations: 36.28 kB / 0.9575 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000998/0.8355, allocations: 0.7099 MB / 0.9582 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=92): time 2.475e-06/0.8355, allocations: 0 / 0.9582 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92): time 0.003203/0.8387, allocations: 2.053 MB / 0.9602 GB, free: 14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/0.8389, allocations: 325.6 kB / 0.9605 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004154/0.8431, allocations: 4.308 MB / 0.9647 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.8433, allocations: 53.3 kB / 0.9648 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/0.8438, allocations: 0.656 MB / 0.9654 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.844, allocations: 315.7 kB / 0.9657 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/0.8441, allocations: 32.12 kB / 0.9658 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8442, allocations: 378.8 kB / 0.9661 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.8465, allocations: 2.726 MB / 0.9688 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.8489, allocations: 2.948 MB / 0.9717 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/0.8514, allocations: 2.992 MB / 0.9746 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.8514, allocations: 2.719 kB / 0.9746 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.005753/0.8572, allocations: 6.214 MB / 0.9807 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.8574, allocations: 155.8 kB / 0.9808 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.8574, allocations: 6.922 kB / 0.9808 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.8574, allocations: 10.84 kB / 0.9808 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.8585, allocations: 330.7 kB / 0.9811 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.8585, allocations: 11.78 kB / 0.9812 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.8597, allocations: 180.3 kB / 0.9813 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.8598, allocations: 80.27 kB / 0.9814 GB, free: 10.3 MB / 0.7325 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.001142/0.861, allocations: 0.8364 MB / 0.9822 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.8612, allocations: 139.5 kB / 0.9823 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.8641, allocations: 1.937 MB / 0.9842 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.8641, allocations: 11.16 kB / 0.9843 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8641, allocations: 0 / 0.9843 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.8641, allocations: 3.984 kB / 0.9843 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004326/0.8685, allocations: 3.31 MB / 0.9875 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8685, allocations: 1.969 kB / 0.9875 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/0.8691, allocations: 153.5 kB / 0.9876 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.8691, allocations: 4 kB / 0.9876 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.439e-05/0.8692, allocations: 28.36 kB / 0.9877 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.8692, allocations: 4 kB / 0.9877 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8692, allocations: 4 kB / 0.9877 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.8716, allocations: 1.866 MB / 0.9895 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.8722, allocations: 419.4 kB / 0.9899 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.8723, allocations: 18.5 kB / 0.9899 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/0.873, allocations: 75.88 kB / 0.99 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.8731, allocations: 68.8 kB / 0.9901 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-05/0.8732, allocations: 42.48 kB / 0.9901 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00234/0.8756, allocations: 2.753 MB / 0.9928 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8756, allocations: 3.938 kB / 0.9928 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002916/0.8785, allocations: 0.9312 MB / 0.9937 GB, free: 2.5 MB / 0.7325 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.0022/0.8807, allocations: 0.8917 MB / 0.9946 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004706/0.8854, allocations: 4.892 MB / 0.9993 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.8854, allocations: 0 / 0.9993 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.8868, allocations: 1.318 MB / 1.001 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.8882, allocations: 294 kB / 1.001 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00692/0.8951, allocations: 6.07 MB / 1.007 GB, free: 7.895 MB / 0.7481 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]