Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.135/2.135, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001553/0.001553, allocations: 185.2 kB / 360.3 MB, free: 7.527 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.638/1.638, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001273/0.001273, allocations: 95.75 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2574/0.2588, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.8105, allocations: 115.2 MB / 0.9627 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.215/5.025, allocations: 2.072 GB / 3.034 GB, free: 46.77 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/5.026, allocations: 88.56 kB / 3.035 GB, free: 46.72 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.6329/5.659, allocations: 68.48 MB / 3.101 GB, free: 312.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/5.659, allocations: 9.938 kB / 3.101 GB, free: 312.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/5.661, allocations: 233.3 kB / 3.102 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/5.662, allocations: 0.6347 MB / 3.102 GB, free: 312.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/5.662, allocations: 26.84 kB / 3.102 GB, free: 312.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/5.662, allocations: 51.84 kB / 3.102 GB, free: 312.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002356/5.665, allocations: 1.016 MB / 3.103 GB, free: 312.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/5.667, allocations: 0.7719 MB / 3.104 GB, free: 312.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/5.667, allocations: 0 / 3.104 GB, free: 312.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/5.667, allocations: 3.812 kB / 3.104 GB, free: 312.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/5.667, allocations: 23.22 kB / 3.104 GB, free: 312.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00589/5.673, allocations: 2.395 MB / 3.106 GB, free: 311.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/5.675, allocations: 0.6573 MB / 3.107 GB, free: 311.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/5.675, allocations: 251.9 kB / 3.107 GB, free: 311.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009202/5.676, allocations: 472.2 kB / 3.108 GB, free: 311 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008128/5.677, allocations: 381.3 kB / 3.108 GB, free: 311 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.297e-06/5.677, allocations: 0 / 3.108 GB, free: 311 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.003253/5.68, allocations: 0.7136 MB / 3.109 GB, free: 310.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/5.68, allocations: 243.8 kB / 3.109 GB, free: 310.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/5.681, allocations: 0.4955 MB / 3.11 GB, free: 310.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/5.682, allocations: 25.7 kB / 3.11 GB, free: 310.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/5.682, allocations: 323.5 kB / 3.11 GB, free: 310.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/5.682, allocations: 227 kB / 3.11 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/5.682, allocations: 0 / 3.11 GB, free: 310.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001688/5.682, allocations: 379.5 kB / 3.11 GB, free: 309.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/5.683, allocations: 191.6 kB / 3.111 GB, free: 309.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008083/5.684, allocations: 296.2 kB / 3.111 GB, free: 309.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/5.686, allocations: 303.8 kB / 3.111 GB, free: 309.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/5.686, allocations: 2.719 kB / 3.111 GB, free: 309.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003095/5.689, allocations: 0.718 MB / 3.112 GB, free: 309.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/5.689, allocations: 3.781 kB / 3.112 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/5.689, allocations: 0 / 3.112 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/5.69, allocations: 86.84 kB / 3.112 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/5.691, allocations: 145.2 kB / 3.112 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/5.694, allocations: 1.46 MB / 3.114 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/5.695, allocations: 64.88 kB / 3.114 GB, free: 308.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.909e-05/5.695, allocations: 24.58 kB / 3.114 GB, free: 308.3 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.0002325/5.696, allocations: 130.3 kB / 3.114 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/5.696, allocations: 74.44 kB / 3.114 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/5.7, allocations: 0.9943 MB / 3.115 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/5.7, allocations: 10.59 kB / 3.115 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/5.7, allocations: 0 / 3.115 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/5.7, allocations: 7.516 kB / 3.115 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/5.701, allocations: 0.7709 MB / 3.116 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/5.701, allocations: 0 / 3.116 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/5.703, allocations: 148.2 kB / 3.116 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009397/5.703, allocations: 81.92 kB / 3.116 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/5.704, allocations: 21.09 kB / 3.116 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004104/5.708, allocations: 1.482 MB / 3.117 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/5.708, allocations: 0 / 3.117 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005291/5.713, allocations: 0.8175 MB / 3.118 GB, free: 306.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005266/5.718, allocations: 1.222 MB / 3.119 GB, free: 306 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/5.72, allocations: 275.2 kB / 3.12 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/5.72, allocations: 0 / 3.12 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/5.722, allocations: 64.72 kB / 3.12 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004789/5.722, allocations: 51.41 kB / 3.12 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003917/5.723, allocations: 29.36 kB / 3.12 GB, free: 305.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001383/5.724, allocations: 416.4 kB / 3.12 GB, free: 305.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00256/5.727, allocations: 409.1 kB / 3.12 GB, free: 305.7 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.00213/5.729, allocations: 1.034 MB / 3.121 GB, free: 305.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001985/5.731, allocations: 0.6507 MB / 3.122 GB, free: 305.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/5.731, allocations: 3.875 kB / 3.122 GB, free: 305.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/5.732, allocations: 446.7 kB / 3.123 GB, free: 305.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/5.734, allocations: 215.3 kB / 3.123 GB, free: 305.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006174/5.74, allocations: 1.381 MB / 3.124 GB, free: 305 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/5.741, allocations: 1.133 MB / 3.125 GB, free: 304.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/5.741, allocations: 2.438 kB / 3.125 GB, free: 304.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)