Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01031/0.01032, allocations: 220.3 kB / 15.17 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00109/0.00109, allocations: 175.6 kB / 16.06 MB, free: 5.871 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.496/3.496, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.949/3.949, allocations: 472.3 MB / 0.9018 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004804, allocations: 15.98 kB / 1.008 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5541/0.5546, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.00561/0.5602, allocations: 4.661 MB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1533/0.7135, allocations: 140.2 MB / 1.246 GB, free: 93.46 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006639/0.7142, allocations: 15.94 kB / 1.246 GB, free: 93.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003948/0.7182, allocations: 1.436 MB / 1.247 GB, free: 92.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.7197, allocations: 0.6181 MB / 1.248 GB, free: 91.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.7217, allocations: 0.7528 MB / 1.248 GB, free: 90.65 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.7239, allocations: 2.877 MB / 1.251 GB, free: 87.77 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008626/0.7247, allocations: 0.6697 MB / 1.252 GB, free: 87.12 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009228/0.7257, allocations: 0.8832 MB / 1.253 GB, free: 86.23 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009253/0.7266, allocations: 0.7899 MB / 1.253 GB, free: 85.44 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.7268, allocations: 51.94 kB / 1.253 GB, free: 85.39 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.7297, allocations: 1.767 MB / 1.255 GB, free: 83.62 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0009172/0.7307, allocations: 1.189 MB / 1.256 GB, free: 82.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.731, allocations: 312.7 kB / 1.257 GB, free: 82.11 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.7336, allocations: 2.678 MB / 1.259 GB, free: 79.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.76e-06/0.7336, allocations: 0 / 1.259 GB, free: 79.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.008e-06/0.7336, allocations: 0 / 1.259 GB, free: 79.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.7336, allocations: 3.938 kB / 1.259 GB, free: 79.43 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.003044/0.7367, allocations: 2.085 MB / 1.261 GB, free: 77.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.7367, allocations: 8.031 kB / 1.261 GB, free: 77.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.7387, allocations: 385.4 kB / 1.262 GB, free: 76.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.7421, allocations: 2.859 MB / 1.264 GB, free: 73.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/0.7422, allocations: 106.2 kB / 1.265 GB, free: 73.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.7424, allocations: 140 kB / 1.265 GB, free: 73.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.745, allocations: 1.329 MB / 1.266 GB, free: 72.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.7451, allocations: 0 / 1.266 GB, free: 72.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.7452, allocations: 52 kB / 1.266 GB, free: 72.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.7452, allocations: 27.94 kB / 1.266 GB, free: 72.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/0.7484, allocations: 1.503 MB / 1.268 GB, free: 70.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008115/0.7565, allocations: 5.137 MB / 1.273 GB, free: 65.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.7593, allocations: 1.252 MB / 1.274 GB, free: 64.31 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.7606, allocations: 0.6985 MB / 1.274 GB, free: 63.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005873/0.7612, allocations: 478.1 kB / 1.275 GB, free: 63.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/0.7627, allocations: 0.7715 MB / 1.276 GB, free: 62.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=92): time 4.874e-06/0.7628, allocations: 0 / 1.276 GB, free: 62.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=92): time 0.004776/0.7675, allocations: 2.193 MB / 1.278 GB, free: 60.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.7677, allocations: 300.5 kB / 1.278 GB, free: 59.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00523/0.773, allocations: 4.26 MB / 1.282 GB, free: 55.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.7732, allocations: 53.7 kB / 1.282 GB, free: 55.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004784/0.7737, allocations: 0.6144 MB / 1.283 GB, free: 54.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.7739, allocations: 315.5 kB / 1.283 GB, free: 54.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.7741, allocations: 32 kB / 1.283 GB, free: 54.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7742, allocations: 377.9 kB / 1.284 GB, free: 54.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003201/0.7774, allocations: 2.792 MB / 1.286 GB, free: 51.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003377/0.7808, allocations: 3.011 MB / 1.289 GB, free: 48.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/0.7844, allocations: 3.098 MB / 1.292 GB, free: 45.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.7844, allocations: 4 kB / 1.292 GB, free: 45.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.007993/0.7924, allocations: 6.52 MB / 1.299 GB, free: 38.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.7926, allocations: 208.9 kB / 1.299 GB, free: 38.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.7926, allocations: 4 kB / 1.299 GB, free: 38.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.7927, allocations: 12 kB / 1.299 GB, free: 38.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.7943, allocations: 351.5 kB / 1.299 GB, free: 37.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.7944, allocations: 12 kB / 1.299 GB, free: 37.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.7956, allocations: 190.2 kB / 1.299 GB, free: 37.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.7958, allocations: 75.97 kB / 1.299 GB, free: 37.67 MB / 0.7292 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.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 3 * 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.001118/0.797, allocations: 0.8154 MB / 1.3 GB, free: 36.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.7972, allocations: 142.2 kB / 1.3 GB, free: 36.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/0.8016, allocations: 2.035 MB / 1.302 GB, free: 34.67 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.8016, allocations: 12 kB / 1.302 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.508e-06/0.8016, allocations: 3.562 kB / 1.302 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.8017, allocations: 3.984 kB / 1.302 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00597/0.8076, allocations: 3.41 MB / 1.306 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.495e-06/0.8077, allocations: 5.188 kB / 1.306 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00093/0.8086, allocations: 167.8 kB / 1.306 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.735e-06/0.8086, allocations: 4 kB / 1.306 GB, free: 31 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.8088, allocations: 31.98 kB / 1.306 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.768e-06/0.8088, allocations: 3.984 kB / 1.306 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.942e-06/0.8088, allocations: 8 kB / 1.306 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003727/0.8125, allocations: 1.935 MB / 1.308 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006808/0.8132, allocations: 434.7 kB / 1.308 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.8135, allocations: 31.98 kB / 1.308 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009914/0.8145, allocations: 75.94 kB / 1.308 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.8147, allocations: 64.91 kB / 1.308 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.8148, allocations: 55.95 kB / 1.308 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002559/0.8174, allocations: 2.706 MB / 1.311 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.628e-06/0.8174, allocations: 0 / 1.311 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002072/0.8195, allocations: 0.9518 MB / 1.312 GB, free: 24.67 MB / 0.7292 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.00281/0.8223, allocations: 0.967 MB / 1.313 GB, free: 23.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005885/0.8282, allocations: 5.121 MB / 1.318 GB, free: 18.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.573e-06/0.8282, allocations: 0 / 1.318 GB, free: 18.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.8302, allocations: 1.352 MB / 1.319 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.8315, allocations: 234.4 kB / 1.32 GB, free: 17.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007745/0.8393, allocations: 6.03 MB / 1.325 GB, free: 11.18 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]