Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.377/1.377, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 173.3 kB / 366.3 MB, free: 1.973 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.078/1.078, allocations: 205.1 MB / 0.6256 GB, free: 5.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008964/0.0008965, allocations: 86.47 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1995/0.2004, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.6485, allocations: 116.3 MB / 0.9726 GB, free: 64.85 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.998/3.647, allocations: 2.073 GB / 3.045 GB, free: 35.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/3.647, allocations: 98.78 kB / 3.045 GB, free: 35.81 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.4776/4.125, allocations: 65.68 MB / 3.11 GB, free: 321 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/4.125, allocations: 8.031 kB / 3.11 GB, free: 321 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/4.126, allocations: 290.1 kB / 3.11 GB, free: 321 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/4.127, allocations: 0.6332 MB / 3.11 GB, free: 320.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/4.127, allocations: 28.28 kB / 3.11 GB, free: 320.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/4.128, allocations: 50.19 kB / 3.11 GB, free: 320.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001407/4.129, allocations: 1.034 MB / 3.111 GB, free: 320.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/4.13, allocations: 0.7836 MB / 3.112 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/4.13, allocations: 2.625 kB / 3.112 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/4.13, allocations: 3.906 kB / 3.112 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/4.13, allocations: 19.09 kB / 3.112 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/4.134, allocations: 2.437 MB / 3.115 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/4.136, allocations: 0.7244 MB / 3.115 GB, free: 319.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/4.136, allocations: 261.4 kB / 3.116 GB, free: 319.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.389e-05/4.136, allocations: 32.22 kB / 3.116 GB, free: 319.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006114/4.137, allocations: 399.6 kB / 3.116 GB, free: 319.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 3.657e-06/4.137, allocations: 0 / 3.116 GB, free: 319.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.0019/4.139, allocations: 0.6618 MB / 3.117 GB, free: 319.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/4.139, allocations: 240.3 kB / 3.117 GB, free: 319.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000707/4.14, allocations: 0.4953 MB / 3.117 GB, free: 319.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/4.14, allocations: 31.39 kB / 3.117 GB, free: 319.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/4.14, allocations: 319.5 kB / 3.118 GB, free: 318.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/4.14, allocations: 240.3 kB / 3.118 GB, free: 318.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/4.14, allocations: 0 / 3.118 GB, free: 318.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.977e-05/4.14, allocations: 375.3 kB / 3.118 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/4.141, allocations: 197.5 kB / 3.119 GB, free: 318.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/4.141, allocations: 307.4 kB / 3.119 GB, free: 318.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/4.141, allocations: 246.7 kB / 3.119 GB, free: 318.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/4.141, allocations: 3.891 kB / 3.119 GB, free: 318.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001404/4.143, allocations: 0.6702 MB / 3.12 GB, free: 318.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/4.143, allocations: 3.5 kB / 3.12 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/4.143, allocations: 0 / 3.12 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/4.143, allocations: 88.22 kB / 3.12 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/4.144, allocations: 157 kB / 3.12 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/4.146, allocations: 1.454 MB / 3.121 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/4.146, allocations: 76.89 kB / 3.121 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/4.146, allocations: 30.11 kB / 3.121 GB, free: 316.7 MB / 0.948 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 (76): * Single equations (assignments): 75 * 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.0001439/4.147, allocations: 122.6 kB / 3.122 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/4.147, allocations: 73.53 kB / 3.122 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/4.149, allocations: 0.9607 MB / 3.123 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/4.149, allocations: 8.438 kB / 3.123 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/4.149, allocations: 3.562 kB / 3.123 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/4.149, allocations: 4.453 kB / 3.123 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/4.15, allocations: 0.7771 MB / 3.123 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/4.15, allocations: 4.531 kB / 3.123 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/4.15, allocations: 160.4 kB / 3.124 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005083/4.151, allocations: 83.08 kB / 3.124 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/4.151, allocations: 18.03 kB / 3.124 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/4.152, allocations: 1.475 MB / 3.125 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/4.152, allocations: 1.219 kB / 3.125 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001447/4.154, allocations: 0.7752 MB / 3.126 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001736/4.156, allocations: 1.181 MB / 3.127 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/4.156, allocations: 275.6 kB / 3.127 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/4.156, allocations: 1.672 kB / 3.127 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006488/4.157, allocations: 71.81 kB / 3.127 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/4.157, allocations: 57.08 kB / 3.127 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.178e-05/4.157, allocations: 33.12 kB / 3.127 GB, free: 313.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004219/4.157, allocations: 411.2 kB / 3.128 GB, free: 313 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001688/4.159, allocations: 380.7 kB / 3.128 GB, free: 312.8 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.001391/4.16, allocations: 1.011 MB / 3.129 GB, free: 312.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001006/4.161, allocations: 0.6726 MB / 3.13 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/4.161, allocations: 0 / 3.13 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006154/4.162, allocations: 456.7 kB / 3.13 GB, free: 312 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008882/4.163, allocations: 213.3 kB / 3.13 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/4.166, allocations: 1.388 MB / 3.132 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/4.167, allocations: 1.147 MB / 3.133 GB, free: 310.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/4.167, allocations: 0 / 3.133 GB, free: 310.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)