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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [: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.001021/0.001021, allocations: 189.1 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4387/0.4387, allocations: 90.84 MB / 99.07 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.236/1.236, allocations: 221.4 MB / 342.8 MB, free: 5.184 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.0009956/0.0009958, allocations: 93 kB / 415.5 MB, free: 6.359 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1714/0.1724, allocations: 78.46 MB / 494 MB, free: 7.902 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.5533, allocations: 72.29 MB / 0.553 GB, free: 73.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.373/3.926, allocations: 1.684 GB / 2.237 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/3.926, allocations: 93.41 kB / 2.237 GB, free: 143.7 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.1509/4.077, allocations: 69.74 MB / 2.305 GB, free: 73.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/4.077, allocations: 12 kB / 2.305 GB, free: 73.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/4.079, allocations: 226.4 kB / 2.306 GB, free: 73.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/4.08, allocations: 0.6424 MB / 2.306 GB, free: 72.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/4.08, allocations: 28 kB / 2.306 GB, free: 72.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/4.08, allocations: 55.98 kB / 2.306 GB, free: 72.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0016/4.082, allocations: 1.019 MB / 2.307 GB, free: 71.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/4.083, allocations: 0.7897 MB / 2.308 GB, free: 71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/4.083, allocations: 0 / 2.308 GB, free: 71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/4.083, allocations: 12 kB / 2.308 GB, free: 70.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/4.084, allocations: 20 kB / 2.308 GB, free: 70.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/4.088, allocations: 2.422 MB / 2.31 GB, free: 68.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009939/4.089, allocations: 0.7309 MB / 2.311 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/4.089, allocations: 242.8 kB / 2.311 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/4.09, allocations: 478.1 kB / 2.312 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005357/4.09, allocations: 382.1 kB / 2.312 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 3.206e-06/4.09, allocations: 0 / 2.312 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001954/4.092, allocations: 0.7068 MB / 2.313 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/4.092, allocations: 247.9 kB / 2.313 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006638/4.093, allocations: 0.5022 MB / 2.314 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/4.093, allocations: 33.69 kB / 2.314 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/4.093, allocations: 320 kB / 2.314 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/4.093, allocations: 232.5 kB / 2.314 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/4.093, allocations: 0 / 2.314 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001057/4.093, allocations: 378.7 kB / 2.315 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/4.094, allocations: 193.3 kB / 2.315 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/4.094, allocations: 290.4 kB / 2.315 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000677/4.095, allocations: 315 kB / 2.315 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/4.095, allocations: 0 / 2.315 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00168/4.096, allocations: 0.7224 MB / 2.316 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/4.097, allocations: 4 kB / 2.316 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/4.097, allocations: 0 / 2.316 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/4.097, allocations: 84.83 kB / 2.316 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/4.098, allocations: 147.8 kB / 2.316 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/4.1, allocations: 1.445 MB / 2.318 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/4.1, allocations: 71.59 kB / 2.318 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/4.1, allocations: 23.98 kB / 2.318 GB, free: 60.61 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.0001598/4.1, allocations: 122.8 kB / 2.318 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/4.1, allocations: 67.16 kB / 2.318 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/4.103, allocations: 1.004 MB / 2.319 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/4.103, allocations: 8 kB / 2.319 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/4.103, allocations: 4 kB / 2.319 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/4.103, allocations: 7.984 kB / 2.319 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/4.106, allocations: 1.776 MB / 2.321 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-06/4.106, allocations: 0 / 2.321 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/4.106, allocations: 149.2 kB / 2.321 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/4.107, allocations: 84.78 kB / 2.321 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/4.107, allocations: 11.98 kB / 2.321 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/4.108, allocations: 1.492 MB / 2.322 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/4.108, allocations: 0 / 2.322 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001577/4.11, allocations: 0.887 MB / 2.323 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001772/4.112, allocations: 1.301 MB / 2.324 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/4.112, allocations: 279.8 kB / 2.325 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/4.112, allocations: 0 / 2.325 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/4.113, allocations: 59.94 kB / 2.325 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/4.113, allocations: 48.7 kB / 2.325 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/4.113, allocations: 35.97 kB / 2.325 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003903/4.113, allocations: 406.9 kB / 2.325 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001691/4.115, allocations: 442.8 kB / 2.326 GB, free: 52.23 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.001654/4.117, allocations: 1.075 MB / 2.327 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001042/4.118, allocations: 0.6431 MB / 2.327 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/4.118, allocations: 7.984 kB / 2.327 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005877/4.118, allocations: 452.4 kB / 2.328 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009413/4.119, allocations: 208.5 kB / 2.328 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/4.122, allocations: 1.378 MB / 2.329 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/4.123, allocations: 1.142 MB / 2.33 GB, free: 47.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/4.123, allocations: 0 / 2.33 GB, free: 47.35 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)