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.AbsorbedRadiation.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.718/1.718, allocations: 291.7 MB / 306.8 MB, free: 7.715 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.001168/0.001167, allocations: 191 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.379/1.379, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0008272/0.0008269, allocations: 97.23 kB / 0.7699 GB, free: 50.22 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.000458, allocations: 15.98 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6072/0.6077, allocations: 118.1 MB / 1.011 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006214/0.614, allocations: 4.747 MB / 1.016 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1535/0.7675, allocations: 140.4 MB / 1.153 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.7689, allocations: 23.88 kB / 1.153 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004711/0.7737, allocations: 1.503 MB / 1.154 GB, free: 8.105 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.001832/0.7755, allocations: 0.5755 MB / 1.155 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.7775, allocations: 0.751 MB / 1.155 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002622/0.7802, allocations: 2.976 MB / 1.158 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.7812, allocations: 0.8755 MB / 1.159 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.7826, allocations: 0.9201 MB / 1.16 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009681/0.7836, allocations: 0.7707 MB / 1.161 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.7838, allocations: 46 kB / 1.161 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.7873, allocations: 1.752 MB / 1.163 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.7885, allocations: 1.19 MB / 1.164 GB, free: 4.461 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.789, allocations: 313.4 kB / 1.164 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004227/0.7932, allocations: 2.68 MB / 1.167 GB, free: 3.688 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7932, allocations: 0 / 1.167 GB, free: 3.688 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7932, allocations: 0 / 1.167 GB, free: 3.688 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.315e-05/0.7933, allocations: 1.125 kB / 1.167 GB, free: 3.688 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004246/0.7975, allocations: 2.06 MB / 1.169 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7976, allocations: 12.53 kB / 1.169 GB, free: 2.332 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007665/0.7983, allocations: 261.7 kB / 1.169 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.8022, allocations: 2.941 MB / 1.172 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.8023, allocations: 103.8 kB / 1.172 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.8026, allocations: 144.4 kB / 1.172 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.805, allocations: 1.42 MB / 1.173 GB, free: 460 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.805, allocations: 5.031 kB / 1.174 GB, free: 456 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.8051, allocations: 50.66 kB / 1.174 GB, free: 420 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.8052, allocations: 26.88 kB / 1.174 GB, free: 420 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.8077, allocations: 1.532 MB / 1.175 GB, free: 48 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008334/0.8161, allocations: 5.091 MB / 1.18 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.8181, allocations: 1.315 MB / 1.181 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.8193, allocations: 0.8509 MB / 1.182 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.861e-05/0.8194, allocations: 35.31 kB / 1.182 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.8206, allocations: 0.8569 MB / 1.183 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=92): time 3.366e-06/0.8206, allocations: 0 / 1.183 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=92): time 0.004242/0.8249, allocations: 2.505 MB / 1.185 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002379/0.8251, allocations: 325.2 kB / 1.186 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005631/0.8308, allocations: 4.31 MB / 1.19 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003931/0.8312, allocations: 55.36 kB / 1.19 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005945/0.8318, allocations: 0.653 MB / 1.191 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.8321, allocations: 317.8 kB / 1.191 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/0.8322, allocations: 32.28 kB / 1.191 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8324, allocations: 374.5 kB / 1.191 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003248/0.8356, allocations: 2.887 MB / 1.194 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.8386, allocations: 3.099 MB / 1.197 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/0.8429, allocations: 4.271 MB / 1.201 GB, free: 2.188 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.8429, allocations: 4 kB / 1.201 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007169/0.8501, allocations: 6.528 MB / 1.208 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.8503, allocations: 148.6 kB / 1.208 GB, free: 12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.8503, allocations: 4.562 kB / 1.208 GB, free: 12 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.8504, allocations: 15.94 kB / 1.208 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.8517, allocations: 332.5 kB / 1.208 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.8517, allocations: 12.66 kB / 1.208 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.8529, allocations: 174.7 kB / 1.208 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.853, allocations: 81.59 kB / 1.209 GB, free: 11.47 MB / 0.7917 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.00117/0.8542, allocations: 0.8281 MB / 1.209 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.8544, allocations: 142.7 kB / 1.209 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003616/0.8581, allocations: 2.23 MB / 1.212 GB, free: 8.609 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.8581, allocations: 16.81 kB / 1.212 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8581, allocations: 4 kB / 1.212 GB, free: 8.594 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.8581, allocations: 8.172 kB / 1.212 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/0.8635, allocations: 3.597 MB / 1.215 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.8635, allocations: 4.594 kB / 1.215 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/0.8641, allocations: 160.4 kB / 1.215 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.8642, allocations: 4 kB / 1.215 GB, free: 5.398 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.777e-05/0.8643, allocations: 29.91 kB / 1.215 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.8643, allocations: 4 kB / 1.215 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8643, allocations: 0.7031 kB / 1.215 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/0.8674, allocations: 2.171 MB / 1.217 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006808/0.8681, allocations: 416.8 kB / 1.218 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.8683, allocations: 20.7 kB / 1.218 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007264/0.869, allocations: 76.5 kB / 1.218 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.8692, allocations: 68.3 kB / 1.218 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/0.8693, allocations: 42.38 kB / 1.218 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002761/0.8721, allocations: 2.749 MB / 1.221 GB, free: 380 kB / 0.7917 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8721, allocations: 0 / 1.221 GB, free: 380 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002575/0.8747, allocations: 0.9344 MB / 1.222 GB, free: 15.46 MB / 0.8073 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.002296/0.877, allocations: 0.9858 MB / 1.223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005787/0.8828, allocations: 5.206 MB / 1.228 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8828, allocations: 0 / 1.228 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.8845, allocations: 1.464 MB / 1.229 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.8862, allocations: 292.8 kB / 1.229 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008157/0.8943, allocations: 6.225 MB / 1.236 GB, free: 2.629 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]