Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.201/2.201, allocations: 284.8 MB / 292.1 MB, free: 9.914 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.001603/0.001603, allocations: 186 kB / 360.3 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.1 MB / 0.6187 GB, free: 3.273 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001261, allocations: 88.69 kB / 0.7317 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5094/0.5107, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.7097, allocations: 115.3 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.683/5.393, allocations: 2.072 GB / 3.034 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/5.394, allocations: 90.03 kB / 3.034 GB, free: 169.3 MB / 0.9323 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.2408/5.634, allocations: 65.68 MB / 3.099 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/5.635, allocations: 8 kB / 3.099 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/5.637, allocations: 286.4 kB / 3.099 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/5.638, allocations: 0.6347 MB / 3.099 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/5.638, allocations: 28 kB / 3.099 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/5.639, allocations: 48 kB / 3.1 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002346/5.641, allocations: 1.034 MB / 3.101 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/5.643, allocations: 0.7857 MB / 3.101 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/5.643, allocations: 0 / 3.101 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/5.643, allocations: 4 kB / 3.101 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/5.643, allocations: 20 kB / 3.101 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005948/5.649, allocations: 2.442 MB / 3.104 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/5.652, allocations: 0.7236 MB / 3.104 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/5.653, allocations: 258.7 kB / 3.105 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/5.653, allocations: 36.67 kB / 3.105 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008041/5.653, allocations: 394 kB / 3.105 GB, free: 107 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=74): time 3.347e-06/5.653, allocations: 0 / 3.105 GB, free: 107 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74): time 0.002603/5.656, allocations: 0.66 MB / 3.106 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.188e-05/5.656, allocations: 240 kB / 3.106 GB, free: 106 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009117/5.657, allocations: 0.506 MB / 3.106 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.41e-05/5.657, allocations: 25.7 kB / 3.106 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/5.657, allocations: 316.1 kB / 3.107 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/5.658, allocations: 236.4 kB / 3.107 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/5.658, allocations: 0 / 3.107 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001193/5.658, allocations: 374.8 kB / 3.107 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/5.658, allocations: 201.3 kB / 3.108 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/5.659, allocations: 302.4 kB / 3.108 GB, free: 104 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006701/5.66, allocations: 247 kB / 3.108 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/5.66, allocations: 0 / 3.108 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002547/5.662, allocations: 0.6717 MB / 3.109 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/5.662, allocations: 8 kB / 3.109 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/5.662, allocations: 0 / 3.109 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/5.663, allocations: 84.75 kB / 3.109 GB, free: 103 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/5.665, allocations: 159.8 kB / 3.109 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/5.668, allocations: 1.461 MB / 3.11 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/5.669, allocations: 75.59 kB / 3.11 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/5.669, allocations: 23.98 kB / 3.11 GB, free: 101.1 MB / 0.9323 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.0002607/5.67, allocations: 131 kB / 3.111 GB, free: 101 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/5.67, allocations: 71.06 kB / 3.111 GB, free: 100.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/5.674, allocations: 0.9643 MB / 3.112 GB, free: 99.96 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/5.674, allocations: 8 kB / 3.112 GB, free: 99.96 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/5.674, allocations: 0 / 3.112 GB, free: 99.96 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/5.674, allocations: 3.984 kB / 3.112 GB, free: 99.95 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/5.675, allocations: 0.767 MB / 3.112 GB, free: 99.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/5.675, allocations: 4 kB / 3.112 GB, free: 99.14 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/5.676, allocations: 163.8 kB / 3.113 GB, free: 98.98 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009384/5.677, allocations: 88.77 kB / 3.113 GB, free: 98.89 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.919e-05/5.678, allocations: 15.98 kB / 3.113 GB, free: 98.88 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/5.68, allocations: 1.48 MB / 3.114 GB, free: 97.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/5.68, allocations: 8.062 kB / 3.114 GB, free: 97.27 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002655/5.683, allocations: 0.7683 MB / 3.115 GB, free: 96.48 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002576/5.685, allocations: 1.179 MB / 3.116 GB, free: 95.27 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/5.686, allocations: 275.9 kB / 3.116 GB, free: 94.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/5.686, allocations: 4 kB / 3.116 GB, free: 94.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/5.687, allocations: 71.94 kB / 3.116 GB, free: 94.91 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/5.688, allocations: 48.7 kB / 3.116 GB, free: 94.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.847e-05/5.688, allocations: 35.97 kB / 3.116 GB, free: 94.83 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0006792/5.688, allocations: 402.9 kB / 3.117 GB, free: 94.44 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002261/5.691, allocations: 391 kB / 3.117 GB, free: 94.05 MB / 0.9323 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.001887/5.692, allocations: 1.01 MB / 3.118 GB, free: 93.14 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001807/5.694, allocations: 0.6665 MB / 3.119 GB, free: 92.46 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/5.694, allocations: 0 / 3.119 GB, free: 92.46 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/5.695, allocations: 456.5 kB / 3.119 GB, free: 92 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/5.697, allocations: 223.2 kB / 3.119 GB, free: 91.79 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/5.703, allocations: 1.382 MB / 3.121 GB, free: 90.38 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/5.704, allocations: 1.146 MB / 3.122 GB, free: 89.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.243e-06/5.704, allocations: 0 / 3.122 GB, free: 89.2 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)