Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") [: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 1.6.0+build.1/package.mo): time 0.4918/0.4918, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001129/0.001129, allocations: 176.3 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.242/1.242, allocations: 170.5 MB / 319 MB, free: 9.359 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001634/0.001634, allocations: 105.6 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.746e-06/8.776e-06, allocations: 4 kB / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 61.51 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3507/0.4974, allocations: 95.85 MB / 0.5917 GB, free: 6.516 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.4977, allocations: 80.52 kB / 0.5918 GB, free: 6.438 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.0217/0.5194, allocations: 7.452 MB / 0.5991 GB, free: 15.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.5195, allocations: 4 kB / 0.5991 GB, free: 15.12 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008029/0.5203, allocations: 0.5639 MB / 0.5996 GB, free: 14.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.5203, allocations: 16.02 kB / 0.5997 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.826e-05/0.5204, allocations: 35.56 kB / 0.5997 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.5208, allocations: 262.5 kB / 0.5999 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.5208, allocations: 5.312 kB / 0.6 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.5209, allocations: 8.609 kB / 0.6 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009945/0.5219, allocations: 0.7647 MB / 0.6007 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.5222, allocations: 186.4 kB / 0.6009 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5222, allocations: 0 / 0.6009 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.5222, allocations: 5.5 kB / 0.6009 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.5222, allocations: 4.656 kB / 0.6009 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/0.5231, allocations: 0.54 MB / 0.6014 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.5236, allocations: 299.4 kB / 0.6017 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.5238, allocations: 106.4 kB / 0.6018 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.5239, allocations: 28.23 kB / 0.6018 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.5241, allocations: 170.4 kB / 0.602 GB, free: 11.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.176e-06/0.5241, allocations: 0 / 0.602 GB, free: 11.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007391/0.5249, allocations: 306.8 kB / 0.6023 GB, free: 11.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.5249, allocations: 81.11 kB / 0.6024 GB, free: 11.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.5252, allocations: 254 kB / 0.6026 GB, free: 11.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.5253, allocations: 25.7 kB / 0.6026 GB, free: 11.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.5253, allocations: 96.91 kB / 0.6027 GB, free: 11.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/0.5254, allocations: 110.4 kB / 0.6028 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.5255, allocations: 0 / 0.6028 GB, free: 11.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5256, allocations: 338.7 kB / 0.6032 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.5258, allocations: 98.03 kB / 0.6032 GB, free: 10.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.5259, allocations: 129.5 kB / 0.6034 GB, free: 10.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.5263, allocations: 147.9 kB / 0.6035 GB, free: 10.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5263, allocations: 3.938 kB / 0.6035 GB, free: 10.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006588/0.527, allocations: 353.6 kB / 0.6039 GB, free: 10.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.527, allocations: 4 kB / 0.6039 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5271, allocations: 0 / 0.6039 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5271, allocations: 0 / 0.6039 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.5273, allocations: 69.34 kB / 0.6039 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5273, allocations: 2.891 kB / 0.6039 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.5274, allocations: 31.67 kB / 0.604 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.5275, allocations: 8 kB / 0.604 GB, free: 9.922 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.5276, allocations: 108.9 kB / 0.6041 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.5276, allocations: 27.7 kB / 0.6041 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009438/0.5286, allocations: 464.1 kB / 0.6045 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5286, allocations: 4 kB / 0.6045 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5286, allocations: 0 / 0.6045 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.5286, allocations: 0 / 0.6045 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.5289, allocations: 301.8 kB / 0.6048 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5289, allocations: 0 / 0.6048 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.5292, allocations: 67.91 kB / 0.6049 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5292, allocations: 0 / 0.6049 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.5292, allocations: 8.828 kB / 0.6049 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5292, allocations: 4 kB / 0.6049 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5292, allocations: 0.9375 kB / 0.6049 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006511/0.5299, allocations: 353.6 kB / 0.6052 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.5301, allocations: 156.7 kB / 0.6054 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.5301, allocations: 4 kB / 0.6054 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.5302, allocations: 3.984 kB / 0.6054 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.5303, allocations: 23.97 kB / 0.6054 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.5303, allocations: 15 kB / 0.6054 GB, free: 8.355 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001814/0.5305, allocations: 210.4 kB / 0.6056 GB, free: 8.152 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003631/0.5309, allocations: 91.77 kB / 0.6057 GB, free: 8.062 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006317/0.5315, allocations: 264.9 kB / 0.606 GB, free: 7.879 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.532, allocations: 311.4 kB / 0.6063 GB, free: 7.562 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.532, allocations: 0 / 0.6063 GB, free: 7.562 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.5322, allocations: 143.6 kB / 0.6064 GB, free: 7.422 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.5324, allocations: 12.66 kB / 0.6064 GB, free: 7.406 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008056/0.5332, allocations: 408.8 kB / 0.6068 GB, free: 6.988 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004817/0.5337, allocations: 0.8227 MB / 0.6076 GB, free: 6.137 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5337, allocations: 0 / 0.6076 GB, free: 6.137 MB / 426.7 MB Notification: Performance of Templates: time 0.007564/0.5413, allocations: 3.535 MB / 0.6111 GB, free: 2.691 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)