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.WindowRadiation.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.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01035/0.01035, 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.001067/0.001067, 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.508/3.508, 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 3.996/3.996, 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: 16 kB / 1.008 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5525/0.5531, allocations: 98.7 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.006692/0.5598, allocations: 5.747 MB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1567/0.7165, allocations: 141.1 MB / 1.247 GB, free: 91.55 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.7179, allocations: 27.81 kB / 1.247 GB, free: 91.53 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004508/0.7225, allocations: 1.536 MB / 1.249 GB, free: 89.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002937/0.7254, allocations: 0.9427 MB / 1.25 GB, free: 89.05 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.7284, allocations: 0.9803 MB / 1.251 GB, free: 88.08 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003906/0.7324, allocations: 4.486 MB / 1.255 GB, free: 83.59 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.7336, allocations: 0.859 MB / 1.256 GB, free: 82.76 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.7354, allocations: 1.241 MB / 1.257 GB, free: 81.51 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.7368, allocations: 1.183 MB / 1.258 GB, free: 80.32 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.737, allocations: 64 kB / 1.258 GB, free: 80.26 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.7405, allocations: 1.814 MB / 1.26 GB, free: 78.45 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.7426, allocations: 2.641 MB / 1.263 GB, free: 75.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005258/0.7431, allocations: 436.4 kB / 1.263 GB, free: 75.37 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004213/0.7473, allocations: 3.628 MB / 1.267 GB, free: 71.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.55e-06/0.7474, allocations: 0 / 1.267 GB, free: 71.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.477e-06/0.7474, allocations: 0 / 1.267 GB, free: 71.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.685e-05/0.7474, allocations: 7.938 kB / 1.267 GB, free: 71.72 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: 359 * Number of variables: 359 Notification: Performance of Generate backend data structure: time 0.004193/0.7516, allocations: 2.709 MB / 1.269 GB, free: 68.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.7517, allocations: 12.03 kB / 1.269 GB, free: 68.92 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.7542, allocations: 484.3 kB / 1.27 GB, free: 68.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008039/0.7622, allocations: 7.253 MB / 1.277 GB, free: 61.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.7624, allocations: 126.7 kB / 1.277 GB, free: 60.99 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.7627, allocations: 176 kB / 1.277 GB, free: 60.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003248/0.7659, allocations: 1.728 MB / 1.279 GB, free: 59.01 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.766, allocations: 3.938 kB / 1.279 GB, free: 59.01 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.7662, allocations: 60 kB / 1.279 GB, free: 58.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.7662, allocations: 39.95 kB / 1.279 GB, free: 58.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003758/0.77, allocations: 1.86 MB / 1.281 GB, free: 57.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.7828, allocations: 9.889 MB / 1.291 GB, free: 47.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003514/0.7863, allocations: 1.577 MB / 1.292 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.7879, allocations: 0.8663 MB / 1.293 GB, free: 44.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/0.7885, allocations: 474.5 kB / 1.293 GB, free: 44.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/0.7903, allocations: 1.013 MB / 1.294 GB, free: 43.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 4.842e-06/0.7903, allocations: 0 / 1.294 GB, free: 43.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=105): time 0.006899/0.7972, allocations: 2.924 MB / 1.297 GB, free: 40.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/0.7974, allocations: 312.8 kB / 1.298 GB, free: 39.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01626/0.8137, allocations: 11.46 MB / 1.309 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003338/0.8141, allocations: 61.7 kB / 1.309 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008391/0.815, allocations: 0.8933 MB / 1.31 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.8153, allocations: 362.9 kB / 1.31 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.8155, allocations: 44 kB / 1.31 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8156, allocations: 394.3 kB / 1.31 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006522/0.8222, allocations: 6.905 MB / 1.317 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006955/0.8292, allocations: 7.23 MB / 1.324 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006975/0.8362, allocations: 7.26 MB / 1.331 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.8362, allocations: 4 kB / 1.331 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01925/0.8555, allocations: 15.03 MB / 1.346 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002914/0.8558, allocations: 221 kB / 1.346 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.8559, allocations: 8 kB / 1.346 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007149/0.8566, allocations: 96.8 kB / 1.346 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/0.8592, allocations: 487.2 kB / 1.347 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.8618, allocations: 1.528 MB / 1.348 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.8638, allocations: 241.7 kB / 1.348 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/0.8642, allocations: 111.9 kB / 1.349 GB, free: 3.043 MB / 0.7448 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.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 (265): * Single equations (assignments): 261 * 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: 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.002388/0.8666, allocations: 1.53 MB / 1.35 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003906/0.867, allocations: 189.5 kB / 1.35 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006684/0.8737, allocations: 2.553 MB / 1.353 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.8737, allocations: 12 kB / 1.353 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.564e-06/0.8737, allocations: 3.953 kB / 1.353 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.8737, allocations: 3.984 kB / 1.353 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009636/0.8834, allocations: 4.371 MB / 1.357 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.194e-06/0.8834, allocations: 6.531 kB / 1.357 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.8846, allocations: 183.8 kB / 1.357 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005906/0.8852, allocations: 84.77 kB / 1.357 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.8853, allocations: 39.97 kB / 1.357 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.8877, allocations: 1.544 MB / 1.359 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8877, allocations: 2.656 kB / 1.359 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/0.8937, allocations: 2.424 MB / 1.361 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.8949, allocations: 0.5448 MB / 1.362 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/0.8952, allocations: 31.89 kB / 1.362 GB, free: 5.258 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.8965, allocations: 87.86 kB / 1.362 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.8967, allocations: 80.89 kB / 1.362 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/0.8969, allocations: 55.97 kB / 1.362 GB, free: 5.039 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.4411/1.338, allocations: 7.17 MB / 1.369 GB, free: 232.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.18e-07/1.338, allocations: 0 / 1.369 GB, free: 232.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003118/1.341, allocations: 1.107 MB / 1.37 GB, free: 232.4 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.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 (100): * Single equations (assignments): 96 * 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.002969/1.344, allocations: 0.9585 MB / 1.371 GB, free: 232.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01276/1.357, allocations: 9.677 MB / 1.38 GB, free: 229 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.257e-06/1.357, allocations: 0.6562 kB / 1.38 GB, free: 229 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003022/1.36, allocations: 1.718 MB / 1.382 GB, free: 228.3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/1.362, allocations: 318.7 kB / 1.382 GB, free: 228.2 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/1.381, allocations: 12.39 MB / 1.395 GB, free: 223.4 MB / 0.7605 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]