Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") [: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.3003/0.3003, allocations: 54.41 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.001395/0.001395, allocations: 181.7 kB / 75.38 MB, free: 1.496 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.45/1.45, allocations: 194.2 MB / 283.2 MB, free: 3.57 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.001778/0.001778, allocations: 110.9 kB / 341.3 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.052e-05/1.055e-05, allocations: 4 kB / 405 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 57.65 MB / 462.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.479, allocations: 87.68 MB / 0.5374 GB, free: 9.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.4793, allocations: 84.81 kB / 0.5375 GB, free: 9.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.0201/0.4994, allocations: 7.196 MB / 0.5445 GB, free: 2.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.4994, allocations: 8 kB / 0.5445 GB, free: 2.863 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.0008232/0.5003, allocations: 0.5315 MB / 0.545 GB, free: 2.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.5003, allocations: 15.95 kB / 0.545 GB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.5005, allocations: 23.72 kB / 0.5451 GB, free: 2.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.5008, allocations: 255.6 kB / 0.5453 GB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.5009, allocations: 4 kB / 0.5453 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.5009, allocations: 11.94 kB / 0.5453 GB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/0.502, allocations: 0.7686 MB / 0.5461 GB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.5023, allocations: 187 kB / 0.5462 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5023, allocations: 0 / 0.5462 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.5023, allocations: 0 / 0.5462 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.5023, allocations: 7.906 kB / 0.5463 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008519/0.5032, allocations: 0.5323 MB / 0.5468 GB, free: 396 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.5037, allocations: 308.1 kB / 0.5471 GB, free: 80 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.5039, allocations: 105.5 kB / 0.5472 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006587/0.5045, allocations: 457.6 kB / 0.5476 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.5048, allocations: 167.5 kB / 0.5478 GB, free: 15.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.5048, allocations: 0 / 0.5478 GB, free: 15.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006411/0.5055, allocations: 312.8 kB / 0.5481 GB, free: 14.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.5055, allocations: 81.11 kB / 0.5481 GB, free: 14.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.5058, allocations: 246.9 kB / 0.5484 GB, free: 14.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.5059, allocations: 29.7 kB / 0.5484 GB, free: 14.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.5059, allocations: 92.78 kB / 0.5485 GB, free: 14.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.506, allocations: 110.4 kB / 0.5486 GB, free: 14.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.506, allocations: 0 / 0.5486 GB, free: 14.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5062, allocations: 342.7 kB / 0.5489 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.5063, allocations: 91.98 kB / 0.549 GB, free: 13.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.5065, allocations: 125.5 kB / 0.5491 GB, free: 13.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.5068, allocations: 139.9 kB / 0.5493 GB, free: 13.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5068, allocations: 0 / 0.5493 GB, free: 13.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005905/0.5074, allocations: 349.3 kB / 0.5496 GB, free: 13.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5074, allocations: 4 kB / 0.5496 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5075, allocations: 8.031 kB / 0.5496 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5075, allocations: 3.984 kB / 0.5496 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.5077, allocations: 59.91 kB / 0.5497 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.5077, allocations: 7.938 kB / 0.5497 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.028e-05/0.5078, allocations: 19.69 kB / 0.5497 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.5079, allocations: 19.98 kB / 0.5497 GB, free: 13.2 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 (37): * Single equations (assignments): 36 * 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.0001122/0.508, allocations: 108.9 kB / 0.5498 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.508, allocations: 23.72 kB / 0.5498 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000892/0.5089, allocations: 440.5 kB / 0.5503 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.509, allocations: 7.906 kB / 0.5503 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.509, allocations: 0 / 0.5503 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.509, allocations: 3.984 kB / 0.5503 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.5093, allocations: 289.9 kB / 0.5505 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5093, allocations: 0 / 0.5505 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.5095, allocations: 63.91 kB / 0.5506 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.5095, allocations: 7.906 kB / 0.5506 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.5095, allocations: 15.98 kB / 0.5506 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5095, allocations: 7.938 kB / 0.5506 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5096, allocations: 0 / 0.5506 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005638/0.5101, allocations: 342.2 kB / 0.551 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.5103, allocations: 156.7 kB / 0.5511 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.5103, allocations: 3.906 kB / 0.5511 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.21e-05/0.5104, allocations: 15.92 kB / 0.5511 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.5105, allocations: 19.97 kB / 0.5512 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.5105, allocations: 12 kB / 0.5512 GB, free: 11.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000165/0.5107, allocations: 203.3 kB / 0.5514 GB, free: 11.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.511, allocations: 75.92 kB / 0.5514 GB, free: 11.34 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 (35): * Single equations (assignments): 34 * 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.0006221/0.5117, allocations: 281.8 kB / 0.5517 GB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004024/0.5121, allocations: 277.2 kB / 0.552 GB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5121, allocations: 0 / 0.552 GB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.5123, allocations: 131.8 kB / 0.5521 GB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.5125, allocations: 15.94 kB / 0.5521 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007493/0.5132, allocations: 400.3 kB / 0.5525 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.5137, allocations: 0.8152 MB / 0.5533 GB, free: 9.422 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5137, allocations: 4 kB / 0.5533 GB, free: 9.418 MB / 394.7 MB Notification: Performance of Templates: time 0.007356/0.521, allocations: 3.507 MB / 0.5567 GB, free: 5.926 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)