Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.0009691/0.0009691, allocations: 185 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4288/0.4288, allocations: 90.86 MB / 99.08 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.141/1.141, allocations: 221.4 MB / 342.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009123/0.0009123, allocations: 94.62 kB / 415.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.081e-06, allocations: 0 / 493.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3297, allocations: 72.31 MB / 0.5529 GB, free: 73.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.504/3.834, allocations: 1.684 GB / 2.237 GB, free: 145 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/3.834, allocations: 87.95 kB / 2.237 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.149/3.983, allocations: 65.94 MB / 2.302 GB, free: 78.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001106/3.984, allocations: 23.94 kB / 2.302 GB, free: 78.91 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002837/3.986, allocations: 1.161 MB / 2.303 GB, free: 77.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/3.987, allocations: 8.031 kB / 2.303 GB, free: 77.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/3.988, allocations: 318.2 kB / 2.303 GB, free: 77.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/3.99, allocations: 0.6425 MB / 2.304 GB, free: 76.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/3.99, allocations: 32 kB / 2.304 GB, free: 76.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/3.99, allocations: 48 kB / 2.304 GB, free: 76.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001683/3.992, allocations: 1.054 MB / 2.305 GB, free: 75.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/3.993, allocations: 0.8044 MB / 2.306 GB, free: 74.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/3.993, allocations: 0 / 2.306 GB, free: 74.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/3.993, allocations: 4 kB / 2.306 GB, free: 74.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/3.993, allocations: 24 kB / 2.306 GB, free: 74.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/3.998, allocations: 2.433 MB / 2.308 GB, free: 72.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/4, allocations: 0.8116 MB / 2.309 GB, free: 71.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/4, allocations: 258.8 kB / 2.309 GB, free: 71.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.544e-05/4, allocations: 32.67 kB / 2.309 GB, free: 71.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005182/4.001, allocations: 398 kB / 2.309 GB, free: 70.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=75): time 3.447e-06/4.001, allocations: 0 / 2.309 GB, free: 70.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75): time 0.001633/4.002, allocations: 0.6652 MB / 2.31 GB, free: 69.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/4.002, allocations: 251.9 kB / 2.31 GB, free: 69.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006492/4.003, allocations: 0.4905 MB / 2.311 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/4.003, allocations: 29.7 kB / 2.311 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/4.003, allocations: 332 kB / 2.311 GB, free: 68.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/4.004, allocations: 240.4 kB / 2.311 GB, free: 68.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/4.004, allocations: 0 / 2.311 GB, free: 68.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001051/4.004, allocations: 374.8 kB / 2.312 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/4.004, allocations: 201.3 kB / 2.312 GB, free: 68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/4.004, allocations: 306.4 kB / 2.312 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/4.005, allocations: 251 kB / 2.312 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/4.005, allocations: 0 / 2.312 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001454/4.006, allocations: 0.6717 MB / 2.313 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/4.006, allocations: 5.406 kB / 2.313 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/4.006, allocations: 4.688 kB / 2.313 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000646/4.007, allocations: 92.81 kB / 2.313 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/4.008, allocations: 163.8 kB / 2.313 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/4.009, allocations: 1.441 MB / 2.315 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/4.01, allocations: 91.58 kB / 2.315 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/4.01, allocations: 27.98 kB / 2.315 GB, free: 64.8 MB / 0.6042 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.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 (77): * Single equations (assignments): 76 * 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.000173/4.01, allocations: 116.9 kB / 2.315 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/4.011, allocations: 71.06 kB / 2.315 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/4.013, allocations: 0.9653 MB / 2.316 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/4.013, allocations: 8 kB / 2.316 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/4.013, allocations: 8 kB / 2.316 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/4.013, allocations: 3.984 kB / 2.316 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/4.016, allocations: 1.774 MB / 2.318 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/4.016, allocations: 0 / 2.318 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/4.016, allocations: 167.8 kB / 2.318 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005137/4.017, allocations: 92.72 kB / 2.318 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-05/4.017, allocations: 11.98 kB / 2.318 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/4.019, allocations: 1.485 MB / 2.319 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/4.019, allocations: 0 / 2.319 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001472/4.02, allocations: 0.8479 MB / 2.32 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/4.02, allocations: 279.8 kB / 2.321 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/4.021, allocations: 7.891 kB / 2.321 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007739/4.021, allocations: 75.94 kB / 2.321 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/4.022, allocations: 56.69 kB / 2.321 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/4.022, allocations: 29.11 kB / 2.321 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004778/4.022, allocations: 402.9 kB / 2.321 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001292/4.023, allocations: 354.9 kB / 2.321 GB, free: 57.87 MB / 0.6042 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 (88): * Single equations (assignments): 85 * 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.002187/4.026, allocations: 1.061 MB / 2.322 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001372/4.027, allocations: 0.6741 MB / 2.323 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/4.027, allocations: 0 / 2.323 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007041/4.028, allocations: 468.7 kB / 2.324 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/4.029, allocations: 208.1 kB / 2.324 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/4.033, allocations: 1.411 MB / 2.325 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008277/4.034, allocations: 1.158 MB / 2.326 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of SimCode: time 6.12e-07/4.034, allocations: 0 / 2.326 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.02797/4.061, allocations: 17.38 MB / 2.343 GB, free: 35.63 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)