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.WindowRadiation.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.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.822/2.822, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.001367/0.001367, allocations: 188.4 kB / 329.5 MB, free: 1.188 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.353/2.353, allocations: 225.6 MB / 0.6001 GB, free: 2.133 MB / 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.0009354/0.000935, allocations: 98.09 kB / 0.7074 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006571/0.0006573, allocations: 11.59 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2027, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008273/0.211, allocations: 5.815 MB / 0.9364 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.9285/1.14, allocations: 141.3 MB / 1.074 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/1.141, allocations: 34 kB / 1.074 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00703/1.148, allocations: 1.618 MB / 1.076 GB, free: 0.8047 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.004813/1.153, allocations: 0.8984 MB / 1.077 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004939/1.158, allocations: 1.02 MB / 1.078 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006854/1.165, allocations: 4.628 MB / 1.082 GB, free: 156 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002316/1.167, allocations: 1.044 MB / 1.083 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/1.171, allocations: 1.303 MB / 1.085 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/1.175, allocations: 1.154 MB / 1.086 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0008458/1.175, allocations: 61.75 kB / 1.086 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005781/1.181, allocations: 1.808 MB / 1.088 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004457/1.186, allocations: 2.646 MB / 1.09 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/1.187, allocations: 433.8 kB / 1.091 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00847/1.196, allocations: 3.623 MB / 1.094 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.196, allocations: 1.031 kB / 1.094 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.976e-06/1.196, allocations: 4 kB / 1.094 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001732/1.196, allocations: 0 / 1.094 GB, free: 12.55 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.01/1.206, allocations: 2.701 MB / 1.097 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/1.206, allocations: 9.438 kB / 1.097 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/1.209, allocations: 363.4 kB / 1.097 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/1.221, allocations: 7.295 MB / 1.104 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/1.221, allocations: 129.9 kB / 1.104 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007622/1.222, allocations: 181.1 kB / 1.105 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005418/1.228, allocations: 1.839 MB / 1.106 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/1.228, allocations: 3.938 kB / 1.106 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/1.228, allocations: 62.03 kB / 1.107 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/1.228, allocations: 33.34 kB / 1.107 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005325/1.233, allocations: 1.899 MB / 1.108 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02276/1.256, allocations: 9.848 MB / 1.118 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/1.261, allocations: 1.671 MB / 1.12 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002605/1.264, allocations: 1.043 MB / 1.121 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/1.264, allocations: 37.88 kB / 1.121 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002878/1.267, allocations: 1.1 MB / 1.122 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=105): time 4.138e-06/1.267, allocations: 0 / 1.122 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=105): time 0.01135/1.278, allocations: 3.276 MB / 1.125 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004372/1.279, allocations: 342.5 kB / 1.125 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02262/1.301, allocations: 11.51 MB / 1.137 GB, free: 15.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006486/1.302, allocations: 61.7 kB / 1.137 GB, free: 14.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001844/1.304, allocations: 0.9272 MB / 1.138 GB, free: 14.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007832/1.305, allocations: 363.9 kB / 1.138 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004882/1.305, allocations: 40 kB / 1.138 GB, free: 13.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003997/1.306, allocations: 402.2 kB / 1.138 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01124/1.317, allocations: 7.014 MB / 1.145 GB, free: 6.258 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01194/1.329, allocations: 7.332 MB / 1.152 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01195/1.341, allocations: 7.336 MB / 1.159 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-05/1.341, allocations: 0 / 1.159 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.02707/1.368, allocations: 15.07 MB / 1.174 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003521/1.368, allocations: 169.7 kB / 1.174 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/1.368, allocations: 11.98 kB / 1.174 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/1.369, allocations: 92.78 kB / 1.174 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003926/1.373, allocations: 462.7 kB / 1.175 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/1.377, allocations: 1.551 MB / 1.176 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/1.38, allocations: 227.1 kB / 1.177 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008019/1.381, allocations: 109.5 kB / 1.177 GB, free: 5.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (263): * Single equations (assignments): 261 * 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: 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.003803/1.384, allocations: 1.533 MB / 1.178 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007799/1.385, allocations: 205.3 kB / 1.178 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009125/1.394, allocations: 2.801 MB / 1.181 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/1.394, allocations: 12 kB / 1.181 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.395, allocations: 3.938 kB / 1.181 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-05/1.395, allocations: 7.984 kB / 1.181 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/1.408, allocations: 4.61 MB / 1.186 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.408, allocations: 0 / 1.186 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.41, allocations: 179.7 kB / 1.186 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009103/1.411, allocations: 88.7 kB / 1.186 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/1.411, allocations: 31.98 kB / 1.186 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/1.414, allocations: 1.555 MB / 1.187 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.414, allocations: 0 / 1.187 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007917/1.422, allocations: 2.69 MB / 1.19 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/1.424, allocations: 0.5252 MB / 1.191 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00069/1.424, allocations: 32 kB / 1.191 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.427, allocations: 69.97 kB / 1.191 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004377/1.427, allocations: 88.83 kB / 1.191 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/1.427, allocations: 55.97 kB / 1.191 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.01087/1.438, allocations: 7.204 MB / 1.198 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.82e-07/1.438, allocations: 0 / 1.198 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004796/1.443, allocations: 1.082 MB / 1.199 GB, free: 14.62 MB / 0.7605 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 (104): * Single equations (assignments): 100 * 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: 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.004088/1.447, allocations: 0.994 MB / 1.2 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01676/1.464, allocations: 9.807 MB / 1.209 GB, free: 3.988 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.464, allocations: 0 / 1.209 GB, free: 3.988 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004195/1.468, allocations: 1.846 MB / 1.211 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/1.472, allocations: 386.2 kB / 1.212 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02836/1.501, allocations: 12.59 MB / 1.224 GB, free: 5.125 MB / 0.7761 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]