Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.995/4.995, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002449/0.002449, allocations: 352.5 kB / 0.644 GB, free: 185.7 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.973/3.973, allocations: 410.7 MB / 1.112 GB, free: 6.012 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.001764/0.001764, allocations: 183.6 kB / 1.225 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005747/0.0005749, allocations: 12.22 kB / 1.348 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5809/0.5815, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005331/0.5869, allocations: 4.753 MB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1381/0.725, allocations: 140 MB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.7262, allocations: 23.88 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004128/0.7303, allocations: 1.434 MB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.7326, allocations: 0.6211 MB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.7349, allocations: 0.6809 MB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002281/0.7372, allocations: 2.045 MB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.7384, allocations: 0.7235 MB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009127/0.7393, allocations: 0.5792 MB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008288/0.7401, allocations: 0.6259 MB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.7403, allocations: 32 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/0.7435, allocations: 1.755 MB / 1.61 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008747/0.7444, allocations: 0.9825 MB / 1.611 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.7448, allocations: 280.8 kB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003526/0.7483, allocations: 2.471 MB / 1.614 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.066e-06/0.7483, allocations: 0 / 1.614 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.247e-06/0.7484, allocations: 4 kB / 1.614 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.098e-05/0.7484, allocations: 0 / 1.614 GB, free: 127.4 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.003362/0.7518, allocations: 1.881 MB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.7518, allocations: 11.62 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.7531, allocations: 265.6 kB / 1.616 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.7569, allocations: 2.814 MB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.082e-05/0.757, allocations: 90.36 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.7572, allocations: 130.1 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.7597, allocations: 1.244 MB / 1.62 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.7597, allocations: 0 / 1.62 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.7599, allocations: 48 kB / 1.62 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.7599, allocations: 28 kB / 1.62 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.7626, allocations: 1.414 MB / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007998/0.7707, allocations: 4.808 MB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.7729, allocations: 1.001 MB / 1.627 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007938/0.7737, allocations: 411.7 kB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.752e-05/0.7738, allocations: 36.98 kB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.7749, allocations: 0.5591 MB / 1.628 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=88): time 4.152e-06/0.7749, allocations: 0 / 1.628 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=88): time 0.00395/0.7789, allocations: 1.485 MB / 1.63 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.779, allocations: 188.9 kB / 1.63 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005352/0.7844, allocations: 4.019 MB / 1.634 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.7846, allocations: 45.7 kB / 1.634 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.7851, allocations: 0.6213 MB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.7854, allocations: 295.7 kB / 1.635 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.7855, allocations: 24 kB / 1.635 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.7856, allocations: 349.9 kB / 1.635 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.7879, allocations: 2.166 MB / 1.637 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.7903, allocations: 2.305 MB / 1.64 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.7927, allocations: 2.235 MB / 1.642 GB, free: 98.54 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.342e-06/0.7927, allocations: 4 kB / 1.642 GB, free: 98.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.005817/0.7985, allocations: 4.804 MB / 1.647 GB, free: 93.72 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.7986, allocations: 4 kB / 1.647 GB, free: 93.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.7986, allocations: 4 kB / 1.647 GB, free: 93.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.7993, allocations: 88.86 kB / 1.647 GB, free: 93.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.8006, allocations: 255.6 kB / 1.647 GB, free: 93.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.8027, allocations: 1.526 MB / 1.648 GB, free: 91.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.8038, allocations: 130.9 kB / 1.648 GB, free: 91.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.804, allocations: 59.95 kB / 1.649 GB, free: 91.53 MB / 0.8542 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.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 (143): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * 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.0009037/0.8049, allocations: 0.5934 MB / 1.649 GB, free: 90.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.8051, allocations: 126.3 kB / 1.649 GB, free: 90.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/0.8085, allocations: 1.347 MB / 1.651 GB, free: 89.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.8086, allocations: 12 kB / 1.651 GB, free: 89.42 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.782e-06/0.8086, allocations: 0 / 1.651 GB, free: 89.42 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.8086, allocations: 7.969 kB / 1.651 GB, free: 89.41 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005025/0.8136, allocations: 2.54 MB / 1.653 GB, free: 86.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.926e-06/0.8137, allocations: 0 / 1.653 GB, free: 86.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009119/0.8146, allocations: 175.8 kB / 1.653 GB, free: 86.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.8152, allocations: 84.78 kB / 1.653 GB, free: 86.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.852e-05/0.8153, allocations: 27.97 kB / 1.653 GB, free: 86.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.8172, allocations: 1.548 MB / 1.655 GB, free: 84.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.613e-06/0.8172, allocations: 0 / 1.655 GB, free: 84.85 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.82, allocations: 1.196 MB / 1.656 GB, free: 83.63 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006742/0.8207, allocations: 370.9 kB / 1.656 GB, free: 83.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.8209, allocations: 23.95 kB / 1.656 GB, free: 83.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008456/0.8218, allocations: 63.95 kB / 1.656 GB, free: 83.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.822, allocations: 72.89 kB / 1.657 GB, free: 83.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-05/0.8221, allocations: 43.92 kB / 1.657 GB, free: 83.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002579/0.8247, allocations: 2.577 MB / 1.659 GB, free: 80.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.35e-07/0.8247, allocations: 4 kB / 1.659 GB, free: 80.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002081/0.8268, allocations: 0.8619 MB / 1.66 GB, free: 79.6 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 (102): * Single equations (assignments): 99 * 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.002701/0.8295, allocations: 0.8825 MB / 1.661 GB, free: 78.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003752/0.8333, allocations: 2.891 MB / 1.664 GB, free: 76.01 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.871e-06/0.8334, allocations: 0 / 1.664 GB, free: 76.01 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.8347, allocations: 0.6096 MB / 1.664 GB, free: 75.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.8364, allocations: 307 kB / 1.665 GB, free: 75.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008356/0.8447, allocations: 5.577 MB / 1.67 GB, free: 69.49 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]