Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [: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.274/0.274, allocations: 54.39 MB / 61.67 MB, free: 11.16 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.001191/0.001191, allocations: 185.5 kB / 75.37 MB, free: 1.48 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.449/1.449, allocations: 194.2 MB / 283.2 MB, free: 3.488 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.001689/0.001689, allocations: 124.1 kB / 341.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.474e-06, allocations: 0 / 405 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 57.65 MB / 462.6 MB, free: 1.953 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5517, allocations: 86.94 MB / 0.5367 GB, free: 10.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.5519, allocations: 89.42 kB / 0.5367 GB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.02137/0.5733, allocations: 6.983 MB / 0.5436 GB, free: 3.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.5734, allocations: 0 / 0.5436 GB, free: 3.766 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005588/0.5739, allocations: 386.5 kB / 0.5439 GB, free: 3.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.574, allocations: 19.91 kB / 0.5439 GB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.5741, allocations: 79.19 kB / 0.544 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.5743, allocations: 242.3 kB / 0.5443 GB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.5743, allocations: 154.6 kB / 0.5444 GB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.436e-05/0.5744, allocations: 158.6 kB / 0.5446 GB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.477e-05/0.5745, allocations: 150.6 kB / 0.5447 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.256e-05/0.5746, allocations: 104.9 kB / 0.5448 GB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.5746, allocations: 79.28 kB / 0.5449 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.5747, allocations: 154.5 kB / 0.545 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.5747, allocations: 154.6 kB / 0.5452 GB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.575, allocations: 434.4 kB / 0.5456 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.749e-05/0.5751, allocations: 165.1 kB / 0.5457 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.5752, allocations: 80.14 kB / 0.5458 GB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.5752, allocations: 79.28 kB / 0.5459 GB, free: 1.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/0.5753, allocations: 109.8 kB / 0.546 GB, free: 1.109 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.051e-06/0.5753, allocations: 0 / 0.546 GB, free: 1.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.427e-05/0.5754, allocations: 37.55 kB / 0.546 GB, free: 1.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.5755, allocations: 55.41 kB / 0.5461 GB, free: 1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.5756, allocations: 100.9 kB / 0.5462 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.5756, allocations: 25.7 kB / 0.5462 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.5756, allocations: 84.14 kB / 0.5463 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.5757, allocations: 4 kB / 0.5463 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.5757, allocations: 0 / 0.5463 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5758, allocations: 314.8 kB / 0.5466 GB, free: 468 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.5758, allocations: 4 kB / 0.5466 GB, free: 464 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.5759, allocations: 22.58 kB / 0.5466 GB, free: 432 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.576, allocations: 19.97 kB / 0.5466 GB, free: 412 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.576, allocations: 4 kB / 0.5466 GB, free: 408 kB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002155/0.5763, allocations: 65.52 kB / 0.5467 GB, free: 336 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.5763, allocations: 6.031 kB / 0.5467 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5763, allocations: 0 / 0.5467 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5763, allocations: 0 / 0.5467 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.5764, allocations: 11.98 kB / 0.5467 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5764, allocations: 0 / 0.5467 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.662e-05/0.5765, allocations: 7.938 kB / 0.5467 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.5765, allocations: 3.938 kB / 0.5467 GB, free: 308 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.5767, allocations: 192.2 kB / 0.5469 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.5767, allocations: 101 kB / 0.547 GB, free: 0 / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.669e-05/0.5768, allocations: 108.2 kB / 0.5471 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/0.577, allocations: 180.2 kB / 0.5473 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001367/0.5771, allocations: 184.2 kB / 0.5475 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.215e-05/0.5772, allocations: 180.3 kB / 0.5476 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.5775, allocations: 389.6 kB / 0.548 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.042e-05/0.5775, allocations: 102.7 kB / 0.5481 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.5776, allocations: 101 kB / 0.5482 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.313e-05/0.5777, allocations: 180.2 kB / 0.5484 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-05/0.5778, allocations: 184.2 kB / 0.5485 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.519e-05/0.5779, allocations: 188.3 kB / 0.5487 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/0.578, allocations: 180.2 kB / 0.5489 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002022/0.5782, allocations: 299.7 kB / 0.5492 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.5783, allocations: 190 kB / 0.5494 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5784, allocations: 180.3 kB / 0.5495 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.5785, allocations: 105 kB / 0.5496 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.473e-05/0.5786, allocations: 180.5 kB / 0.5498 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.5787, allocations: 109 kB / 0.5499 GB, free: 12.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.458e-05/0.5788, allocations: 79.28 kB / 0.55 GB, free: 12.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006138/0.5794, allocations: 115.9 kB / 0.5501 GB, free: 12.64 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.5804, allocations: 495.6 kB / 0.5506 GB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.5805, allocations: 12 kB / 0.5506 GB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5805, allocations: 4.125 kB / 0.5506 GB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.91e-07/0.5805, allocations: 4 kB / 0.5506 GB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.5809, allocations: 0.5223 MB / 0.5511 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.5812, allocations: 123.2 kB / 0.5512 GB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.5815, allocations: 0.6919 MB / 0.5519 GB, free: 10.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5815, allocations: 0 / 0.5519 GB, free: 10.77 MB / 394.7 MB Notification: Performance of Templates: time 0.005127/0.5866, allocations: 2.348 MB / 0.5542 GB, free: 8.43 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)