Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.296/1.296, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.0009347/0.0009348, allocations: 177.3 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9931/0.9931, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007561/0.000756, allocations: 92.59 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1664/0.1671, allocations: 121.4 MB / 0.8511 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.555, allocations: 115.3 MB / 0.9638 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.645/3.2, allocations: 2.072 GB / 3.035 GB, free: 64.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/3.2, allocations: 94.28 kB / 3.036 GB, free: 64.71 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.3447/3.545, allocations: 65.68 MB / 3.1 GB, free: 399.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/3.545, allocations: 8.031 kB / 3.1 GB, free: 399.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/3.547, allocations: 287.6 kB / 3.1 GB, free: 399.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/3.548, allocations: 0.6282 MB / 3.101 GB, free: 399.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/3.548, allocations: 29.5 kB / 3.101 GB, free: 399.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/3.548, allocations: 54.47 kB / 3.101 GB, free: 399.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001255/3.549, allocations: 1.031 MB / 3.102 GB, free: 399.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/3.55, allocations: 0.7889 MB / 3.102 GB, free: 399.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/3.55, allocations: 0 / 3.102 GB, free: 399.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/3.55, allocations: 3.25 kB / 3.102 GB, free: 399.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/3.55, allocations: 21.09 kB / 3.102 GB, free: 399.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/3.553, allocations: 2.442 MB / 3.105 GB, free: 398.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/3.555, allocations: 0.7278 MB / 3.106 GB, free: 398.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/3.555, allocations: 258.3 kB / 3.106 GB, free: 398.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.789e-05/3.555, allocations: 35.52 kB / 3.106 GB, free: 398.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004377/3.556, allocations: 394.3 kB / 3.106 GB, free: 398.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 1.893e-06/3.556, allocations: 0 / 3.106 GB, free: 398.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.001384/3.557, allocations: 0.666 MB / 3.107 GB, free: 398.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/3.557, allocations: 239.2 kB / 3.107 GB, free: 397.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/3.557, allocations: 0.4942 MB / 3.108 GB, free: 397.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/3.558, allocations: 25.7 kB / 3.108 GB, free: 397.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/3.558, allocations: 316.9 kB / 3.108 GB, free: 397.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/3.558, allocations: 238.6 kB / 3.108 GB, free: 397.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/3.558, allocations: 6.406 kB / 3.108 GB, free: 397.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.533e-05/3.558, allocations: 371.7 kB / 3.108 GB, free: 397.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/3.558, allocations: 201.5 kB / 3.109 GB, free: 397.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/3.559, allocations: 302.3 kB / 3.109 GB, free: 397.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/3.559, allocations: 248.3 kB / 3.109 GB, free: 397.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/3.559, allocations: 3.438 kB / 3.109 GB, free: 397.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001282/3.56, allocations: 0.6651 MB / 3.11 GB, free: 397 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/3.56, allocations: 5.062 kB / 3.11 GB, free: 397 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/3.56, allocations: 0 / 3.11 GB, free: 397 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/3.561, allocations: 89.44 kB / 3.11 GB, free: 397 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/3.561, allocations: 160.2 kB / 3.11 GB, free: 397 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/3.563, allocations: 1.446 MB / 3.111 GB, free: 395.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005848/3.564, allocations: 81.62 kB / 3.112 GB, free: 395.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/3.564, allocations: 30.73 kB / 3.112 GB, free: 395.8 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.0001319/3.564, allocations: 122 kB / 3.112 GB, free: 395.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/3.564, allocations: 71.62 kB / 3.112 GB, free: 395.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/3.566, allocations: 0.9679 MB / 3.113 GB, free: 395.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/3.566, allocations: 12.41 kB / 3.113 GB, free: 395.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/3.566, allocations: 3.156 kB / 3.113 GB, free: 395.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/3.566, allocations: 3.75 kB / 3.113 GB, free: 395.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006776/3.566, allocations: 0.7662 MB / 3.113 GB, free: 395.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/3.567, allocations: 2.781 kB / 3.114 GB, free: 395.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006422/3.567, allocations: 162.5 kB / 3.114 GB, free: 395.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/3.568, allocations: 82.25 kB / 3.114 GB, free: 395.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/3.568, allocations: 16.23 kB / 3.114 GB, free: 395.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/3.569, allocations: 1.485 MB / 3.115 GB, free: 394.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/3.569, allocations: 3.281 kB / 3.115 GB, free: 394.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001251/3.57, allocations: 0.7703 MB / 3.116 GB, free: 394 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001374/3.572, allocations: 1.179 MB / 3.117 GB, free: 393.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/3.572, allocations: 283.3 kB / 3.117 GB, free: 393.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/3.572, allocations: 0 / 3.117 GB, free: 393.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/3.573, allocations: 72.02 kB / 3.117 GB, free: 393.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/3.573, allocations: 51.28 kB / 3.117 GB, free: 393.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/3.573, allocations: 32.06 kB / 3.118 GB, free: 393.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003498/3.573, allocations: 412.2 kB / 3.118 GB, free: 393.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001453/3.575, allocations: 386 kB / 3.118 GB, free: 393.3 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.001397/3.576, allocations: 1.016 MB / 3.119 GB, free: 393.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001002/3.577, allocations: 0.6655 MB / 3.12 GB, free: 393 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/3.577, allocations: 6.375 kB / 3.12 GB, free: 393 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005957/3.578, allocations: 457.6 kB / 3.12 GB, free: 392.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/3.579, allocations: 203.1 kB / 3.121 GB, free: 392.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/3.582, allocations: 1.388 MB / 3.122 GB, free: 392.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006497/3.582, allocations: 1.143 MB / 3.123 GB, free: 391.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/3.582, allocations: 3.062 kB / 3.123 GB, free: 391.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)