Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.136/2.136, allocations: 254.9 MB / 269.9 MB, free: 9.625 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001387, allocations: 195.5 kB / 329.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.405/2.405, allocations: 225.6 MB / 0.6001 GB, free: 432 kB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009367/0.0009365, allocations: 102.8 kB / 0.7074 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006598/0.00066, allocations: 15.09 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2095, allocations: 109.1 MB / 0.9308 GB, free: 24.87 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006886/0.2164, allocations: 4.704 MB / 0.9354 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.8147/1.031, allocations: 140.3 MB / 1.072 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/1.032, allocations: 26.06 kB / 1.072 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.005989/1.039, allocations: 1.481 MB / 1.074 GB, free: 0.8711 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.002816/1.041, allocations: 0.5955 MB / 1.074 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003334/1.045, allocations: 0.7026 MB / 1.075 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003584/1.048, allocations: 2.083 MB / 1.077 GB, free: 376 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/1.05, allocations: 0.8409 MB / 1.078 GB, free: 224 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/1.052, allocations: 0.5991 MB / 1.079 GB, free: 68 kB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/1.054, allocations: 0.6298 MB / 1.079 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004224/1.055, allocations: 35.59 kB / 1.079 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005072/1.06, allocations: 1.781 MB / 1.081 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00161/1.061, allocations: 0.9727 MB / 1.082 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007274/1.062, allocations: 286.8 kB / 1.082 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005195/1.067, allocations: 2.488 MB / 1.085 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.067, allocations: 3 kB / 1.085 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.789e-06/1.067, allocations: 0 / 1.085 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.25e-05/1.067, allocations: 3.938 kB / 1.085 GB, free: 15.16 MB / 0.6667 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.005611/1.073, allocations: 1.861 MB / 1.086 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.073, allocations: 12.84 kB / 1.086 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/1.075, allocations: 264.8 kB / 1.087 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005458/1.081, allocations: 2.815 MB / 1.089 GB, free: 13 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/1.081, allocations: 98.44 kB / 1.09 GB, free: 13 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/1.081, allocations: 123.2 kB / 1.09 GB, free: 13 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003751/1.085, allocations: 1.242 MB / 1.091 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/1.085, allocations: 3.938 kB / 1.091 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/1.085, allocations: 50.31 kB / 1.091 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/1.085, allocations: 32.59 kB / 1.091 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004185/1.089, allocations: 1.412 MB / 1.092 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/1.102, allocations: 4.823 MB / 1.097 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003049/1.105, allocations: 1.006 MB / 1.098 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/1.106, allocations: 401.1 kB / 1.098 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/1.106, allocations: 40.75 kB / 1.098 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/1.108, allocations: 0.5643 MB / 1.099 GB, free: 10 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 3.817e-06/1.108, allocations: 3.938 kB / 1.099 GB, free: 10 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.006071/1.114, allocations: 1.483 MB / 1.1 GB, free: 9.578 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.114, allocations: 191.8 kB / 1.101 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006654/1.121, allocations: 4.029 MB / 1.105 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003039/1.121, allocations: 50.83 kB / 1.105 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007732/1.122, allocations: 0.6137 MB / 1.105 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/1.122, allocations: 298.6 kB / 1.106 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/1.123, allocations: 20.72 kB / 1.106 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.123, allocations: 351.6 kB / 1.106 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/1.126, allocations: 2.163 MB / 1.108 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003262/1.129, allocations: 2.296 MB / 1.11 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/1.132, allocations: 2.233 MB / 1.112 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/1.132, allocations: 3.938 kB / 1.112 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01058/1.143, allocations: 4.803 MB / 1.117 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/1.143, allocations: 8.094 kB / 1.117 GB, free: 2.465 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.143, allocations: 0 / 1.117 GB, free: 2.465 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009869/1.144, allocations: 88.77 kB / 1.117 GB, free: 2.375 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/1.146, allocations: 259.6 kB / 1.117 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/1.149, allocations: 1.527 MB / 1.119 GB, free: 472 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/1.151, allocations: 122.9 kB / 1.119 GB, free: 348 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/1.151, allocations: 66.78 kB / 1.119 GB, free: 284 kB / 0.6667 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.001487/1.153, allocations: 0.5952 MB / 1.12 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/1.153, allocations: 126.4 kB / 1.12 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005136/1.159, allocations: 1.347 MB / 1.121 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.159, allocations: 12 kB / 1.121 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.159, allocations: 0 / 1.121 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/1.159, allocations: 3.984 kB / 1.121 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007647/1.166, allocations: 2.535 MB / 1.124 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.166, allocations: 4 kB / 1.124 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/1.168, allocations: 171.8 kB / 1.124 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009359/1.169, allocations: 84.78 kB / 1.124 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/1.169, allocations: 35.84 kB / 1.124 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/1.172, allocations: 1.541 MB / 1.125 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.172, allocations: 0 / 1.125 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004281/1.176, allocations: 1.203 MB / 1.127 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.177, allocations: 374.9 kB / 1.127 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003893/1.178, allocations: 19.94 kB / 1.127 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.179, allocations: 71.89 kB / 1.127 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/1.18, allocations: 72.89 kB / 1.127 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.18, allocations: 39.98 kB / 1.127 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004176/1.184, allocations: 2.581 MB / 1.13 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.52e-07/1.184, allocations: 0 / 1.13 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003452/1.188, allocations: 0.862 MB / 1.13 GB, free: 4.371 MB / 0.6823 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.003892/1.191, allocations: 0.9769 MB / 1.131 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00608/1.198, allocations: 2.881 MB / 1.134 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.198, allocations: 4.062 kB / 1.134 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002925/1.201, allocations: 0.6172 MB / 1.135 GB, free: 68 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/1.203, allocations: 295.8 kB / 1.135 GB, free: 15.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.218, allocations: 5.577 MB / 1.141 GB, free: 10.18 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:762:5-762:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]