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.TransmittedRadiation.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.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01042/0.01042, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.00108/0.00108, allocations: 176 kB / 16.06 MB, free: 5.832 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.46/3.46, allocations: 389.1 MB / 405.9 MB, free: 13.34 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 4.018/4.018, allocations: 472.3 MB / 0.9018 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004982, allocations: 20 kB / 1.008 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.5559, allocations: 98.7 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005484/0.5615, allocations: 4.638 MB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.7191, allocations: 140.1 MB / 1.245 GB, free: 93.67 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009074/0.7201, allocations: 15.88 kB / 1.245 GB, free: 93.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004066/0.7242, allocations: 1.424 MB / 1.247 GB, free: 92.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.7262, allocations: 0.6118 MB / 1.247 GB, free: 91.62 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.7283, allocations: 0.6728 MB / 1.248 GB, free: 90.96 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.7302, allocations: 2.048 MB / 1.25 GB, free: 88.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009022/0.7311, allocations: 0.6813 MB / 1.251 GB, free: 88.24 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006838/0.7318, allocations: 0.5988 MB / 1.251 GB, free: 87.64 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007831/0.7326, allocations: 0.6416 MB / 1.252 GB, free: 87 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.7328, allocations: 36 kB / 1.252 GB, free: 86.96 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.736, allocations: 1.798 MB / 1.254 GB, free: 85.16 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0007588/0.7367, allocations: 0.9709 MB / 1.255 GB, free: 84.19 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.737, allocations: 288.8 kB / 1.255 GB, free: 83.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.7398, allocations: 2.479 MB / 1.257 GB, free: 81.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.375e-06/0.7398, allocations: 0 / 1.257 GB, free: 81.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.454e-06/0.7398, allocations: 0 / 1.257 GB, free: 81.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.7399, allocations: 0 / 1.257 GB, free: 81.41 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002941/0.7428, allocations: 1.888 MB / 1.259 GB, free: 79.46 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7429, allocations: 12.03 kB / 1.259 GB, free: 79.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.7452, allocations: 389.4 kB / 1.26 GB, free: 79.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/0.7485, allocations: 2.763 MB / 1.262 GB, free: 76.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.942e-05/0.7486, allocations: 94.34 kB / 1.262 GB, free: 76.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.7488, allocations: 124 kB / 1.262 GB, free: 76.03 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.7514, allocations: 1.301 MB / 1.264 GB, free: 74.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.7515, allocations: 0 / 1.264 GB, free: 74.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.7516, allocations: 48.75 kB / 1.264 GB, free: 74.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.7516, allocations: 35.5 kB / 1.264 GB, free: 74.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.7549, allocations: 1.543 MB / 1.265 GB, free: 73.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007301/0.7622, allocations: 4.874 MB / 1.27 GB, free: 68.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.765, allocations: 1.132 MB / 1.271 GB, free: 66.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.7661, allocations: 455.7 kB / 1.272 GB, free: 66.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005975/0.7667, allocations: 482.4 kB / 1.272 GB, free: 65.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.768, allocations: 0.6302 MB / 1.273 GB, free: 65.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=88): time 3.612e-06/0.768, allocations: 3.938 kB / 1.273 GB, free: 65.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88): time 0.004612/0.7726, allocations: 1.629 MB / 1.274 GB, free: 63.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.7727, allocations: 175.2 kB / 1.274 GB, free: 63.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004901/0.7776, allocations: 3.973 MB / 1.278 GB, free: 59.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.7778, allocations: 41.7 kB / 1.278 GB, free: 59.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.7783, allocations: 0.5823 MB / 1.279 GB, free: 58.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.7785, allocations: 299.8 kB / 1.279 GB, free: 58.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/0.7786, allocations: 20 kB / 1.279 GB, free: 58.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.7787, allocations: 353.9 kB / 1.28 GB, free: 58.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/0.7811, allocations: 2.225 MB / 1.282 GB, free: 55.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.7837, allocations: 2.365 MB / 1.284 GB, free: 53.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/0.7862, allocations: 2.339 MB / 1.286 GB, free: 51.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.123e-06/0.7862, allocations: 0 / 1.286 GB, free: 51.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.006085/0.7923, allocations: 5.034 MB / 1.291 GB, free: 46.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.7924, allocations: 63.36 kB / 1.291 GB, free: 46.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7924, allocations: 0 / 1.291 GB, free: 46.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006224/0.7931, allocations: 84.88 kB / 1.291 GB, free: 45.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.7945, allocations: 271.6 kB / 1.292 GB, free: 45.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.7964, allocations: 1.519 MB / 1.293 GB, free: 44.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.7976, allocations: 138.2 kB / 1.293 GB, free: 43.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.7978, allocations: 59.95 kB / 1.293 GB, free: 43.87 MB / 0.7292 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.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 (145): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 2 * 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.0008698/0.7987, allocations: 0.5912 MB / 1.294 GB, free: 43.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.7989, allocations: 122.5 kB / 1.294 GB, free: 43.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/0.8027, allocations: 1.442 MB / 1.295 GB, free: 41.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.8028, allocations: 8 kB / 1.295 GB, free: 41.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.8028, allocations: 0 / 1.295 GB, free: 41.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.8028, allocations: 3.984 kB / 1.295 GB, free: 41.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/0.8081, allocations: 2.649 MB / 1.298 GB, free: 38.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.557e-06/0.8081, allocations: 0 / 1.298 GB, free: 38.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.8092, allocations: 183.7 kB / 1.298 GB, free: 38.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005445/0.8097, allocations: 84.77 kB / 1.298 GB, free: 38.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.072e-05/0.8098, allocations: 31.98 kB / 1.298 GB, free: 38.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.8117, allocations: 1.541 MB / 1.3 GB, free: 37.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.402e-06/0.8117, allocations: 0 / 1.3 GB, free: 37.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.8148, allocations: 1.284 MB / 1.301 GB, free: 35.72 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006243/0.8154, allocations: 379 kB / 1.301 GB, free: 35.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.8156, allocations: 27.98 kB / 1.301 GB, free: 35.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/0.8166, allocations: 71.94 kB / 1.302 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.8168, allocations: 72.89 kB / 1.302 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.8169, allocations: 39.98 kB / 1.302 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002365/0.8193, allocations: 2.544 MB / 1.304 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.96e-07/0.8193, allocations: 0 / 1.304 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001928/0.8212, allocations: 0.8931 MB / 1.305 GB, free: 31.68 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 (98): * Single equations (assignments): 95 * 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.00278/0.824, allocations: 0.9589 MB / 1.306 GB, free: 31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004092/0.8281, allocations: 3.113 MB / 1.309 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.041e-06/0.8282, allocations: 0 / 1.309 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.8296, allocations: 0.6448 MB / 1.31 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.8309, allocations: 241.8 kB / 1.31 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008003/0.839, allocations: 5.553 MB / 1.315 GB, free: 21.39 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]