Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.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.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2757/0.2757, allocations: 54.39 MB / 61.67 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.001274/0.001274, allocations: 183.7 kB / 75.37 MB, free: 1.539 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.311/1.311, allocations: 194.2 MB / 283.2 MB, free: 3.652 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.001705/0.001705, allocations: 107.2 kB / 341.3 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.324e-06, allocations: 0 / 404.9 MB, free: 27.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 57.65 MB / 462.6 MB, free: 2.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.494, allocations: 87.31 MB / 0.537 GB, free: 9.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.4943, allocations: 83.62 kB / 0.5371 GB, free: 9.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.02131/0.5156, allocations: 7.14 MB / 0.5441 GB, free: 3.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.5157, allocations: 4 kB / 0.5441 GB, free: 3.305 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000941/0.5166, allocations: 0.5383 MB / 0.5446 GB, free: 2.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5167, allocations: 15.91 kB / 0.5446 GB, free: 2.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.5167, allocations: 31.62 kB / 0.5447 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.5171, allocations: 267.7 kB / 0.5449 GB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.5171, allocations: 4 kB / 0.5449 GB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.5172, allocations: 12 kB / 0.5449 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001083/0.5183, allocations: 0.7839 MB / 0.5457 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.5186, allocations: 187.3 kB / 0.5459 GB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.5187, allocations: 3.984 kB / 0.5459 GB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.5187, allocations: 0 / 0.5459 GB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.5187, allocations: 4 kB / 0.5459 GB, free: 1.359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009982/0.5197, allocations: 0.5746 MB / 0.5464 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.5203, allocations: 327.5 kB / 0.5467 GB, free: 424 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.5205, allocations: 108.8 kB / 0.5468 GB, free: 312 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008149/0.5213, allocations: 461.4 kB / 0.5473 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.5216, allocations: 175 kB / 0.5475 GB, free: 15.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.5216, allocations: 0 / 0.5475 GB, free: 15.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008309/0.5224, allocations: 344.7 kB / 0.5478 GB, free: 15.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.5225, allocations: 81.11 kB / 0.5479 GB, free: 15.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.5228, allocations: 255 kB / 0.5481 GB, free: 14.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.5228, allocations: 25.7 kB / 0.5481 GB, free: 14.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.5229, allocations: 100.9 kB / 0.5482 GB, free: 14.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.523, allocations: 118.2 kB / 0.5483 GB, free: 14.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.523, allocations: 0 / 0.5483 GB, free: 14.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5232, allocations: 334.8 kB / 0.5487 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.5233, allocations: 108.6 kB / 0.5488 GB, free: 14.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.5235, allocations: 127 kB / 0.5489 GB, free: 14.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.5239, allocations: 165.5 kB / 0.549 GB, free: 13.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5239, allocations: 0 / 0.549 GB, free: 13.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007139/0.5247, allocations: 401.9 kB / 0.5494 GB, free: 13.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.5247, allocations: 4 kB / 0.5494 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5247, allocations: 0 / 0.5494 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5247, allocations: 8.031 kB / 0.5494 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.525, allocations: 67.91 kB / 0.5495 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.525, allocations: 3.984 kB / 0.5495 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-05/0.5251, allocations: 23.75 kB / 0.5495 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.5251, allocations: 8 kB / 0.5495 GB, free: 13.39 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.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 9.026e-05/0.5252, allocations: 112.9 kB / 0.5496 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.5253, allocations: 31.61 kB / 0.5497 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.5263, allocations: 476.3 kB / 0.5501 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.5263, allocations: 4 kB / 0.5501 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5263, allocations: 0 / 0.5501 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.5263, allocations: 3.984 kB / 0.5501 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.5267, allocations: 321.6 kB / 0.5504 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.5267, allocations: 4 kB / 0.5504 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.5269, allocations: 59.91 kB / 0.5505 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.527, allocations: 4 kB / 0.5505 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.527, allocations: 11.94 kB / 0.5505 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.527, allocations: 4 kB / 0.5505 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.527, allocations: 0 / 0.5505 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000672/0.5277, allocations: 385.7 kB / 0.5509 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.5279, allocations: 164.7 kB / 0.551 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.5279, allocations: 3.906 kB / 0.551 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.528, allocations: 4 kB / 0.5511 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.5281, allocations: 23.97 kB / 0.5511 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.5281, allocations: 11.98 kB / 0.5511 GB, free: 11.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002126/0.5283, allocations: 213.6 kB / 0.5513 GB, free: 11.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003367/0.5287, allocations: 75.94 kB / 0.5514 GB, free: 11.43 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,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.0006425/0.5293, allocations: 288.1 kB / 0.5516 GB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.5298, allocations: 293.3 kB / 0.5519 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5298, allocations: 0 / 0.5519 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.53, allocations: 143.8 kB / 0.5521 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.5302, allocations: 28.45 kB / 0.5521 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008158/0.531, allocations: 426.3 kB / 0.5525 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/0.5316, allocations: 0.8234 MB / 0.5533 GB, free: 9.418 MB / 394.7 MB Notification: Performance of SimCode: time 2.265e-06/0.5316, allocations: 3.938 kB / 0.5533 GB, free: 9.414 MB / 394.7 MB Notification: Performance of Templates: time 0.007723/0.5393, allocations: 3.83 MB / 0.557 GB, free: 5.59 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)