Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [: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.6787/0.6787, allocations: 127.3 MB / 134.6 MB, free: 3.938 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.001037/0.001037, allocations: 173.3 kB / 164.4 MB, free: 6.742 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.611/1.611, allocations: 205.1 MB / 399.1 MB, free: 6.062 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.0009898/0.0009898, allocations: 95.97 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.825e-06/7.845e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1956, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.466/5.661, allocations: 2.147 GB / 2.768 GB, free: 77.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/5.662, allocations: 101.3 kB / 2.768 GB, free: 77.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.1458/5.808, allocations: 64.09 MB / 2.831 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001269/5.808, allocations: 23.94 kB / 2.831 GB, free: 13.24 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003735/5.811, allocations: 1.091 MB / 2.832 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.285e-05/5.812, allocations: 12.03 kB / 2.832 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/5.815, allocations: 366.2 kB / 2.832 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/5.817, allocations: 0.5413 MB / 2.832 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/5.817, allocations: 28 kB / 2.833 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/5.817, allocations: 48 kB / 2.833 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00259/5.82, allocations: 1.046 MB / 2.834 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/5.822, allocations: 0.7681 MB / 2.834 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/5.822, allocations: 0 / 2.834 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/5.822, allocations: 0 / 2.834 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/5.822, allocations: 20 kB / 2.834 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005501/5.827, allocations: 2.38 MB / 2.837 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/5.828, allocations: 0.6726 MB / 2.837 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004179/5.829, allocations: 273.4 kB / 2.838 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007553/5.83, allocations: 466.2 kB / 2.838 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000668/5.83, allocations: 410.9 kB / 2.838 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 5.721e-06/5.83, allocations: 0 / 2.838 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.002674/5.833, allocations: 0.7926 MB / 2.839 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/5.833, allocations: 166.9 kB / 2.839 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/5.834, allocations: 457.3 kB / 2.84 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.872e-05/5.834, allocations: 25.7 kB / 2.84 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/5.834, allocations: 308.2 kB / 2.84 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/5.835, allocations: 228.5 kB / 2.84 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/5.835, allocations: 0 / 2.84 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001443/5.835, allocations: 370.7 kB / 2.841 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/5.835, allocations: 201.3 kB / 2.841 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/5.836, allocations: 279.8 kB / 2.841 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/5.837, allocations: 378.8 kB / 2.842 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/5.837, allocations: 0 / 2.842 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002249/5.839, allocations: 0.8044 MB / 2.842 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/5.839, allocations: 8 kB / 2.842 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/5.839, allocations: 0 / 2.842 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006895/5.84, allocations: 80.84 kB / 2.842 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/5.841, allocations: 159.8 kB / 2.843 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3391/6.18, allocations: 1.444 MB / 2.844 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/6.181, allocations: 68.98 kB / 2.844 GB, free: 261.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/6.181, allocations: 34.25 kB / 2.844 GB, free: 261.1 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 (75): * Single equations (assignments): 74 * 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.0002077/6.181, allocations: 119.7 kB / 2.844 GB, free: 261 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/6.181, allocations: 67.28 kB / 2.844 GB, free: 261 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/6.184, allocations: 1.066 MB / 2.845 GB, free: 261 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/6.184, allocations: 11.47 kB / 2.845 GB, free: 261 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/6.184, allocations: 0 / 2.845 GB, free: 261 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/6.184, allocations: 3.609 kB / 2.845 GB, free: 261 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009764/6.185, allocations: 0.7304 MB / 2.846 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/6.185, allocations: 2.25 kB / 2.846 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007812/6.186, allocations: 162.8 kB / 2.846 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005194/6.186, allocations: 79.2 kB / 2.846 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/6.186, allocations: 18.88 kB / 2.846 GB, free: 260.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/6.188, allocations: 1.471 MB / 2.848 GB, free: 259.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/6.188, allocations: 6.172 kB / 2.848 GB, free: 259.6 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002046/6.19, allocations: 0.8907 MB / 2.849 GB, free: 259.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/6.19, allocations: 273.3 kB / 2.849 GB, free: 259.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/6.191, allocations: 3.938 kB / 2.849 GB, free: 259.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006317/6.191, allocations: 63 kB / 2.849 GB, free: 259.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/6.191, allocations: 45.14 kB / 2.849 GB, free: 259.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/6.191, allocations: 32.58 kB / 2.849 GB, free: 259.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004085/6.192, allocations: 368.8 kB / 2.849 GB, free: 259.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001119/6.193, allocations: 325.7 kB / 2.85 GB, free: 259.2 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 (80): * Single equations (assignments): 77 * 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.001823/6.195, allocations: 1.021 MB / 2.851 GB, free: 259.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00135/6.196, allocations: 0.6637 MB / 2.851 GB, free: 259 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/6.196, allocations: 3.875 kB / 2.851 GB, free: 259 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006671/6.197, allocations: 447.6 kB / 2.852 GB, free: 258.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/6.198, allocations: 173 kB / 2.852 GB, free: 258.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/6.201, allocations: 1.32 MB / 2.853 GB, free: 258.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/6.202, allocations: 1.109 MB / 2.854 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of SimCode: time 8.81e-07/6.202, allocations: 0 / 2.854 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.03085/6.233, allocations: 16.51 MB / 2.87 GB, free: 256.8 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)