Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 184.7 kB / 7.802 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4341/0.4341, allocations: 90.85 MB / 99.07 MB, free: 15.07 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.137/1.137, allocations: 221.4 MB / 342.8 MB, free: 5.199 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.0009034/0.0009032, allocations: 97.3 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.971e-06, allocations: 0 / 493.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2988, allocations: 72.29 MB / 0.5529 GB, free: 73.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.488/3.787, allocations: 1.684 GB / 2.237 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/3.788, allocations: 95.94 kB / 2.237 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1547/3.942, allocations: 68.56 MB / 2.304 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000169/3.943, allocations: 20 kB / 2.304 GB, free: 60.57 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00402/3.947, allocations: 1.153 MB / 2.305 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.033e-05/3.947, allocations: 10.38 kB / 2.305 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/3.948, allocations: 234.4 kB / 2.305 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/3.951, allocations: 0.6308 MB / 2.306 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/3.951, allocations: 31.98 kB / 2.306 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/3.951, allocations: 55.98 kB / 2.306 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002138/3.953, allocations: 1.026 MB / 2.307 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/3.955, allocations: 0.7858 MB / 2.308 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/3.955, allocations: 0 / 2.308 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/3.955, allocations: 4 kB / 2.308 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/3.955, allocations: 20 kB / 2.308 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005174/3.96, allocations: 2.43 MB / 2.31 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/3.961, allocations: 0.7279 MB / 2.311 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/3.962, allocations: 242.8 kB / 2.311 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007667/3.963, allocations: 482.1 kB / 2.312 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006191/3.963, allocations: 378 kB / 2.312 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 6.232e-06/3.963, allocations: 3.938 kB / 2.312 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.002426/3.966, allocations: 0.7107 MB / 2.313 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/3.966, allocations: 244 kB / 2.313 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000911/3.967, allocations: 0.4983 MB / 2.313 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.162e-05/3.967, allocations: 25.7 kB / 2.314 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/3.967, allocations: 328 kB / 2.314 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/3.967, allocations: 232.5 kB / 2.314 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/3.967, allocations: 0 / 2.314 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001582/3.968, allocations: 379.6 kB / 2.314 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/3.968, allocations: 193.3 kB / 2.315 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/3.968, allocations: 294.4 kB / 2.315 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007665/3.969, allocations: 311 kB / 2.315 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/3.969, allocations: 0 / 2.315 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001938/3.971, allocations: 0.7263 MB / 2.316 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/3.971, allocations: 4 kB / 2.316 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/3.971, allocations: 0 / 2.316 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006928/3.972, allocations: 80.84 kB / 2.316 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/3.973, allocations: 146 kB / 2.316 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/3.975, allocations: 1.453 MB / 2.318 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/3.975, allocations: 71.59 kB / 2.318 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/3.975, allocations: 27.98 kB / 2.318 GB, free: 46.11 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 (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.0002253/3.976, allocations: 126 kB / 2.318 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/3.976, allocations: 67.16 kB / 2.318 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/3.979, allocations: 0.989 MB / 2.319 GB, free: 44.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/3.979, allocations: 15.98 kB / 2.319 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/3.979, allocations: 0 / 2.319 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/3.979, allocations: 7.984 kB / 2.319 GB, free: 44.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003819/3.983, allocations: 1.775 MB / 2.321 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/3.983, allocations: 0 / 2.321 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/3.983, allocations: 147.8 kB / 2.321 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/3.984, allocations: 88.72 kB / 2.321 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/3.984, allocations: 11.98 kB / 2.321 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/3.986, allocations: 1.488 MB / 2.322 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/3.986, allocations: 48 / 2.322 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002364/3.988, allocations: 0.8831 MB / 2.323 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007522/3.989, allocations: 275.9 kB / 2.323 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/3.99, allocations: 8 kB / 2.323 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008261/3.99, allocations: 59.94 kB / 2.323 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/3.991, allocations: 52.61 kB / 2.323 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/3.991, allocations: 35.91 kB / 2.323 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0008178/3.991, allocations: 410.9 kB / 2.324 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002211/3.994, allocations: 363.6 kB / 2.324 GB, free: 39.14 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 (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.003517/3.997, allocations: 1.065 MB / 2.325 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00169/3.999, allocations: 0.6469 MB / 2.326 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/3.999, allocations: 0 / 2.326 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000846/4, allocations: 444.5 kB / 2.326 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/4.001, allocations: 214.5 kB / 2.327 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/4.006, allocations: 1.387 MB / 2.328 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/4.007, allocations: 1.138 MB / 2.329 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.114e-06/4.007, allocations: 0 / 2.329 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.0294/4.036, allocations: 17.13 MB / 2.346 GB, free: 17.25 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)