Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7086/0.7086, allocations: 141.8 MB / 149.1 MB, free: 12.73 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.001015/0.001015, allocations: 177.8 kB / 182 MB, free: 9.465 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.17/1.17, allocations: 221.3 MB / 436 MB, free: 1.871 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.0009143/0.0009144, allocations: 104.9 kB / 0.507 GB, free: 10.66 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 288.8 kB / 0.5885 GB, free: 7.496 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.951e-06, allocations: 0 / 0.6759 GB, free: 13.86 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3641, allocations: 82.77 MB / 0.7567 GB, free: 138.7 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.607/3.971, allocations: 1.691 GB / 2.448 GB, free: 76.69 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/3.971, allocations: 103 kB / 2.448 GB, free: 76.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.1466/4.118, allocations: 65.94 MB / 2.512 GB, free: 10.5 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0002157/4.118, allocations: 27.92 kB / 2.512 GB, free: 10.47 MB / 0.6982 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.003982/4.122, allocations: 1.153 MB / 2.513 GB, free: 9.266 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/4.122, allocations: 12.03 kB / 2.514 GB, free: 9.254 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/4.124, allocations: 322.2 kB / 2.514 GB, free: 8.938 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/4.126, allocations: 0.6347 MB / 2.514 GB, free: 8.258 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/4.126, allocations: 31.94 kB / 2.514 GB, free: 8.227 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/4.126, allocations: 52 kB / 2.515 GB, free: 8.176 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001894/4.128, allocations: 1.058 MB / 2.516 GB, free: 7.117 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/4.13, allocations: 0.8082 MB / 2.516 GB, free: 6.27 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/4.13, allocations: 0 / 2.516 GB, free: 6.27 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/4.13, allocations: 0 / 2.516 GB, free: 6.27 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/4.13, allocations: 24 kB / 2.516 GB, free: 6.246 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004773/4.134, allocations: 2.447 MB / 2.519 GB, free: 3.746 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/4.136, allocations: 0.8038 MB / 2.52 GB, free: 2.91 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/4.137, allocations: 262.8 kB / 2.52 GB, free: 2.652 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 8.709e-05/4.137, allocations: 36.67 kB / 2.52 GB, free: 2.617 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004982/4.137, allocations: 398 kB / 2.52 GB, free: 2.207 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=75): time 1.894e-06/4.137, allocations: 0 / 2.52 GB, free: 2.207 MB / 0.6982 GB Notification: Performance of matching and sorting (n=75): time 0.001562/4.139, allocations: 0.6678 MB / 2.521 GB, free: 1.527 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/4.139, allocations: 244 kB / 2.521 GB, free: 1.234 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/4.139, allocations: 0.4905 MB / 2.522 GB, free: 0.7383 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/4.139, allocations: 25.7 kB / 2.522 GB, free: 0.707 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/4.14, allocations: 328 kB / 2.522 GB, free: 388 kB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/4.14, allocations: 240.4 kB / 2.522 GB, free: 144 kB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/4.14, allocations: 0 / 2.522 GB, free: 144 kB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.3775/4.517, allocations: 381.1 kB / 2.522 GB, free: 273.3 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/4.518, allocations: 198.9 kB / 2.523 GB, free: 273.3 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/4.519, allocations: 305.2 kB / 2.523 GB, free: 273.2 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/4.519, allocations: 248.2 kB / 2.523 GB, free: 273.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/4.519, allocations: 2.156 kB / 2.523 GB, free: 273.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001695/4.521, allocations: 0.6731 MB / 2.524 GB, free: 273.2 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/4.521, allocations: 3.75 kB / 2.524 GB, free: 273.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/4.521, allocations: 3.688 kB / 2.524 GB, free: 273.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/4.521, allocations: 82.44 kB / 2.524 GB, free: 273.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007637/4.522, allocations: 167.1 kB / 2.524 GB, free: 273.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/4.524, allocations: 1.454 MB / 2.526 GB, free: 272 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/4.525, allocations: 86.22 kB / 2.526 GB, free: 272 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/4.525, allocations: 30 kB / 2.526 GB, free: 272 MB / 0.6982 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.0001834/4.525, allocations: 113.9 kB / 2.526 GB, free: 271.9 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/4.525, allocations: 75.84 kB / 2.526 GB, free: 271.9 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/4.527, allocations: 0.9604 MB / 2.527 GB, free: 271.8 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/4.527, allocations: 15.72 kB / 2.527 GB, free: 271.8 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/4.527, allocations: 0 / 2.527 GB, free: 271.8 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/4.527, allocations: 5.578 kB / 2.527 GB, free: 271.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/4.53, allocations: 1.769 MB / 2.529 GB, free: 271.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/4.53, allocations: 0 / 2.529 GB, free: 271.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000745/4.531, allocations: 167.6 kB / 2.529 GB, free: 271.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/4.532, allocations: 92.5 kB / 2.529 GB, free: 271.5 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/4.532, allocations: 21.34 kB / 2.529 GB, free: 271.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/4.533, allocations: 1.467 MB / 2.53 GB, free: 270.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/4.533, allocations: 0.5625 kB / 2.53 GB, free: 270.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001529/4.535, allocations: 0.8507 MB / 2.531 GB, free: 270 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/4.535, allocations: 283 kB / 2.531 GB, free: 269.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/4.535, allocations: 3.781 kB / 2.531 GB, free: 269.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/4.536, allocations: 81.73 kB / 2.531 GB, free: 269.9 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/4.536, allocations: 48.59 kB / 2.531 GB, free: 269.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/4.536, allocations: 36.67 kB / 2.531 GB, free: 269.9 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004874/4.537, allocations: 398 kB / 2.532 GB, free: 269.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001261/4.538, allocations: 357.7 kB / 2.532 GB, free: 269.8 MB / 0.6982 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.001884/4.54, allocations: 1.072 MB / 2.533 GB, free: 269.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001272/4.541, allocations: 0.6766 MB / 2.534 GB, free: 269.5 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/4.541, allocations: 3.312 kB / 2.534 GB, free: 269.5 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006777/4.542, allocations: 461.1 kB / 2.534 GB, free: 269.4 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/4.543, allocations: 211.5 kB / 2.535 GB, free: 269.4 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/4.547, allocations: 1.419 MB / 2.536 GB, free: 269.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007847/4.548, allocations: 1.154 MB / 2.537 GB, free: 268.4 MB / 0.6982 GB Notification: Performance of SimCode: time 8.52e-07/4.548, allocations: 0 / 2.537 GB, free: 268.4 MB / 0.6982 GB Notification: Performance of Templates: time 0.03845/4.586, allocations: 17.41 MB / 2.554 GB, free: 267.3 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)