Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7474/0.7474, allocations: 141.8 MB / 149.1 MB, free: 12.45 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.001341/0.001341, allocations: 177.5 kB / 181.9 MB, free: 9.18 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.482/1.482, allocations: 221.3 MB / 436 MB, free: 1.484 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.00109/0.00109, allocations: 95.86 kB / 0.507 GB, free: 17.68 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001917/0.001917, allocations: 282.7 kB / 0.5885 GB, free: 3.16 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.798e-06, allocations: 1.281 kB / 0.6759 GB, free: 135.9 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2122, allocations: 82.79 MB / 0.7567 GB, free: 82 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.346/3.558, allocations: 1.691 GB / 2.448 GB, free: 26.89 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/3.558, allocations: 99.75 kB / 2.448 GB, free: 26.8 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.4032/3.961, allocations: 68.54 MB / 2.515 GB, free: 236.5 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.000107/3.961, allocations: 28.41 kB / 2.515 GB, free: 236.5 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002684/3.964, allocations: 1.159 MB / 2.516 GB, free: 235.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/3.964, allocations: 8.75 kB / 2.516 GB, free: 235.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/3.966, allocations: 224.6 kB / 2.516 GB, free: 235.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/3.967, allocations: 0.6294 MB / 2.517 GB, free: 235.1 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/3.967, allocations: 37.17 kB / 2.517 GB, free: 235.1 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/3.967, allocations: 57.95 kB / 2.517 GB, free: 235.1 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001763/3.969, allocations: 1.035 MB / 2.518 GB, free: 234.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/3.97, allocations: 0.7887 MB / 2.519 GB, free: 234.6 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/3.97, allocations: 0.7188 kB / 2.519 GB, free: 234.6 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/3.97, allocations: 1.438 kB / 2.519 GB, free: 234.6 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/3.97, allocations: 21.97 kB / 2.519 GB, free: 234.6 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/3.974, allocations: 2.425 MB / 2.521 GB, free: 233.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/3.975, allocations: 0.7321 MB / 2.522 GB, free: 233.2 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/3.976, allocations: 244.2 kB / 2.522 GB, free: 233.2 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/3.976, allocations: 471 kB / 2.522 GB, free: 232.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004965/3.977, allocations: 383.4 kB / 2.523 GB, free: 232.4 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=73): time 2.575e-06/3.977, allocations: 0 / 2.523 GB, free: 232.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=73): time 0.001719/3.979, allocations: 0.7111 MB / 2.524 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/3.979, allocations: 247.5 kB / 2.524 GB, free: 231.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/3.979, allocations: 0.4936 MB / 2.524 GB, free: 231.2 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/3.979, allocations: 25.7 kB / 2.524 GB, free: 231.2 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/3.98, allocations: 337.5 kB / 2.525 GB, free: 230.9 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/3.98, allocations: 223.1 kB / 2.525 GB, free: 230.7 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/3.98, allocations: 0 / 2.525 GB, free: 230.7 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/3.98, allocations: 375.4 kB / 2.525 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/3.98, allocations: 194.6 kB / 2.525 GB, free: 230.2 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/3.98, allocations: 301.8 kB / 2.526 GB, free: 229.9 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/3.981, allocations: 311 kB / 2.526 GB, free: 229.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/3.981, allocations: 0 / 2.526 GB, free: 229.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001541/3.983, allocations: 0.7223 MB / 2.527 GB, free: 228.9 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/3.983, allocations: 4 kB / 2.527 GB, free: 228.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/3.983, allocations: 0 / 2.527 GB, free: 228.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005762/3.983, allocations: 84.84 kB / 2.527 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/3.984, allocations: 144.3 kB / 2.527 GB, free: 228.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/3.985, allocations: 1.462 MB / 2.528 GB, free: 227.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/3.986, allocations: 67.59 kB / 2.528 GB, free: 227 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/3.986, allocations: 23.98 kB / 2.528 GB, free: 227 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 (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.0001445/3.986, allocations: 120.9 kB / 2.529 GB, free: 226.9 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/3.986, allocations: 71.06 kB / 2.529 GB, free: 226.8 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/3.988, allocations: 0.9872 MB / 2.53 GB, free: 225.8 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/3.988, allocations: 8 kB / 2.53 GB, free: 225.8 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/3.988, allocations: 7.906 kB / 2.53 GB, free: 225.8 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/3.989, allocations: 3.984 kB / 2.53 GB, free: 225.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/3.991, allocations: 1.778 MB / 2.531 GB, free: 224 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/3.991, allocations: 4 kB / 2.531 GB, free: 224 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/3.992, allocations: 155.6 kB / 2.531 GB, free: 223.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004979/3.992, allocations: 88.78 kB / 2.532 GB, free: 223.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/3.993, allocations: 11.98 kB / 2.532 GB, free: 223.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/3.994, allocations: 1.476 MB / 2.533 GB, free: 222.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/3.994, allocations: 0 / 2.533 GB, free: 222.1 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001566/3.996, allocations: 0.8869 MB / 2.534 GB, free: 221.2 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/3.996, allocations: 279.8 kB / 2.534 GB, free: 220.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/3.996, allocations: 3.984 kB / 2.534 GB, free: 220.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/3.997, allocations: 59.95 kB / 2.534 GB, free: 220.8 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/3.997, allocations: 48.7 kB / 2.534 GB, free: 220.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/3.997, allocations: 35.91 kB / 2.534 GB, free: 220.8 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003469/3.997, allocations: 406.9 kB / 2.535 GB, free: 220.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0009687/3.998, allocations: 366.7 kB / 2.535 GB, free: 220 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 (84): * Single equations (assignments): 81 * 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.001518/4, allocations: 1.075 MB / 2.536 GB, free: 219.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0009782/4.001, allocations: 0.6544 MB / 2.537 GB, free: 218.5 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/4.001, allocations: 0 / 2.537 GB, free: 218.5 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0005774/4.001, allocations: 444.8 kB / 2.537 GB, free: 218 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/4.002, allocations: 215.2 kB / 2.537 GB, free: 217.8 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/4.005, allocations: 1.377 MB / 2.539 GB, free: 216.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/4.006, allocations: 1.142 MB / 2.54 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of SimCode: time 3e-07/4.006, allocations: 0 / 2.54 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of Templates: time 0.02258/4.029, allocations: 17.14 MB / 2.557 GB, free: 198.2 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)