Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.68/1.68, allocations: 291.7 MB / 306.8 MB, free: 7.668 MB / 234.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.0009807/0.0009807, allocations: 182.9 kB / 375.4 MB, free: 5.113 MB / 298.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 1.393/1.393, allocations: 225.7 MB / 0.6538 GB, free: 13.64 MB / 490.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.0008108/0.0008108, allocations: 102.9 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 12 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.673/0.6735, allocations: 118.1 MB / 1.011 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005952/0.6795, allocations: 4.712 MB / 1.016 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1448/0.8243, allocations: 140.3 MB / 1.153 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.8254, allocations: 19.75 kB / 1.153 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004002/0.8295, allocations: 1.502 MB / 1.154 GB, free: 8.582 MB / 0.7605 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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.001881/0.8313, allocations: 0.5838 MB / 1.155 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.8333, allocations: 0.7027 MB / 1.155 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.8354, allocations: 2.093 MB / 1.157 GB, free: 6.992 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.8365, allocations: 0.8847 MB / 1.158 GB, free: 6.582 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.8376, allocations: 0.605 MB / 1.159 GB, free: 6.336 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007838/0.8384, allocations: 0.6194 MB / 1.159 GB, free: 6.078 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.8385, allocations: 36.69 kB / 1.159 GB, free: 6.078 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.8418, allocations: 1.774 MB / 1.161 GB, free: 5.629 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0008847/0.8427, allocations: 0.9837 MB / 1.162 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.843, allocations: 282.5 kB / 1.162 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.8467, allocations: 2.48 MB / 1.165 GB, free: 4.656 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.8467, allocations: 4.766 kB / 1.165 GB, free: 4.656 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8467, allocations: 0 / 1.165 GB, free: 4.656 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.55e-05/0.8467, allocations: 0 / 1.165 GB, free: 4.656 MB / 0.7605 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.003509/0.8503, allocations: 1.862 MB / 1.167 GB, free: 3.41 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.8503, allocations: 10.19 kB / 1.167 GB, free: 3.41 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009076/0.8512, allocations: 262.9 kB / 1.167 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.8547, allocations: 2.855 MB / 1.17 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.651e-05/0.8548, allocations: 93.55 kB / 1.17 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.855, allocations: 126.2 kB / 1.17 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.8572, allocations: 1.247 MB / 1.171 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.8572, allocations: 4 kB / 1.171 GB, free: 1.566 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.8573, allocations: 47.19 kB / 1.171 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.8573, allocations: 29.72 kB / 1.171 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.8596, allocations: 1.408 MB / 1.173 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008787/0.8684, allocations: 4.833 MB / 1.177 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.8707, allocations: 0.9936 MB / 1.178 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008099/0.8715, allocations: 408 kB / 1.179 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.8717, allocations: 39.83 kB / 1.179 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.8728, allocations: 0.5554 MB / 1.179 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=88): time 3.116e-06/0.8728, allocations: 0 / 1.179 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=88): time 0.004137/0.877, allocations: 1.485 MB / 1.181 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.8771, allocations: 194.7 kB / 1.181 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00564/0.8828, allocations: 4.02 MB / 1.185 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.883, allocations: 46.17 kB / 1.185 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000595/0.8836, allocations: 0.6212 MB / 1.185 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.8839, allocations: 296.6 kB / 1.186 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.727e-05/0.884, allocations: 25.47 kB / 1.186 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8841, allocations: 352 kB / 1.186 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/0.8865, allocations: 2.163 MB / 1.188 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.889, allocations: 2.297 MB / 1.19 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.8922, allocations: 2.691 MB / 1.193 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.8922, allocations: 3.938 kB / 1.193 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.005354/0.8976, allocations: 4.799 MB / 1.198 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.8976, allocations: 8 kB / 1.198 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8976, allocations: 0 / 1.198 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.8982, allocations: 89.33 kB / 1.198 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009826/0.8992, allocations: 253.9 kB / 1.198 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.9013, allocations: 1.535 MB / 1.2 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.9023, allocations: 121.5 kB / 1.2 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.9025, allocations: 54.98 kB / 1.2 GB, free: 3.258 MB / 0.7761 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.0009434/0.9034, allocations: 0.5972 MB / 1.2 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.9036, allocations: 122.4 kB / 1.2 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.9063, allocations: 1.344 MB / 1.202 GB, free: 1.434 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.9063, allocations: 8 kB / 1.202 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.9063, allocations: 4 kB / 1.202 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.9063, allocations: 3.516 kB / 1.202 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.9105, allocations: 2.531 MB / 1.204 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.9105, allocations: 3.938 kB / 1.204 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007164/0.9112, allocations: 171.6 kB / 1.204 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005266/0.9117, allocations: 84.25 kB / 1.204 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.142e-05/0.9118, allocations: 38.14 kB / 1.205 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.9136, allocations: 1.538 MB / 1.206 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9136, allocations: 4.062 kB / 1.206 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.9158, allocations: 1.207 MB / 1.207 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/0.9164, allocations: 362.9 kB / 1.208 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.9166, allocations: 16.61 kB / 1.208 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/0.9172, allocations: 77.16 kB / 1.208 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.9174, allocations: 71.11 kB / 1.208 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.9175, allocations: 37.62 kB / 1.208 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00257/0.9201, allocations: 2.584 MB / 1.21 GB, free: 9.531 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9201, allocations: 0 / 1.21 GB, free: 9.531 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002484/0.9226, allocations: 0.8664 MB / 1.211 GB, free: 8.688 MB / 0.7917 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.002404/0.925, allocations: 0.9712 MB / 1.212 GB, free: 8.004 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003534/0.9285, allocations: 2.889 MB / 1.215 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9285, allocations: 0 / 1.215 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.9296, allocations: 0.617 MB / 1.215 GB, free: 4.762 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.9311, allocations: 287.6 kB / 1.216 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007854/0.9389, allocations: 5.577 MB / 1.221 GB, free: 15.39 MB / 0.8073 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]