Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") [: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.3131/0.3131, allocations: 54.4 MB / 61.68 MB, free: 11.18 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.001233/0.001233, allocations: 185.4 kB / 75.37 MB, free: 1.504 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.541/1.541, allocations: 194.2 MB / 283.2 MB, free: 3.5 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.001971/0.001971, allocations: 127.6 kB / 341.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.014e-05/1.017e-05, allocations: 0 / 405 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 57.64 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3254/0.4444, allocations: 86.95 MB / 0.5367 GB, free: 10.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.4447, allocations: 85.7 kB / 0.5367 GB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01797/0.4627, allocations: 6.601 MB / 0.5432 GB, free: 4.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.4627, allocations: 4 kB / 0.5432 GB, free: 4.184 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007203/0.4635, allocations: 0.508 MB / 0.5437 GB, free: 3.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4635, allocations: 11.97 kB / 0.5437 GB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.4638, allocations: 51.58 kB / 0.5437 GB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.4642, allocations: 254.7 kB / 0.544 GB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4642, allocations: 7.906 kB / 0.544 GB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.4642, allocations: 8 kB / 0.544 GB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00102/0.4653, allocations: 0.7724 MB / 0.5448 GB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.4656, allocations: 191 kB / 0.5449 GB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.4656, allocations: 0 / 0.5449 GB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.4656, allocations: 0 / 0.5449 GB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4656, allocations: 7.938 kB / 0.5449 GB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008074/0.4664, allocations: 0.5362 MB / 0.5455 GB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.4669, allocations: 304.1 kB / 0.5458 GB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.4671, allocations: 109.3 kB / 0.5459 GB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.4671, allocations: 24.23 kB / 0.5459 GB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.4674, allocations: 173.8 kB / 0.5461 GB, free: 1.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.703e-06/0.4674, allocations: 0 / 0.5461 GB, free: 1.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.000531/0.4679, allocations: 285.2 kB / 0.5463 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.468, allocations: 89.03 kB / 0.5464 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.4683, allocations: 231 kB / 0.5466 GB, free: 468 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.4683, allocations: 29.7 kB / 0.5467 GB, free: 432 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.4684, allocations: 96.77 kB / 0.5468 GB, free: 332 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.4685, allocations: 114.3 kB / 0.5469 GB, free: 216 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.438e-05/0.4685, allocations: 0 / 0.5469 GB, free: 216 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4686, allocations: 334.8 kB / 0.5472 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.4688, allocations: 96.28 kB / 0.5473 GB, free: 15.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.469, allocations: 121.5 kB / 0.5474 GB, free: 15.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.4692, allocations: 119.9 kB / 0.5475 GB, free: 15.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4693, allocations: 0 / 0.5475 GB, free: 15.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005241/0.4698, allocations: 329.6 kB / 0.5478 GB, free: 15.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4698, allocations: 10.22 kB / 0.5478 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4698, allocations: 3.984 kB / 0.5478 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4698, allocations: 7.906 kB / 0.5478 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.4701, allocations: 59.91 kB / 0.5479 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4702, allocations: 0 / 0.5479 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.4703, allocations: 23.77 kB / 0.5479 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.4703, allocations: 16 kB / 0.5479 GB, free: 15.09 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 (36): * Single equations (assignments): 35 * 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.0001137/0.4704, allocations: 116.8 kB / 0.548 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.4705, allocations: 23.72 kB / 0.5481 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007833/0.4713, allocations: 416.5 kB / 0.5485 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.4713, allocations: 4 kB / 0.5485 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4713, allocations: 4 kB / 0.5485 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.4713, allocations: 7.969 kB / 0.5485 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.4716, allocations: 297.7 kB / 0.5488 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4716, allocations: 0 / 0.5488 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.4719, allocations: 67.89 kB / 0.5488 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4719, allocations: 0 / 0.5488 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.4719, allocations: 8 kB / 0.5488 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4719, allocations: 4 kB / 0.5488 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4719, allocations: 0 / 0.5488 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004826/0.4724, allocations: 330.4 kB / 0.5492 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.4726, allocations: 152.7 kB / 0.5493 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.4726, allocations: 4 kB / 0.5493 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.4728, allocations: 11.98 kB / 0.5493 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.4728, allocations: 15.97 kB / 0.5493 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.4729, allocations: 19.98 kB / 0.5494 GB, free: 13.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001909/0.4731, allocations: 193.5 kB / 0.5495 GB, free: 13.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000332/0.4734, allocations: 67.92 kB / 0.5496 GB, free: 13.3 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 (34): * Single equations (assignments): 33 * 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.0006892/0.4741, allocations: 254.7 kB / 0.5498 GB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004644/0.4746, allocations: 285.4 kB / 0.5501 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4746, allocations: 3.938 kB / 0.5501 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.4748, allocations: 131.9 kB / 0.5502 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.475, allocations: 19.8 kB / 0.5503 GB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008111/0.4758, allocations: 407.7 kB / 0.5507 GB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.4764, allocations: 0.8113 MB / 0.5514 GB, free: 11.38 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4764, allocations: 0 / 0.5514 GB, free: 11.38 MB / 394.7 MB Notification: Performance of Templates: time 0.006741/0.4831, allocations: 3.308 MB / 0.5547 GB, free: 8.082 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)