Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.264/1.264, allocations: 249.4 MB / 256.7 MB, free: 7.047 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.0009739/0.0009739, allocations: 177.2 kB / 316 MB, free: 3.586 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.2/1.2, allocations: 205.2 MB / 0.5667 GB, free: 15.65 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.0008457/0.0008457, allocations: 85.03 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.393/0.3939, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.5811, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.511/5.092, allocations: 2.191 GB / 3.076 GB, free: 209 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/5.092, allocations: 95.03 kB / 3.076 GB, free: 208.9 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.1421/5.234, allocations: 68.11 MB / 3.142 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/5.234, allocations: 12 kB / 3.142 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/5.236, allocations: 222.4 kB / 3.142 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/5.237, allocations: 0.6308 MB / 3.143 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/5.237, allocations: 28 kB / 3.143 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/5.237, allocations: 51.98 kB / 3.143 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001564/5.239, allocations: 1.019 MB / 3.144 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/5.24, allocations: 0.7662 MB / 3.145 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/5.24, allocations: 4 kB / 3.145 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.534e-05/5.24, allocations: 4 kB / 3.145 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/5.24, allocations: 20 kB / 3.145 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003902/5.244, allocations: 2.403 MB / 3.147 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009119/5.245, allocations: 0.657 MB / 3.148 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/5.246, allocations: 246.7 kB / 3.148 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006009/5.246, allocations: 474.2 kB / 3.149 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004846/5.247, allocations: 390 kB / 3.149 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.196e-06/5.247, allocations: 3.938 kB / 3.149 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001916/5.249, allocations: 0.7068 MB / 3.15 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/5.249, allocations: 240 kB / 3.15 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/5.249, allocations: 0.4983 MB / 3.15 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/5.249, allocations: 29.7 kB / 3.15 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/5.25, allocations: 320 kB / 3.151 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/5.25, allocations: 232.4 kB / 3.151 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/5.25, allocations: 7.938 kB / 3.151 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/5.25, allocations: 378.8 kB / 3.151 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/5.25, allocations: 189.3 kB / 3.151 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/5.25, allocations: 294.4 kB / 3.152 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/5.251, allocations: 307 kB / 3.152 GB, free: 130 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/5.251, allocations: 3.938 kB / 3.152 GB, free: 130 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001641/5.253, allocations: 0.7068 MB / 3.153 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/5.253, allocations: 8 kB / 3.153 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/5.253, allocations: 0 / 3.153 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/5.253, allocations: 84.78 kB / 3.153 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/5.254, allocations: 143.8 kB / 3.153 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/5.256, allocations: 1.453 MB / 3.154 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006958/5.257, allocations: 67.61 kB / 3.154 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/5.257, allocations: 31.97 kB / 3.154 GB, free: 127.4 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 (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.000181/5.257, allocations: 120.8 kB / 3.155 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/5.257, allocations: 71.16 kB / 3.155 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/5.259, allocations: 1.006 MB / 3.156 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/5.259, allocations: 8 kB / 3.156 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/5.259, allocations: 0 / 3.156 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/5.259, allocations: 7.891 kB / 3.156 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/5.26, allocations: 0.7711 MB / 3.156 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/5.26, allocations: 4 kB / 3.156 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/5.261, allocations: 147.8 kB / 3.157 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005083/5.262, allocations: 80.78 kB / 3.157 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/5.262, allocations: 19.98 kB / 3.157 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/5.263, allocations: 1.468 MB / 3.158 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/5.263, allocations: 4 kB / 3.158 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001663/5.265, allocations: 0.8114 MB / 3.159 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001727/5.266, allocations: 1.226 MB / 3.16 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/5.267, allocations: 279.8 kB / 3.16 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/5.267, allocations: 7.938 kB / 3.16 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/5.268, allocations: 55.94 kB / 3.16 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/5.268, allocations: 52.7 kB / 3.16 GB, free: 121 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/5.268, allocations: 27.98 kB / 3.16 GB, free: 121 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004828/5.268, allocations: 418.8 kB / 3.161 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001895/5.27, allocations: 414.8 kB / 3.161 GB, free: 120.2 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 (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.001635/5.272, allocations: 1.019 MB / 3.162 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00115/5.273, allocations: 0.6545 MB / 3.163 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/5.273, allocations: 4 kB / 3.163 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006721/5.274, allocations: 440.8 kB / 3.163 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/5.275, allocations: 218.2 kB / 3.163 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/5.279, allocations: 1.374 MB / 3.165 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008682/5.28, allocations: 1.143 MB / 3.166 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.303e-06/5.28, allocations: 3.938 kB / 3.166 GB, free: 115.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)