Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009994/0.0009993, allocations: 180.4 kB / 316 MB, free: 3.594 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.1 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008932/0.0008931, allocations: 89.72 kB / 0.671 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4114/0.4123, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.6139, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.528/5.142, allocations: 2.191 GB / 3.075 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/5.143, allocations: 95.88 kB / 3.076 GB, free: 213.1 MB / 0.8698 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.1321/5.275, allocations: 65.3 MB / 3.139 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/5.275, allocations: 8 kB / 3.139 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/5.276, allocations: 290.4 kB / 3.14 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000839/5.277, allocations: 0.6269 MB / 3.14 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/5.277, allocations: 28 kB / 3.14 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/5.277, allocations: 52 kB / 3.14 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00127/5.278, allocations: 1.03 MB / 3.141 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/5.28, allocations: 0.7896 MB / 3.142 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/5.28, allocations: 0 / 3.142 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/5.28, allocations: 0 / 3.142 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/5.28, allocations: 24 kB / 3.142 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/5.283, allocations: 2.458 MB / 3.144 GB, free: 142 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/5.285, allocations: 0.7236 MB / 3.145 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/5.285, allocations: 254.8 kB / 3.145 GB, free: 141 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/5.285, allocations: 36.67 kB / 3.145 GB, free: 141 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004694/5.285, allocations: 390 kB / 3.146 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 2.895e-06/5.286, allocations: 0 / 3.146 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.001456/5.287, allocations: 0.6716 MB / 3.146 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/5.287, allocations: 244 kB / 3.147 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/5.288, allocations: 0.4905 MB / 3.147 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/5.288, allocations: 29.7 kB / 3.147 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/5.288, allocations: 320 kB / 3.148 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/5.288, allocations: 236.4 kB / 3.148 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/5.288, allocations: 4 kB / 3.148 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/5.288, allocations: 374.8 kB / 3.148 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/5.288, allocations: 197.3 kB / 3.148 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/5.289, allocations: 298.4 kB / 3.149 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/5.289, allocations: 255 kB / 3.149 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/5.289, allocations: 0 / 3.149 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001357/5.29, allocations: 0.6678 MB / 3.149 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/5.29, allocations: 4 kB / 3.149 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/5.29, allocations: 0 / 3.149 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/5.291, allocations: 88.83 kB / 3.15 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/5.292, allocations: 151.8 kB / 3.15 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/5.294, allocations: 1.453 MB / 3.151 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/5.294, allocations: 83.44 kB / 3.151 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/5.294, allocations: 27.98 kB / 3.151 GB, free: 134.8 MB / 0.8698 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.0001808/5.295, allocations: 108.9 kB / 3.151 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/5.295, allocations: 79.14 kB / 3.151 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/5.297, allocations: 0.968 MB / 3.152 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/5.297, allocations: 11.91 kB / 3.152 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/5.297, allocations: 0 / 3.152 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/5.297, allocations: 7.984 kB / 3.152 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/5.298, allocations: 0.7711 MB / 3.153 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/5.298, allocations: 0 / 3.153 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006585/5.298, allocations: 163.8 kB / 3.153 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004997/5.299, allocations: 84.78 kB / 3.153 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/5.299, allocations: 19.97 kB / 3.153 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/5.3, allocations: 1.48 MB / 3.155 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/5.3, allocations: 0 / 3.155 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00143/5.302, allocations: 0.7646 MB / 3.156 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001491/5.303, allocations: 1.187 MB / 3.157 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/5.304, allocations: 271.9 kB / 3.157 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/5.304, allocations: 7.984 kB / 3.157 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/5.305, allocations: 67.94 kB / 3.157 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/5.305, allocations: 52.7 kB / 3.157 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/5.305, allocations: 27.98 kB / 3.157 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005202/5.305, allocations: 414.8 kB / 3.158 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001718/5.307, allocations: 387 kB / 3.158 GB, free: 127.7 MB / 0.8698 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.001532/5.309, allocations: 1.016 MB / 3.159 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001137/5.31, allocations: 0.6662 MB / 3.16 GB, free: 126 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/5.31, allocations: 4.125 kB / 3.16 GB, free: 126 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006133/5.31, allocations: 456.6 kB / 3.16 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/5.311, allocations: 211 kB / 3.16 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/5.315, allocations: 1.386 MB / 3.162 GB, free: 124 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007231/5.316, allocations: 1.136 MB / 3.163 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.142e-06/5.316, allocations: 4 kB / 3.163 GB, free: 122.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)