Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [: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.2927/0.2927, 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.001142/0.001142, allocations: 181.5 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.366/1.366, allocations: 194.2 MB / 283.2 MB, free: 3.492 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.001807/0.001807, allocations: 111.8 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.066e-06/8.085e-06, allocations: 0 / 405 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1374, allocations: 57.65 MB / 462.6 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3983/0.5357, allocations: 85.85 MB / 0.5356 GB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.536, allocations: 80.58 kB / 0.5357 GB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.002996/0.539, allocations: 0.7586 MB / 0.5364 GB, free: 10.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.539, allocations: 4 kB / 0.5364 GB, free: 10.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003816/0.5394, allocations: 341.9 kB / 0.5367 GB, free: 10.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.5395, allocations: 11.97 kB / 0.5368 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.5395, allocations: 4 kB / 0.5368 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.5397, allocations: 166.9 kB / 0.5369 GB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.5397, allocations: 4 kB / 0.5369 GB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.5397, allocations: 0 / 0.5369 GB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.47e-05/0.5398, allocations: 31.11 kB / 0.537 GB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.653e-05/0.5399, allocations: 45 kB / 0.537 GB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.5399, allocations: 7.984 kB / 0.537 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.54, allocations: 0 / 0.537 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.54, allocations: 4 kB / 0.537 GB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.5403, allocations: 259.8 kB / 0.5373 GB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.5406, allocations: 53.91 kB / 0.5373 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.5406, allocations: 24.11 kB / 0.5373 GB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.5406, allocations: 4.031 kB / 0.5373 GB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.5407, allocations: 30.56 kB / 0.5374 GB, free: 9.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.5407, allocations: 0.9375 kB / 0.5374 GB, free: 9.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002314/0.5409, allocations: 54.03 kB / 0.5374 GB, free: 9.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.541, allocations: 55.34 kB / 0.5375 GB, free: 9.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.5411, allocations: 93.52 kB / 0.5376 GB, free: 9.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5411, allocations: 29.7 kB / 0.5376 GB, free: 9.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.5412, allocations: 88.05 kB / 0.5377 GB, free: 9.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.5412, allocations: 19.36 kB / 0.5377 GB, free: 9.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.5412, allocations: 0 / 0.5377 GB, free: 9.078 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.5414, allocations: 310.8 kB / 0.538 GB, free: 8.766 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.5414, allocations: 11.69 kB / 0.538 GB, free: 8.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.5414, allocations: 13.58 kB / 0.538 GB, free: 8.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.5415, allocations: 12.86 kB / 0.538 GB, free: 8.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5415, allocations: 0 / 0.538 GB, free: 8.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.43e-05/0.5416, allocations: 64.97 kB / 0.5381 GB, free: 8.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5416, allocations: 4 kB / 0.5381 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.5416, allocations: 0 / 0.5381 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5417, allocations: 0 / 0.5381 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/0.5417, allocations: 8 kB / 0.5381 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5417, allocations: 3.938 kB / 0.5381 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.5418, allocations: 3.906 kB / 0.5381 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.5418, allocations: 1.125 kB / 0.5381 GB, free: 8.66 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.759e-05/0.5419, allocations: 109 kB / 0.5382 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.5419, allocations: 4 kB / 0.5382 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.5421, allocations: 84.3 kB / 0.5383 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5421, allocations: 0 / 0.5383 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5421, allocations: 0 / 0.5383 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5421, allocations: 4 kB / 0.5383 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.5423, allocations: 145.5 kB / 0.5384 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5423, allocations: 0 / 0.5384 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.708e-05/0.5424, allocations: 23.5 kB / 0.5385 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5424, allocations: 4.156 kB / 0.5385 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.5424, allocations: 4 kB / 0.5385 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5424, allocations: 4 kB / 0.5385 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5424, allocations: 0 / 0.5385 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000148/0.5426, allocations: 170.4 kB / 0.5386 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.5426, allocations: 77.11 kB / 0.5387 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5427, allocations: 0 / 0.5387 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/0.5427, allocations: 0 / 0.5387 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.5428, allocations: 11.89 kB / 0.5387 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.5428, allocations: 4 kB / 0.5387 GB, free: 7.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.413e-05/0.5428, allocations: 83.03 kB / 0.5388 GB, free: 7.902 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.543, allocations: 8 kB / 0.5388 GB, free: 7.895 MB / 378.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 (8): * Single equations (assignments): 8 * 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.0001264/0.5431, allocations: 99.19 kB / 0.5389 GB, free: 7.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.494e-05/0.5432, allocations: 31.25 kB / 0.5389 GB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5433, allocations: 0 / 0.5389 GB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.398e-05/0.5433, allocations: 24.48 kB / 0.539 GB, free: 7.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.5435, allocations: 4 kB / 0.539 GB, free: 7.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.5438, allocations: 87.95 kB / 0.539 GB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.5441, allocations: 0.7046 MB / 0.5397 GB, free: 6.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5441, allocations: 3.938 kB / 0.5397 GB, free: 6.906 MB / 378.7 MB Notification: Performance of Templates: time 0.002503/0.5466, allocations: 453.5 kB / 0.5402 GB, free: 6.473 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)