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.WindowRadiation.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.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.612/1.612, allocations: 291.7 MB / 306.8 MB, free: 7.684 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.001038/0.001038, allocations: 189.3 kB / 375.4 MB, free: 5.109 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.324/1.324, allocations: 225.7 MB / 0.6538 GB, free: 13.54 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.0009019/0.0009021, allocations: 97.42 kB / 0.7699 GB, free: 50.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003848, allocations: 12 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6494/0.6498, allocations: 118.1 MB / 1.011 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007178/0.657, allocations: 5.816 MB / 1.017 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1481/0.8051, allocations: 141.3 MB / 1.155 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.8068, allocations: 33.81 kB / 1.155 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004646/0.8114, allocations: 1.609 MB / 1.156 GB, free: 6.449 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.002746/0.8142, allocations: 0.9184 MB / 1.157 GB, free: 5.957 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.8172, allocations: 1.027 MB / 1.158 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004449/0.8217, allocations: 4.631 MB / 1.163 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.8233, allocations: 1.081 MB / 1.164 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.8258, allocations: 1.301 MB / 1.165 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.8278, allocations: 1.155 MB / 1.166 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.8281, allocations: 62.62 kB / 1.166 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004436/0.8326, allocations: 1.807 MB / 1.168 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.002553/0.8351, allocations: 2.648 MB / 1.17 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006409/0.8358, allocations: 432.1 kB / 1.171 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.8406, allocations: 3.627 MB / 1.174 GB, free: 124 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8406, allocations: 1.781 kB / 1.174 GB, free: 124 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8406, allocations: 0 / 1.174 GB, free: 124 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.904e-05/0.8406, allocations: 0 / 1.174 GB, free: 124 kB / 0.7605 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.005045/0.8457, allocations: 2.677 MB / 1.177 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.8457, allocations: 9.281 kB / 1.177 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.8468, allocations: 362.5 kB / 1.177 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009005/0.8559, allocations: 7.357 MB / 1.185 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.856, allocations: 129.2 kB / 1.185 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003033/0.8563, allocations: 175.3 kB / 1.185 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/0.8595, allocations: 1.845 MB / 1.187 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.8595, allocations: 1.812 kB / 1.187 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.8596, allocations: 58.38 kB / 1.187 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.8597, allocations: 34 kB / 1.187 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.8625, allocations: 1.903 MB / 1.189 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.8764, allocations: 9.848 MB / 1.198 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.8792, allocations: 1.656 MB / 1.2 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.8807, allocations: 1.05 MB / 1.201 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.654e-05/0.8808, allocations: 35.7 kB / 1.201 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/0.8824, allocations: 1.105 MB / 1.202 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=105): time 3.075e-06/0.8824, allocations: 0 / 1.202 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of matching and sorting (n=105): time 0.006367/0.8888, allocations: 3.283 MB / 1.205 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002354/0.8891, allocations: 344.5 kB / 1.206 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01606/0.9051, allocations: 11.5 MB / 1.217 GB, free: 4.688 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0009437/0.9061, allocations: 61.7 kB / 1.217 GB, free: 4.621 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.9076, allocations: 0.9309 MB / 1.218 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006187/0.9083, allocations: 369.2 kB / 1.218 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.9085, allocations: 40 kB / 1.218 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003134/0.9088, allocations: 409.5 kB / 1.219 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00774/0.9166, allocations: 7.013 MB / 1.225 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007445/0.9241, allocations: 7.335 MB / 1.233 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009439/0.9335, allocations: 8.749 MB / 1.241 GB, free: 13.29 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.9336, allocations: 4 kB / 1.241 GB, free: 13.28 MB / 0.823 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01614/0.9497, allocations: 15.09 MB / 1.256 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.9499, allocations: 165.6 kB / 1.256 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.95, allocations: 8 kB / 1.256 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/0.9505, allocations: 94.25 kB / 1.256 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.9522, allocations: 467.2 kB / 1.257 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.9542, allocations: 1.535 MB / 1.258 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.9559, allocations: 232 kB / 1.258 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.9561, allocations: 111.9 kB / 1.258 GB, free: 12.41 MB / 0.8386 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.001978/0.9581, allocations: 1.527 MB / 1.26 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/0.9585, allocations: 206.5 kB / 1.26 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/0.9632, allocations: 2.798 MB / 1.263 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.9632, allocations: 9.938 kB / 1.263 GB, free: 7.852 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.9633, allocations: 0 / 1.263 GB, free: 7.852 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.9633, allocations: 7.969 kB / 1.263 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006837/0.9701, allocations: 4.615 MB / 1.267 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.9701, allocations: 0 / 1.267 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006862/0.9708, allocations: 175.8 kB / 1.267 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.9713, allocations: 88.7 kB / 1.268 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-05/0.9714, allocations: 39.97 kB / 1.268 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.9731, allocations: 1.539 MB / 1.269 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.9731, allocations: 1.062 kB / 1.269 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00409/0.9772, allocations: 2.701 MB / 1.272 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009313/0.9782, allocations: 0.5252 MB / 1.272 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.9784, allocations: 24 kB / 1.272 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008304/0.9793, allocations: 79.94 kB / 1.272 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.9795, allocations: 80.83 kB / 1.272 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.9796, allocations: 51.97 kB / 1.272 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006792/0.9864, allocations: 7.212 MB / 1.28 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9864, allocations: 0 / 1.28 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004177/0.9906, allocations: 1.08 MB / 1.281 GB, free: 5.359 MB / 0.8542 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.00292/0.9935, allocations: 0.9854 MB / 1.282 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.004, allocations: 9.8 MB / 1.291 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.026e-06/1.004, allocations: 5.031 kB / 1.291 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002209/1.006, allocations: 1.839 MB / 1.293 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/1.008, allocations: 380.1 kB / 1.293 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/1.027, allocations: 12.6 MB / 1.306 GB, free: 11.93 MB / 0.8855 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]