Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6996/0.6996, allocations: 141.8 MB / 149.1 MB, free: 11.68 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 189.1 kB / 181.9 MB, free: 8.453 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 221.4 MB / 436 MB, free: 0.793 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009715/0.0009716, allocations: 95.41 kB / 0.507 GB, free: 17.78 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 280.1 kB / 0.5884 GB, free: 2.527 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.067e-06, allocations: 1.062 kB / 0.6759 GB, free: 136.4 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 82.78 MB / 0.7567 GB, free: 81.18 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.015/4.216, allocations: 1.693 GB / 2.449 GB, free: 127.8 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/4.217, allocations: 99.75 kB / 2.449 GB, free: 127.7 MB / 0.7138 GB Notification: Performance of FrontEnd: time 0.1606/4.377, allocations: 70.28 MB / 2.518 GB, free: 57.19 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001405/4.377, allocations: 24 kB / 2.518 GB, free: 57.17 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.00378/4.381, allocations: 1.31 MB / 2.519 GB, free: 55.8 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/4.381, allocations: 8.031 kB / 2.519 GB, free: 55.79 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/4.386, allocations: 0.7671 MB / 2.52 GB, free: 55.02 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/4.388, allocations: 0.6775 MB / 2.521 GB, free: 54.3 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/4.388, allocations: 39.91 kB / 2.521 GB, free: 54.26 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/4.388, allocations: 64 kB / 2.521 GB, free: 54.2 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002675/4.391, allocations: 1.421 MB / 2.522 GB, free: 52.77 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/4.393, allocations: 1.028 MB / 2.523 GB, free: 51.68 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/4.393, allocations: 0 / 2.523 GB, free: 51.68 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/4.393, allocations: 4 kB / 2.523 GB, free: 51.68 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/4.394, allocations: 24 kB / 2.523 GB, free: 51.66 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007541/4.401, allocations: 2.953 MB / 2.526 GB, free: 48.65 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/4.403, allocations: 0.9889 MB / 2.527 GB, free: 47.63 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006666/4.404, allocations: 431.8 kB / 2.527 GB, free: 47.21 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006669/4.404, allocations: 482.2 kB / 2.528 GB, free: 46.65 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008216/4.405, allocations: 0.5688 MB / 2.528 GB, free: 46.05 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=100): time 4.629e-06/4.405, allocations: 0 / 2.528 GB, free: 46.05 MB / 0.7138 GB Notification: Performance of matching and sorting (n=100): time 0.00254/4.408, allocations: 1.003 MB / 2.529 GB, free: 45.04 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/4.408, allocations: 240.3 kB / 2.53 GB, free: 44.75 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/4.409, allocations: 0.4984 MB / 2.53 GB, free: 44.25 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/4.409, allocations: 29.7 kB / 2.53 GB, free: 44.21 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/4.409, allocations: 344.3 kB / 2.531 GB, free: 43.87 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/4.409, allocations: 323.1 kB / 2.531 GB, free: 43.55 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/4.409, allocations: 0 / 2.531 GB, free: 43.55 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.000113/4.409, allocations: 378.8 kB / 2.531 GB, free: 43.17 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/4.41, allocations: 321.9 kB / 2.532 GB, free: 42.86 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/4.41, allocations: 434.4 kB / 2.532 GB, free: 42.4 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/4.411, allocations: 434.7 kB / 2.532 GB, free: 41.98 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/4.411, allocations: 0 / 2.532 GB, free: 41.98 MB / 0.7138 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002258/4.414, allocations: 1.011 MB / 2.533 GB, free: 40.95 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/4.414, allocations: 4 kB / 2.533 GB, free: 40.95 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/4.414, allocations: 0 / 2.533 GB, free: 40.95 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/4.414, allocations: 84.86 kB / 2.533 GB, free: 40.86 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/4.416, allocations: 259.6 kB / 2.534 GB, free: 40.61 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/4.418, allocations: 1.446 MB / 2.535 GB, free: 39.04 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/4.419, allocations: 139.3 kB / 2.535 GB, free: 38.91 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/4.419, allocations: 35.97 kB / 2.535 GB, free: 38.87 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0002767/4.419, allocations: 128 kB / 2.535 GB, free: 38.74 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/4.42, allocations: 86.97 kB / 2.535 GB, free: 38.66 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/4.423, allocations: 1.368 MB / 2.537 GB, free: 37.27 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/4.423, allocations: 8 kB / 2.537 GB, free: 37.27 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/4.423, allocations: 4 kB / 2.537 GB, free: 37.26 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/4.423, allocations: 7.969 kB / 2.537 GB, free: 37.25 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004837/4.428, allocations: 2.346 MB / 2.539 GB, free: 34.86 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/4.428, allocations: 0 / 2.539 GB, free: 34.86 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/4.429, allocations: 255.6 kB / 2.539 GB, free: 34.61 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005412/4.43, allocations: 84.77 kB / 2.539 GB, free: 34.52 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/4.43, allocations: 27.89 kB / 2.539 GB, free: 34.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/4.432, allocations: 1.472 MB / 2.541 GB, free: 32.9 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/4.432, allocations: 3.938 kB / 2.541 GB, free: 32.89 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002729/4.435, allocations: 1.189 MB / 2.542 GB, free: 31.69 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007013/4.435, allocations: 315.6 kB / 2.542 GB, free: 31.36 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/4.436, allocations: 8 kB / 2.542 GB, free: 31.35 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/4.437, allocations: 111.9 kB / 2.542 GB, free: 31.24 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/4.437, allocations: 60.91 kB / 2.543 GB, free: 31.18 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/4.437, allocations: 51.81 kB / 2.543 GB, free: 31.13 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0006243/4.438, allocations: 410.9 kB / 2.543 GB, free: 30.73 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001741/4.44, allocations: 398.9 kB / 2.543 GB, free: 30.34 MB / 0.7138 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 110 * 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.002474/4.442, allocations: 1.086 MB / 2.544 GB, free: 29.36 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.001923/4.444, allocations: 0.9751 MB / 2.545 GB, free: 28.38 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/4.444, allocations: 0 / 2.545 GB, free: 28.38 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/4.445, allocations: 0.6185 MB / 2.546 GB, free: 27.75 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/4.447, allocations: 221.4 kB / 2.546 GB, free: 27.54 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/4.452, allocations: 1.619 MB / 2.548 GB, free: 25.89 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/4.453, allocations: 1.214 MB / 2.549 GB, free: 24.65 MB / 0.7138 GB Notification: Performance of SimCode: time 1.213e-06/4.453, allocations: 0 / 2.549 GB, free: 24.65 MB / 0.7138 GB Notification: Performance of Templates: time 0.03578/4.489, allocations: 21.32 MB / 2.57 GB, free: 3.41 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)