Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation") [: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/Annex60 1.0.0/package.mo): time 0.2795/0.2795, allocations: 54.4 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001248/0.001248, allocations: 189.5 kB / 75.37 MB, free: 1.512 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.533/1.533, allocations: 194.2 MB / 283.2 MB, free: 3.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00177/0.00177, allocations: 118.9 kB / 341.3 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.125e-06, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1345, allocations: 57.65 MB / 462.6 MB, free: 1.996 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.5071, allocations: 86.9 MB / 0.5366 GB, free: 10.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.5074, allocations: 86.19 kB / 0.5367 GB, free: 10.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01884/0.5262, allocations: 6.541 MB / 0.5431 GB, free: 4.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.5263, allocations: 4 kB / 0.5431 GB, free: 4.297 MB / 378.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.0008399/0.5271, allocations: 0.5044 MB / 0.5436 GB, free: 3.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5272, allocations: 11.97 kB / 0.5436 GB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.5273, allocations: 27.62 kB / 0.5436 GB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.5277, allocations: 263.5 kB / 0.5439 GB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.5277, allocations: 12 kB / 0.5439 GB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.5278, allocations: 11.98 kB / 0.5439 GB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001069/0.5289, allocations: 0.7646 MB / 0.5446 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.5292, allocations: 183 kB / 0.5448 GB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5292, allocations: 0 / 0.5448 GB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.5292, allocations: 0 / 0.5448 GB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.5292, allocations: 4 kB / 0.5448 GB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.5301, allocations: 0.5437 MB / 0.5454 GB, free: 1.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.5305, allocations: 219.2 kB / 0.5456 GB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.5307, allocations: 101.4 kB / 0.5457 GB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/0.5307, allocations: 23.95 kB / 0.5457 GB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.531, allocations: 161.3 kB / 0.5458 GB, free: 1.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.531, allocations: 0 / 0.5458 GB, free: 1.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005379/0.5315, allocations: 279.1 kB / 0.5461 GB, free: 1.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.5316, allocations: 85.02 kB / 0.5462 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.5319, allocations: 238.9 kB / 0.5464 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.5319, allocations: 25.7 kB / 0.5464 GB, free: 0.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.532, allocations: 104.7 kB / 0.5465 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.5321, allocations: 102.4 kB / 0.5466 GB, free: 472 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.5321, allocations: 8 kB / 0.5466 GB, free: 464 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5323, allocations: 330.8 kB / 0.547 GB, free: 124 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.5325, allocations: 91.98 kB / 0.547 GB, free: 32 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.5327, allocations: 125.5 kB / 0.5472 GB, free: 15.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.5329, allocations: 107.9 kB / 0.5473 GB, free: 15.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5329, allocations: 0 / 0.5473 GB, free: 15.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005258/0.5334, allocations: 313.2 kB / 0.5476 GB, free: 15.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5335, allocations: 4 kB / 0.5476 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5335, allocations: 11.95 kB / 0.5476 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.5335, allocations: 4 kB / 0.5476 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.5338, allocations: 59.97 kB / 0.5476 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5338, allocations: 0 / 0.5476 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.5339, allocations: 15.75 kB / 0.5477 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.5339, allocations: 16 kB / 0.5477 GB, free: 15.37 MB / 394.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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0001297/0.5341, allocations: 112.9 kB / 0.5478 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.5341, allocations: 27.66 kB / 0.5478 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008664/0.535, allocations: 412.4 kB / 0.5482 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.535, allocations: 7.906 kB / 0.5482 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.535, allocations: 0 / 0.5482 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.5351, allocations: 3.984 kB / 0.5482 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.5354, allocations: 293.7 kB / 0.5485 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5354, allocations: 0 / 0.5485 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.5356, allocations: 55.91 kB / 0.5485 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.5356, allocations: 4 kB / 0.5485 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.5357, allocations: 8 kB / 0.5486 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.5357, allocations: 7.844 kB / 0.5486 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5357, allocations: 4 kB / 0.5486 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005188/0.5362, allocations: 314.1 kB / 0.5489 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.5364, allocations: 152.7 kB / 0.549 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.5364, allocations: 0 / 0.549 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.5365, allocations: 8 kB / 0.549 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.5366, allocations: 23.95 kB / 0.549 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.5367, allocations: 12 kB / 0.5491 GB, free: 13.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002394/0.5369, allocations: 200.2 kB / 0.5492 GB, free: 13.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003248/0.5372, allocations: 59.91 kB / 0.5493 GB, free: 13.61 MB / 394.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 (33): * Single equations (assignments): 32 * 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.0006765/0.5379, allocations: 269.7 kB / 0.5496 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.5384, allocations: 262.4 kB / 0.5498 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5384, allocations: 0 / 0.5498 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.5386, allocations: 131.8 kB / 0.5499 GB, free: 13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.5388, allocations: 8 kB / 0.5499 GB, free: 12.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008553/0.5397, allocations: 407.6 kB / 0.5503 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.5402, allocations: 0.8035 MB / 0.5511 GB, free: 11.73 MB / 394.7 MB Notification: Performance of SimCode: time 2.384e-06/0.5402, allocations: 3.938 kB / 0.5511 GB, free: 11.73 MB / 394.7 MB Notification: Performance of Templates: time 0.007778/0.548, allocations: 3.097 MB / 0.5541 GB, free: 8.641 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe 2>&1)