Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.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.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") [: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.5354/0.5354, allocations: 94.74 MB / 102 MB, free: 14.21 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.001127/0.001127, allocations: 176.5 kB / 125.3 MB, free: 8.09 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.161/1.161, allocations: 170.5 MB / 319 MB, free: 1.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001788/0.001788, allocations: 100.1 kB / 381 MB, free: 3.254 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.424e-06, allocations: 4 kB / 448.6 MB, free: 45.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 61.52 MB / 0.4981 GB, free: 15.6 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.5064, allocations: 96.72 MB / 0.5926 GB, free: 104 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.5067, allocations: 84.7 kB / 0.5927 GB, free: 60 kB / 394.7 MB Notification: Performance of FrontEnd: time 0.02238/0.5291, allocations: 7.581 MB / 0.6001 GB, free: 9.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.5291, allocations: 8 kB / 0.6001 GB, free: 9.898 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008965/0.53, allocations: 0.5677 MB / 0.6006 GB, free: 9.293 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5301, allocations: 12.03 kB / 0.6006 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.5302, allocations: 27.62 kB / 0.6007 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.5306, allocations: 270.7 kB / 0.6009 GB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.5307, allocations: 8 kB / 0.6009 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.5307, allocations: 8 kB / 0.6009 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001102/0.5318, allocations: 0.7699 MB / 0.6017 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.5321, allocations: 199.7 kB / 0.6019 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.5322, allocations: 0 / 0.6019 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.5322, allocations: 4 kB / 0.6019 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.5322, allocations: 4 kB / 0.6019 GB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.5331, allocations: 0.5519 MB / 0.6024 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.5336, allocations: 315.4 kB / 0.6027 GB, free: 7.375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.5337, allocations: 102.2 kB / 0.6028 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/0.5343, allocations: 0.661 MB / 0.6035 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.5346, allocations: 165.5 kB / 0.6036 GB, free: 6.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.883e-06/0.5346, allocations: 0 / 0.6036 GB, free: 6.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006648/0.5353, allocations: 299.5 kB / 0.6039 GB, free: 6.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.5353, allocations: 81.11 kB / 0.604 GB, free: 6.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.5356, allocations: 240 kB / 0.6042 GB, free: 5.824 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.5356, allocations: 29.27 kB / 0.6042 GB, free: 5.793 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.5357, allocations: 104.2 kB / 0.6043 GB, free: 5.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.953e-05/0.5358, allocations: 116.2 kB / 0.6045 GB, free: 5.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.5358, allocations: 0 / 0.6045 GB, free: 5.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.536, allocations: 337.4 kB / 0.6048 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.5361, allocations: 102.1 kB / 0.6049 GB, free: 5.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.5363, allocations: 125.9 kB / 0.605 GB, free: 5.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.5366, allocations: 128.7 kB / 0.6051 GB, free: 5.004 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5366, allocations: 0 / 0.6051 GB, free: 5.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006479/0.5373, allocations: 338.2 kB / 0.6054 GB, free: 4.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5373, allocations: 5.562 kB / 0.6054 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5373, allocations: 0 / 0.6054 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5373, allocations: 4 kB / 0.6055 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.5376, allocations: 63.66 kB / 0.6055 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5376, allocations: 4.031 kB / 0.6055 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.5377, allocations: 23.73 kB / 0.6055 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.5377, allocations: 8 kB / 0.6055 GB, free: 4.629 MB / 410.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.timCon.tStart,timCon.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.0001069/0.5378, allocations: 112.9 kB / 0.6057 GB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.5379, allocations: 23.72 kB / 0.6057 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009033/0.5388, allocations: 449.2 kB / 0.6061 GB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5388, allocations: 4 kB / 0.6061 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5388, allocations: 0 / 0.6061 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5388, allocations: 0 / 0.6061 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.5391, allocations: 297.2 kB / 0.6064 GB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5391, allocations: 0 / 0.6064 GB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.5394, allocations: 67.84 kB / 0.6065 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.5394, allocations: 3.906 kB / 0.6065 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.5394, allocations: 7.25 kB / 0.6065 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5394, allocations: 8 kB / 0.6065 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5394, allocations: 0 / 0.6065 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005719/0.54, allocations: 335.5 kB / 0.6068 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.5402, allocations: 164.4 kB / 0.607 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.5402, allocations: 0 / 0.607 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/0.5403, allocations: 4 kB / 0.607 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.5404, allocations: 19.41 kB / 0.607 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.5404, allocations: 19.98 kB / 0.607 GB, free: 3.266 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001649/0.5406, allocations: 205.3 kB / 0.6072 GB, free: 3.109 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.5409, allocations: 83.42 kB / 0.6073 GB, free: 3.031 MB / 410.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,timCon.tStart) * Number of discrete states: 1 (timCon.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.000515/0.5414, allocations: 258.4 kB / 0.6075 GB, free: 2.801 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.5418, allocations: 305.2 kB / 0.6078 GB, free: 2.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5419, allocations: 4 kB / 0.6078 GB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.542, allocations: 133.8 kB / 0.6079 GB, free: 2.453 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.5422, allocations: 16.5 kB / 0.608 GB, free: 2.441 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008047/0.543, allocations: 410.2 kB / 0.6083 GB, free: 2.074 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/0.5435, allocations: 0.8146 MB / 0.6091 GB, free: 1.242 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5435, allocations: 0 / 0.6091 GB, free: 1.242 MB / 410.7 MB Notification: Performance of Templates: time 0.006933/0.5504, allocations: 3.357 MB / 0.6124 GB, free: 13.93 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe 2>&1)