Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.404/1.404, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001033/0.001033, allocations: 177.3 kB / 366.3 MB, free: 1.93 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.075/1.075, allocations: 205.2 MB / 0.6256 GB, free: 5.77 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.0008461/0.000846, allocations: 91.83 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2073/0.2082, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.6603, allocations: 116.3 MB / 0.9726 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.026/3.687, allocations: 2.073 GB / 3.045 GB, free: 2.812 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/3.687, allocations: 93.38 kB / 3.045 GB, free: 2.723 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.4918/4.179, allocations: 68.49 MB / 3.112 GB, free: 323.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/4.179, allocations: 8 kB / 3.112 GB, free: 323.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/4.18, allocations: 222.4 kB / 3.113 GB, free: 323.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/4.181, allocations: 0.627 MB / 3.113 GB, free: 322.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/4.181, allocations: 28 kB / 3.113 GB, free: 322.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/4.181, allocations: 56 kB / 3.113 GB, free: 322.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001321/4.182, allocations: 1.023 MB / 3.114 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/4.184, allocations: 0.7778 MB / 3.115 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/4.184, allocations: 0 / 3.115 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/4.184, allocations: 0 / 3.115 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/4.184, allocations: 24 kB / 3.115 GB, free: 320.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/4.187, allocations: 2.406 MB / 3.117 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008563/4.188, allocations: 0.6459 MB / 3.118 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/4.188, allocations: 250.8 kB / 3.118 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005645/4.189, allocations: 470.2 kB / 3.119 GB, free: 316.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/4.189, allocations: 382 kB / 3.119 GB, free: 316.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 1.853e-06/4.189, allocations: 4 kB / 3.119 GB, free: 316.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001682/4.191, allocations: 0.7145 MB / 3.12 GB, free: 315.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/4.191, allocations: 247.9 kB / 3.12 GB, free: 315.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/4.192, allocations: 0.4984 MB / 3.121 GB, free: 314.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/4.192, allocations: 29.7 kB / 3.121 GB, free: 314.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/4.192, allocations: 324 kB / 3.121 GB, free: 314.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/4.192, allocations: 224.6 kB / 3.121 GB, free: 314 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/4.192, allocations: 0 / 3.121 GB, free: 314 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/4.192, allocations: 370.8 kB / 3.121 GB, free: 313.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/4.192, allocations: 197.3 kB / 3.122 GB, free: 313.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/4.193, allocations: 298.4 kB / 3.122 GB, free: 313.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/4.193, allocations: 303 kB / 3.122 GB, free: 312.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/4.193, allocations: 0 / 3.122 GB, free: 312.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001544/4.195, allocations: 0.7146 MB / 3.123 GB, free: 312.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/4.195, allocations: 4 kB / 3.123 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/4.195, allocations: 4.062 kB / 3.123 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/4.195, allocations: 84.78 kB / 3.123 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/4.196, allocations: 143.7 kB / 3.123 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/4.198, allocations: 1.457 MB / 3.125 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/4.198, allocations: 63.61 kB / 3.125 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/4.198, allocations: 27.98 kB / 3.125 GB, free: 310.2 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 (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.0001422/4.199, allocations: 124.8 kB / 3.125 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/4.199, allocations: 75.06 kB / 3.125 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/4.201, allocations: 0.9986 MB / 3.126 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/4.201, allocations: 12 kB / 3.126 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/4.201, allocations: 0 / 3.126 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/4.201, allocations: 7.969 kB / 3.126 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/4.202, allocations: 0.7633 MB / 3.127 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/4.202, allocations: 0 / 3.127 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005969/4.202, allocations: 147.8 kB / 3.127 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005021/4.203, allocations: 88.77 kB / 3.127 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/4.203, allocations: 11.98 kB / 3.127 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/4.204, allocations: 1.48 MB / 3.128 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/4.204, allocations: 0 / 3.128 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001558/4.206, allocations: 0.823 MB / 3.129 GB, free: 305.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001658/4.208, allocations: 1.218 MB / 3.13 GB, free: 304.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/4.208, allocations: 279.9 kB / 3.13 GB, free: 303.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/4.208, allocations: 0 / 3.13 GB, free: 303.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/4.209, allocations: 55.95 kB / 3.131 GB, free: 303.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/4.209, allocations: 56.69 kB / 3.131 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/4.209, allocations: 28.05 kB / 3.131 GB, free: 303.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004141/4.209, allocations: 414.9 kB / 3.131 GB, free: 303.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001703/4.211, allocations: 414.9 kB / 3.131 GB, free: 303 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 (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.001676/4.213, allocations: 1.033 MB / 3.132 GB, free: 302 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00105/4.214, allocations: 0.6467 MB / 3.133 GB, free: 301.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/4.214, allocations: 128 / 3.133 GB, free: 301.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000598/4.214, allocations: 452.6 kB / 3.133 GB, free: 300.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009004/4.215, allocations: 213.2 kB / 3.134 GB, free: 300.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/4.219, allocations: 1.389 MB / 3.135 GB, free: 299.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006887/4.219, allocations: 1.138 MB / 3.136 GB, free: 298.1 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/4.219, allocations: 0 / 3.136 GB, free: 298.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)