Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.833/4.833, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 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.002355/0.002354, allocations: 355.7 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 4.018/4.018, allocations: 410.7 MB / 1.112 GB, free: 5.988 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.001752/0.001752, allocations: 174.4 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005176/0.0005179, allocations: 16 kB / 1.348 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5841/0.5846, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005547/0.5902, allocations: 4.787 MB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1398/0.73, allocations: 140.1 MB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.7313, allocations: 27.88 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004352/0.7357, allocations: 1.436 MB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.7382, allocations: 0.6189 MB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.7407, allocations: 0.7831 MB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00285/0.7436, allocations: 2.885 MB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.7447, allocations: 0.6984 MB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.7461, allocations: 0.8714 MB / 1.609 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.7472, allocations: 0.7703 MB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.7474, allocations: 44 kB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/0.7506, allocations: 1.739 MB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.7517, allocations: 1.181 MB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004176/0.7522, allocations: 317.3 kB / 1.613 GB, free: 128 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003746/0.7559, allocations: 2.674 MB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.756, allocations: 4 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.64e-06/0.756, allocations: 0 / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.822e-05/0.756, allocations: 0 / 1.616 GB, free: 125.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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003567/0.7596, allocations: 2.062 MB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.7597, allocations: 11.62 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009298/0.7606, allocations: 261.5 kB / 1.618 GB, free: 123 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003792/0.7644, allocations: 2.911 MB / 1.621 GB, free: 120 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.083e-05/0.7645, allocations: 106.2 kB / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.7648, allocations: 149.3 kB / 1.621 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.7672, allocations: 1.273 MB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.7673, allocations: 4 kB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.7674, allocations: 51.94 kB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.7675, allocations: 28 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/0.7701, allocations: 1.37 MB / 1.624 GB, free: 117 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00877/0.7788, allocations: 5.078 MB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.781, allocations: 1.11 MB / 1.63 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.7821, allocations: 0.6438 MB / 1.631 GB, free: 110 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-05/0.7822, allocations: 36.75 kB / 1.631 GB, free: 110 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.7835, allocations: 0.7013 MB / 1.631 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=92): time 3.685e-06/0.7835, allocations: 0 / 1.631 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=92): time 0.004112/0.7877, allocations: 2.061 MB / 1.633 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.7879, allocations: 330.2 kB / 1.634 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005715/0.7936, allocations: 4.303 MB / 1.638 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002507/0.7939, allocations: 61.7 kB / 1.638 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000576/0.7945, allocations: 0.6456 MB / 1.639 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.7948, allocations: 319.5 kB / 1.639 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.7949, allocations: 32 kB / 1.639 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.795, allocations: 377.9 kB / 1.639 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003061/0.7981, allocations: 2.73 MB / 1.642 GB, free: 98.36 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003375/0.8015, allocations: 2.944 MB / 1.645 GB, free: 95.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/0.805, allocations: 2.997 MB / 1.648 GB, free: 92.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.8051, allocations: 0 / 1.648 GB, free: 92.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.008076/0.8132, allocations: 6.22 MB / 1.654 GB, free: 86.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.8134, allocations: 145.6 kB / 1.654 GB, free: 85.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.8135, allocations: 4 kB / 1.654 GB, free: 85.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.8135, allocations: 15.94 kB / 1.654 GB, free: 85.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.8152, allocations: 327.5 kB / 1.654 GB, free: 85.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/0.8153, allocations: 11.94 kB / 1.654 GB, free: 85.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.8165, allocations: 191.8 kB / 1.655 GB, free: 85.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.8167, allocations: 75.97 kB / 1.655 GB, free: 85.36 MB / 0.8542 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.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 (189): * Single equations (assignments): 188 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001172/0.8179, allocations: 0.827 MB / 1.655 GB, free: 84.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.8182, allocations: 146.1 kB / 1.656 GB, free: 84.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.8221, allocations: 1.937 MB / 1.657 GB, free: 82.42 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.8221, allocations: 15.98 kB / 1.657 GB, free: 82.41 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.326e-06/0.8222, allocations: 0 / 1.657 GB, free: 82.41 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.8222, allocations: 3.984 kB / 1.657 GB, free: 82.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005783/0.828, allocations: 3.301 MB / 1.661 GB, free: 79.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-06/0.828, allocations: 0 / 1.661 GB, free: 79.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008125/0.8289, allocations: 159.8 kB / 1.661 GB, free: 78.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.8289, allocations: 4 kB / 1.661 GB, free: 78.87 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-05/0.829, allocations: 27.98 kB / 1.661 GB, free: 78.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.273e-06/0.829, allocations: 11.95 kB / 1.661 GB, free: 78.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.829, allocations: 0 / 1.661 GB, free: 78.83 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/0.8324, allocations: 1.865 MB / 1.663 GB, free: 76.94 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000714/0.8331, allocations: 418.7 kB / 1.663 GB, free: 76.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.8334, allocations: 24 kB / 1.663 GB, free: 76.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009005/0.8343, allocations: 71.19 kB / 1.663 GB, free: 76.42 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.8345, allocations: 68.88 kB / 1.663 GB, free: 76.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.8346, allocations: 47.97 kB / 1.663 GB, free: 76.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002907/0.8375, allocations: 2.746 MB / 1.666 GB, free: 73.56 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.011e-06/0.8376, allocations: 0 / 1.666 GB, free: 73.56 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002336/0.8399, allocations: 0.9323 MB / 1.667 GB, free: 72.63 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 (90): * Single equations (assignments): 87 * 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.002837/0.8428, allocations: 0.8757 MB / 1.668 GB, free: 71.94 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005821/0.8486, allocations: 4.895 MB / 1.673 GB, free: 67.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.8487, allocations: 3.938 kB / 1.673 GB, free: 67.03 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.8504, allocations: 1.318 MB / 1.674 GB, free: 65.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.8522, allocations: 296.4 kB / 1.674 GB, free: 65.42 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008218/0.8604, allocations: 6.07 MB / 1.68 GB, free: 59.32 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]