Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.862/4.862, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002371/0.00237, allocations: 351.9 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.949/3.949, allocations: 410.7 MB / 1.112 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001838/0.001838, allocations: 180.4 kB / 1.225 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004926, allocations: 16 kB / 1.348 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6517/0.6523, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.006558/0.6589, allocations: 5.858 MB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1433/0.8022, allocations: 141 MB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.8038, allocations: 31.81 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004596/0.8084, allocations: 1.536 MB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.8116, allocations: 0.9577 MB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.8151, allocations: 1.007 MB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004458/0.8195, allocations: 4.487 MB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.8211, allocations: 0.8826 MB / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.8232, allocations: 1.225 MB / 1.614 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.8251, allocations: 1.167 MB / 1.615 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003803/0.8255, allocations: 64 kB / 1.615 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003571/0.8291, allocations: 1.778 MB / 1.617 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002447/0.8316, allocations: 2.649 MB / 1.62 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000711/0.8323, allocations: 436.8 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004949/0.8373, allocations: 3.628 MB / 1.624 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.716e-06/0.8373, allocations: 0 / 1.624 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.522e-06/0.8373, allocations: 4 kB / 1.624 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.461e-05/0.8374, allocations: 0 / 1.624 GB, free: 117.6 MB / 0.8542 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.005053/0.8425, allocations: 2.695 MB / 1.626 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.8425, allocations: 15.56 kB / 1.626 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.8441, allocations: 364.4 kB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008586/0.8527, allocations: 7.277 MB / 1.634 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.8529, allocations: 130.7 kB / 1.634 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.8532, allocations: 183 kB / 1.634 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003252/0.8565, allocations: 1.679 MB / 1.636 GB, free: 105 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.8566, allocations: 3.984 kB / 1.636 GB, free: 105 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.8567, allocations: 60 kB / 1.636 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.8568, allocations: 32 kB / 1.636 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/0.8602, allocations: 1.727 MB / 1.637 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.8748, allocations: 9.834 MB / 1.647 GB, free: 93.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.8778, allocations: 1.449 MB / 1.648 GB, free: 91.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.8792, allocations: 0.8159 MB / 1.649 GB, free: 90.98 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.8794, allocations: 41.05 kB / 1.649 GB, free: 90.94 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001611/0.881, allocations: 0.9301 MB / 1.65 GB, free: 90 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=105): time 4.681e-06/0.881, allocations: 0 / 1.65 GB, free: 90 MB / 0.8542 GB Notification: Performance of matching and sorting (n=105): time 0.006367/0.8874, allocations: 2.772 MB / 1.653 GB, free: 87.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001937/0.8876, allocations: 342.5 kB / 1.653 GB, free: 86.81 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01669/0.9044, allocations: 11.51 MB / 1.664 GB, free: 75.26 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003318/0.9047, allocations: 61.7 kB / 1.664 GB, free: 75.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009972/0.9057, allocations: 0.9289 MB / 1.665 GB, free: 74.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/0.9062, allocations: 362.9 kB / 1.666 GB, free: 73.89 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.9064, allocations: 44 kB / 1.666 GB, free: 73.85 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.9066, allocations: 394.3 kB / 1.666 GB, free: 73.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006546/0.9132, allocations: 6.838 MB / 1.673 GB, free: 66.62 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007074/0.9203, allocations: 7.163 MB / 1.68 GB, free: 59.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006961/0.9273, allocations: 7.156 MB / 1.687 GB, free: 52.19 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/0.9274, allocations: 4 kB / 1.687 GB, free: 52.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01604/0.9434, allocations: 14.74 MB / 1.701 GB, free: 37.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.9437, allocations: 173.6 kB / 1.701 GB, free: 37.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.9437, allocations: 4 kB / 1.701 GB, free: 37.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006614/0.9444, allocations: 96.77 kB / 1.701 GB, free: 37.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/0.9468, allocations: 467.3 kB / 1.702 GB, free: 36.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.9489, allocations: 1.536 MB / 1.703 GB, free: 35.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.9509, allocations: 225.6 kB / 1.704 GB, free: 34.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004255/0.9514, allocations: 115.9 kB / 1.704 GB, free: 34.69 MB / 0.8542 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.002064/0.9535, allocations: 1.534 MB / 1.705 GB, free: 33.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/0.9539, allocations: 197.4 kB / 1.705 GB, free: 32.94 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005343/0.9593, allocations: 2.449 MB / 1.708 GB, free: 30.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.9593, allocations: 12 kB / 1.708 GB, free: 30.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-06/0.9594, allocations: 0 / 1.708 GB, free: 30.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.9594, allocations: 11.94 kB / 1.708 GB, free: 30.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008509/0.9679, allocations: 4.277 MB / 1.712 GB, free: 26.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.968, allocations: 0 / 1.712 GB, free: 26.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009532/0.9689, allocations: 171.8 kB / 1.712 GB, free: 25.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005779/0.9695, allocations: 88.72 kB / 1.712 GB, free: 25.85 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.9697, allocations: 35.97 kB / 1.712 GB, free: 25.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.9719, allocations: 1.544 MB / 1.714 GB, free: 24.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.305e-06/0.972, allocations: 0 / 1.714 GB, free: 24.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/0.9767, allocations: 2.358 MB / 1.716 GB, free: 21.74 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.9779, allocations: 0.5291 MB / 1.717 GB, free: 21.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/0.9783, allocations: 24 kB / 1.717 GB, free: 21.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.9794, allocations: 78.12 kB / 1.717 GB, free: 21.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.9796, allocations: 76.89 kB / 1.717 GB, free: 21.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.9798, allocations: 59.95 kB / 1.717 GB, free: 20.96 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006881/0.9867, allocations: 7.22 MB / 1.724 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.092e-06/0.9867, allocations: 0 / 1.724 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002877/0.9896, allocations: 1.08 MB / 1.725 GB, free: 12.64 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.002911/0.9926, allocations: 0.8839 MB / 1.726 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009754/1.002, allocations: 9.46 MB / 1.735 GB, free: 2.469 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.998e-06/1.002, allocations: 3.984 kB / 1.735 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002419/1.005, allocations: 1.668 MB / 1.737 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/1.007, allocations: 392 kB / 1.737 GB, free: 408 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6024/1.609, allocations: 12.42 MB / 1.749 GB, free: 268.1 MB / 0.8542 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]