Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [: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/BuildSysPro 3.5.0/package.mo): time 0.6904/0.6904, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 181.3 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 399.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001077, allocations: 81.64 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.193e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1998, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.599/5.799, allocations: 2.147 GB / 2.768 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/5.799, allocations: 95.94 kB / 2.768 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.5538/6.353, allocations: 61.2 MB / 2.828 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001058/6.353, allocations: 23.53 kB / 2.828 GB, free: 161.2 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002738/6.356, allocations: 1.091 MB / 2.829 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/6.356, allocations: 11.75 kB / 2.829 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/6.359, allocations: 422.3 kB / 2.829 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/6.36, allocations: 0.5571 MB / 2.83 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/6.36, allocations: 30.44 kB / 2.83 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/6.36, allocations: 50.81 kB / 2.83 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001884/6.362, allocations: 1.05 MB / 2.831 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/6.364, allocations: 0.7693 MB / 2.832 GB, free: 160 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/6.364, allocations: 4 kB / 2.832 GB, free: 160 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/6.364, allocations: 3.938 kB / 2.832 GB, free: 160 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/6.364, allocations: 23.47 kB / 2.832 GB, free: 160 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004666/6.369, allocations: 2.422 MB / 2.834 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/6.37, allocations: 0.7491 MB / 2.835 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/6.371, allocations: 268 kB / 2.835 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006617/6.371, allocations: 473.9 kB / 2.835 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006037/6.372, allocations: 424.6 kB / 2.836 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=74): time 3.686e-06/6.372, allocations: 0 / 2.836 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74): time 0.002241/6.374, allocations: 0.745 MB / 2.837 GB, free: 158.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/6.374, allocations: 166.2 kB / 2.837 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/6.375, allocations: 446.1 kB / 2.837 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.65e-05/6.375, allocations: 25.7 kB / 2.837 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/6.375, allocations: 311.8 kB / 2.838 GB, free: 158 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/6.376, allocations: 234.9 kB / 2.838 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/6.376, allocations: 0 / 2.838 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001248/6.376, allocations: 365.7 kB / 2.838 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/6.376, allocations: 210 kB / 2.838 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/6.376, allocations: 284.3 kB / 2.839 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008167/6.377, allocations: 327.3 kB / 2.839 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/6.377, allocations: 0 / 2.839 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001952/6.379, allocations: 0.7438 MB / 2.84 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/6.379, allocations: 7.812 kB / 2.84 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/6.379, allocations: 0 / 2.84 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00068/6.38, allocations: 91.83 kB / 2.84 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/6.381, allocations: 165.3 kB / 2.84 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/6.383, allocations: 1.451 MB / 2.841 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009354/6.384, allocations: 85.89 kB / 2.841 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/6.384, allocations: 23.64 kB / 2.841 GB, free: 156 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0002772/6.385, allocations: 118.6 kB / 2.842 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/6.385, allocations: 72.45 kB / 2.842 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/6.388, allocations: 1.037 MB / 2.843 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/6.388, allocations: 8.844 kB / 2.843 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/6.388, allocations: 0 / 2.843 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/6.388, allocations: 7.734 kB / 2.843 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/6.39, allocations: 0.7468 MB / 2.843 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/6.39, allocations: 0 / 2.843 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000908/6.391, allocations: 178 kB / 2.844 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005559/6.391, allocations: 80 kB / 2.844 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.785e-05/6.391, allocations: 14.3 kB / 2.844 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/6.393, allocations: 1.471 MB / 2.845 GB, free: 154.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/6.393, allocations: 11.98 kB / 2.845 GB, free: 154.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002136/6.395, allocations: 0.8393 MB / 2.846 GB, free: 154.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/6.396, allocations: 271.5 kB / 2.846 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/6.396, allocations: 7.953 kB / 2.846 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008078/6.397, allocations: 73.34 kB / 2.846 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/6.397, allocations: 42.88 kB / 2.846 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.155e-05/6.397, allocations: 32.95 kB / 2.846 GB, free: 154 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005413/6.398, allocations: 364.2 kB / 2.847 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001298/6.399, allocations: 329.1 kB / 2.847 GB, free: 153.8 MB / 0.6355 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.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.002308/6.401, allocations: 1.031 MB / 2.848 GB, free: 153.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001532/6.403, allocations: 0.687 MB / 2.849 GB, free: 153.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/6.403, allocations: 0 / 2.849 GB, free: 153.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007244/6.404, allocations: 456 kB / 2.849 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009002/6.405, allocations: 176.2 kB / 2.849 GB, free: 153.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/6.409, allocations: 1.322 MB / 2.851 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/6.41, allocations: 1.111 MB / 2.852 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/6.41, allocations: 0 / 2.852 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.03263/6.443, allocations: 16.88 MB / 2.868 GB, free: 143.9 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)