Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.296/1.296, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009248/0.0009248, allocations: 173.3 kB / 361.1 MB, free: 7.086 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.001/1.001, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0007643/0.0007643, allocations: 91.05 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1764/0.1772, allocations: 121.4 MB / 0.8511 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.5936, allocations: 115.3 MB / 0.9637 GB, free: 77.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.631/3.224, allocations: 2.072 GB / 3.036 GB, free: 64.44 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/3.225, allocations: 92.7 kB / 3.036 GB, free: 64.35 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.3966/3.621, allocations: 68.49 MB / 3.103 GB, free: 308.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/3.621, allocations: 11.81 kB / 3.103 GB, free: 308.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009903/3.622, allocations: 221.2 kB / 3.103 GB, free: 308 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/3.623, allocations: 0.6364 MB / 3.103 GB, free: 307.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/3.623, allocations: 35.88 kB / 3.103 GB, free: 307.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/3.623, allocations: 51.12 kB / 3.103 GB, free: 307.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00117/3.624, allocations: 1.011 MB / 3.104 GB, free: 307.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009627/3.625, allocations: 0.7754 MB / 3.105 GB, free: 307.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/3.625, allocations: 0 / 3.105 GB, free: 307.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/3.625, allocations: 3.781 kB / 3.105 GB, free: 307.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/3.625, allocations: 21.5 kB / 3.105 GB, free: 307.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/3.628, allocations: 2.39 MB / 3.108 GB, free: 306.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/3.629, allocations: 0.6541 MB / 3.108 GB, free: 306.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/3.629, allocations: 249.9 kB / 3.108 GB, free: 306.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/3.63, allocations: 472.2 kB / 3.109 GB, free: 306.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/3.63, allocations: 389.2 kB / 3.109 GB, free: 306.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 1.803e-06/3.63, allocations: 0 / 3.109 GB, free: 306.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001549/3.632, allocations: 0.7124 MB / 3.11 GB, free: 306.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/3.632, allocations: 239.9 kB / 3.11 GB, free: 306 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004499/3.632, allocations: 0.4994 MB / 3.111 GB, free: 305.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/3.632, allocations: 31.05 kB / 3.111 GB, free: 305.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/3.633, allocations: 323.4 kB / 3.111 GB, free: 305.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/3.633, allocations: 230.5 kB / 3.111 GB, free: 305.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/3.633, allocations: 0 / 3.111 GB, free: 305.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.905e-05/3.633, allocations: 374.7 kB / 3.112 GB, free: 305.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/3.633, allocations: 193.3 kB / 3.112 GB, free: 305.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/3.633, allocations: 295.1 kB / 3.112 GB, free: 305.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/3.634, allocations: 304.2 kB / 3.112 GB, free: 305.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/3.634, allocations: 3.469 kB / 3.112 GB, free: 305.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001434/3.635, allocations: 0.7156 MB / 3.113 GB, free: 305 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/3.635, allocations: 3.906 kB / 3.113 GB, free: 305 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/3.635, allocations: 11.31 kB / 3.113 GB, free: 305 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/3.636, allocations: 78 kB / 3.113 GB, free: 305 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/3.637, allocations: 142.5 kB / 3.113 GB, free: 305 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/3.638, allocations: 1.455 MB / 3.115 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/3.639, allocations: 66.91 kB / 3.115 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/3.639, allocations: 26.5 kB / 3.115 GB, free: 303.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 (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.0001283/3.639, allocations: 120.9 kB / 3.115 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/3.639, allocations: 77.14 kB / 3.115 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/3.641, allocations: 1.003 MB / 3.116 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/3.641, allocations: 11.72 kB / 3.116 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/3.641, allocations: 2.281 kB / 3.116 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/3.641, allocations: 3.516 kB / 3.116 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/3.642, allocations: 0.7615 MB / 3.117 GB, free: 303.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/3.642, allocations: 0 / 3.117 GB, free: 303.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/3.642, allocations: 148.2 kB / 3.117 GB, free: 303.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/3.643, allocations: 85.19 kB / 3.117 GB, free: 303.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/3.643, allocations: 20.08 kB / 3.117 GB, free: 303.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/3.644, allocations: 1.482 MB / 3.118 GB, free: 302.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/3.644, allocations: 0 / 3.118 GB, free: 302.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001437/3.645, allocations: 0.8149 MB / 3.119 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001562/3.647, allocations: 1.224 MB / 3.12 GB, free: 301.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/3.647, allocations: 277.4 kB / 3.121 GB, free: 301.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/3.647, allocations: 4.562 kB / 3.121 GB, free: 301.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/3.648, allocations: 59.28 kB / 3.121 GB, free: 301.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/3.648, allocations: 49.94 kB / 3.121 GB, free: 301.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/3.648, allocations: 28.41 kB / 3.121 GB, free: 301.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003335/3.648, allocations: 418.4 kB / 3.121 GB, free: 301.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001432/3.65, allocations: 414.3 kB / 3.122 GB, free: 301.1 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.001183/3.651, allocations: 1.045 MB / 3.123 GB, free: 300.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008781/3.652, allocations: 0.6529 MB / 3.123 GB, free: 300.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/3.652, allocations: 3.969 kB / 3.123 GB, free: 300.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005427/3.653, allocations: 446 kB / 3.124 GB, free: 300.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/3.653, allocations: 205.8 kB / 3.124 GB, free: 300.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/3.656, allocations: 1.377 MB / 3.125 GB, free: 300.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005917/3.657, allocations: 1.143 MB / 3.126 GB, free: 299.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/3.657, allocations: 0 / 3.126 GB, free: 299.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)